D
Damien MATTEI
#include <search.h>
[...]
struct hsearch_data htab_ports;
[...]
memset (&htab_ports, 0, sizeof (struct hsearch_data));
gives errors:
snif.c:153: error: storage size of `htab_ports' isn't known
[...]
snif.c:2057: error: invalid application of `sizeof' to an incomplete type
any help will be greatly appreciated
please, copy carbon reply to: (e-mail address removed)
[...]
struct hsearch_data htab_ports;
[...]
memset (&htab_ports, 0, sizeof (struct hsearch_data));
gives errors:
snif.c:153: error: storage size of `htab_ports' isn't known
[...]
snif.c:2057: error: invalid application of `sizeof' to an incomplete type
any help will be greatly appreciated
please, copy carbon reply to: (e-mail address removed)