Displaying 1 result from an estimated 1 matches for "subdriver_".
Did you mean:
subdriver
2006 Jun 03
1
RFC: allow HID subdriver's to register ups.conf settings
...ctually..!), so I'm not sure whether this is all legal
code.
--
SYNOPSIS:
Allow a newhidups subdriver to register that it can handle settings in
ups.conf (and via -x on the command line), as per the normal serial drivers.
DESCRIPTION OF CHANGES:
- In newhidups.h, add an extra line to the subdriver_s struct;
void (*extendvartable)(void);
so it becomes;
struct subdriver_s {
char *name;
int (*claim)(HIDDevice *hd);
usage_tables_t *utab;
hid_info_t *hid2nut;
int (*shutdown)(int ondelay, in...