Displaying 1 result from an estimated 1 matches for "belkin_extendvartable".
2006 Jun 03
1
RFC: allow HID subdriver's to register ups.conf settings
...*(*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 power and battery
level ");
/* ... */
}
The other HID drivers, I guess, could...