added demo of signal/uid handling feature
[tridge/junkcode.git] / slist.c
1 static struct {
2         const char *name;
3         const char *description;
4         unsigned value;
5 } devices[] = {
6         {"foo device", "info 5" , 1},
7         {"barvice", 13},
8 };
9
10 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
11
12 staitc const char *find_device(int value)
13 {
14         
15 }
16
17
18 find_device(i)