};
+const char* prio[]={
+ NULL,
+ "high",
+ "medium",
+ "normal",
+ "low",
+ NULL
+};
+
int parseBitrate (const char *s) {
+char parsePrio (const char *s) {
+
+ int i;
+
+
+ for (i=1; prio[i]!=NULL && strcasecmp(prio[i], s)!=0; ++i);
+
+
+ return (char)i;
+
+}
+
+
+
void displaySwitchTab (const struct swi_attr *sa, int nb) {
int i=0;