summaryrefslogtreecommitdiff
path: root/synproto.h
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2004-04-13 01:02:22 +0200
committerPeter Osterlund <petero2@telia.com>2006-04-09 04:02:02 +0200
commitdee1cca686b33a0c2a565d5ecee036abdac6b3a6 (patch)
treebcb4a409de8928eb43cedb9a6cf3000408358e67 /synproto.h
parent641aef59c6b1aa2f81d4e1ac7017339ff3b5e072 (diff)
Don't send the whole SynapticsPrivate struct to the
ReadHwState() functions.
Diffstat (limited to 'synproto.h')
-rw-r--r--synproto.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/synproto.h b/synproto.h
index 6e45334..4e2c193 100644
--- a/synproto.h
+++ b/synproto.h
@@ -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;