From 3199c6fb39f02b36a07ef65bf4b07d6ec340944d Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 12 Aug 2009 14:18:25 -0700 Subject: 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 --- renderscope.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'renderscope.h') diff --git a/renderscope.h b/renderscope.h index 201e339..f38224f 100644 --- a/renderscope.h +++ b/renderscope.h @@ -12,10 +12,6 @@ #define printfield(a,b,c,d,e) if (Verbose > 1) PrintField(a,b,c,d,e) -extern unsigned char RENDERRequest; -extern unsigned char RENDERError; -#define RENDERNError 5 - extern void RenderQueryVersion (FD fd, const unsigned char *buf); extern void RenderQueryVersionReply (FD fd, const unsigned char *buf); extern void RenderQueryPictFormats (FD fd, const unsigned char *buf); -- cgit v1.2.1