diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-05-06 19:42:47 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-05-06 21:44:36 -0700 |
commit | aec53bc090ef6b63e16efebab3f8c8e6f329eb6b (patch) | |
tree | 549e13d5a09d341e4e3bddb16fa051b4a7f6dd22 /decode_wcp.c | |
parent | 02906bf1766ad1769e03f9372611087389ee23b0 (diff) | |
download | xscope-aec53bc090ef6b63e16efebab3f8c8e6f329eb6b.tar.gz |
Report names for all extensions, not just those we know
Move extension handling to new extensions.c & extensions.h files
Start to make extension handling more generic/modular/extendable
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'decode_wcp.c')
-rw-r--r-- | decode_wcp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/decode_wcp.c b/decode_wcp.c index bcf0653..fdb7664 100644 --- a/decode_wcp.c +++ b/decode_wcp.c @@ -30,8 +30,7 @@ #include "scope.h" #include "x11.h" #include "wcpscope.h" - -unsigned char LookForWCPFlag; +#include "extensions.h" unsigned char WCPRequest, WCPError; @@ -113,7 +112,6 @@ InitializeWCP ( WCPRequest = (unsigned char)(buf[9]); WCPError = (unsigned char)(buf[11]); - LookForWCPFlag = 0; DefineEValue (&TD[REQUEST], (unsigned long) WCPRequest, "WcpRequest"); DefineEValue (&TD[REPLY], (unsigned long) WCPRequest, "WcpReply"); |