unsigned int len = 0; /* position in message */
unsigned int size = 0; /* temporary size buffer */
unsigned int i;
- struct kline_format_assoc table[] =
+ struct kline_format_assoc
{
- {'i', NULL },
- {'h', NULL },
- {'u', NULL },
- {'n', NULL },
- {'t', NULL }
+ const char key;
+ const void *data;
+ } table[] =
+ {
+ { 'i', NULL },
+ { 'h', NULL },
+ { 'u', NULL },
+ { 'n', NULL },
+ { 't', NULL }
};
table[0].data = ss->ip;
const char *name;
};
-struct kline_format_assoc
-{
- char key;
- const void *data;
-};
-
extern void scan_init(void);
extern const char *scan_gettype(int);
extern void scan_cycle(void);