diff options
author | Peter Osterlund <petero2@telia.com> | 2004-04-13 01:02:22 +0200 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-04-09 04:02:02 +0200 |
commit | dee1cca686b33a0c2a565d5ecee036abdac6b3a6 (patch) | |
tree | bcb4a409de8928eb43cedb9a6cf3000408358e67 /synproto.h | |
parent | 641aef59c6b1aa2f81d4e1ac7017339ff3b5e072 (diff) |
Don't send the whole SynapticsPrivate struct to the
ReadHwState() functions.
Diffstat (limited to 'synproto.h')
-rw-r--r-- | synproto.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -56,13 +56,14 @@ enum SynapticsProtocol { struct synapticshw; struct _SynapticsPrivateRec; +struct CommData; struct SynapticsProtocolOperations { void (*DeviceOnHook)(LocalDevicePtr local); void (*DeviceOffHook)(LocalDevicePtr local); - Bool (*QueryHardware)(LocalDevicePtr local, struct synapticshw *synhw, Bool *hasGuest); - Bool (*ReadHwState)(LocalDevicePtr local, struct _SynapticsPrivateRec *priv, - struct SynapticsHwState *hwRet); + Bool (*QueryHardware)(LocalDevicePtr local, struct synapticshw *synhw); + Bool (*ReadHwState)(LocalDevicePtr local, struct synapticshw *synhw, + struct CommData *comm, struct SynapticsHwState *hwRet); }; extern struct SynapticsProtocolOperations psaux_proto_operations; |