Displaying 1 result from an estimated 1 matches for "subdriver_extendvart".
2006 Jun 03
1
RFC: allow HID subdriver's to register ups.conf settings
...)(int ondelay, int offdelay);
char *(*format_model)(HIDDevice *hd);
char *(*format_mfr)(HIDDevice *hd);
char *(*format_serial)(HIDDevice *hd);
void (*extendvartable)(void);
};
- In the subdriver source, add an extra function,
subdriver_extendvartable(). I'm currently
working on belkin-hid.c, so it would have;
void belkin_extendvartable(void) {
addvar(VAR_FLAG, "wait", "Wait for AC power
");
addvar(VAR_VALUE,"wait", "Wait for AC powe...