Prev, Top | Notes, Next |
This also uses manual OO techniques
struct explain_iocontrol_t { const char *name; int number; int (*disambiguate)(int fildes, int request, const void *data); void (*print_data)(int fildes, int request, const void *data); void (*print_explanation)(int fildes, int request, const void *data); etc }; |