diff options
author | Chase Douglas <chase.douglas@canonical.com> | 2012-02-07 15:14:05 -0800 |
---|---|---|
committer | Chase Douglas <chase.douglas@canonical.com> | 2012-02-10 13:20:48 -0800 |
commit | c34cf307f9982b62c6e6dfa2687e1b16f527f2a4 (patch) | |
tree | a61132e6032b7e5137a04aaeed94e389dba3bb78 /src/synproto.h | |
parent | 146edc2baad1388f49a7a857c2003faa171876c7 (diff) |
Introduce SynapticsHwStateAlloc() and SynapticsHwStateFree()
Put them in a new file so eventcomm-test can access them.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/synproto.h')
-rw-r--r-- | src/synproto.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/synproto.h b/src/synproto.h index 6962bbf..3f09bb2 100644 --- a/src/synproto.h +++ b/src/synproto.h @@ -32,6 +32,9 @@ #include <xf86Xinput.h> #include <xisb.h> +struct _SynapticsPrivateRec; +typedef struct _SynapticsPrivateRec SynapticsPrivate; + /* * A structure to describe the state of the touchpad hardware (buttons and pad) */ @@ -90,4 +93,7 @@ extern struct SynapticsProtocolOperations event_proto_operations; extern struct SynapticsProtocolOperations psm_proto_operations; #endif /* BUILD_PSMCOMM */ +extern struct SynapticsHwState *SynapticsHwStateAlloc(SynapticsPrivate *priv); +extern void SynapticsHwStateFree(struct SynapticsHwState **hw); + #endif /* _SYNPROTO_H_ */ |