diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-08-12 14:18:25 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-08-12 16:44:40 -0700 |
commit | 3199c6fb39f02b36a07ef65bf4b07d6ec340944d (patch) | |
tree | 59613bdf195e6f0490f672badd881372f2de9ac9 /bigreqscope.h | |
parent | fccbbd6f3bdc090d2da9b32fdff2fd13679e2b78 (diff) | |
download | xscope-3199c6fb39f02b36a07ef65bf4b07d6ec340944d.tar.gz |
Convert extension decoding to function pointer tables
Each extension now registers it's own request, reply, event & error decoding
functions as needed in the central table, instead of a cascading block of
if/else statements to modify for each new extension added.
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'bigreqscope.h')
-rw-r--r-- | bigreqscope.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bigreqscope.h b/bigreqscope.h index 0b182c0..00e9c08 100644 --- a/bigreqscope.h +++ b/bigreqscope.h @@ -13,8 +13,6 @@ #define printfield(a,b,c,d,e) if (Verbose > 1) PrintField(a,b,c,d,e) -extern unsigned char BIGREQRequest; - extern void BigreqEnable (FD fd, const unsigned char *buf); extern void BigreqEnableReply (FD fd, const unsigned char *buf); |