diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-05-22 23:05:42 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2014-05-22 23:05:42 -0700 |
commit | 03bf9d280c88b15161defd305ab06920bacb26a9 (patch) | |
tree | cc92137ae6114e003fd759bf83be900b15d8493c /include | |
parent | ca9663adce2a6e477fd92429e6e64bf8665998ef (diff) |
Delete unused extension code
No extensions were defined, but the code was ready for them, just in
case someone came up with one. If someone ever does, they can restore
from git history or an old tarball - until then, less code for us to
maintain & worry about checking for proper encoding/decoding of protocol.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/extentst.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/include/extentst.h b/include/extentst.h index 9010d87..e21f8cb 100644 --- a/include/extentst.h +++ b/include/extentst.h @@ -48,44 +48,9 @@ in this Software without prior written authorization from The Open Group. #ifndef _EXTENTST_H_ #define _EXTENTST_H_ -typedef struct _ExtensionEntry { - int index; - void (*CloseDown) (struct _ExtensionEntry*); - char *name; - int base; - int eventBase; - int eventLast; - int errorBase; - int errorLast; - int num_aliases; - char **aliases; - pointer extPrivate; - unsigned short (*MinorOpcode) (ClientPtr); -} ExtensionEntry; - extern void (*EventSwapVector[]) (fsError *, fsError *); -#if 0 -typedef void (*ExtensionLookupProc) (char *name, GCPtr pGC); - -typedef struct _ProcEntry { - char *name; - ExtensionLookupProc proc; -} ProcEntryRec, *ProcEntryPtr; - -extern ExtensionEntry *AddExtension(); -extern ExtensionLookupProc LookupProc(char *name, GCPtr pGC); -extern Bool RegisterProc(); -#endif - -extern ExtensionEntry * AddExtension ( char *name, int num_events, int num_errors, int (*main_proc) (ClientPtr), int (*smain_proc) (ClientPtr), void (*closedown_proc) (struct _ExtensionEntry *), unsigned short (*minorop_proc) (ClientPtr) ); - -extern Bool AddExtensionAlias(char *alias, ExtensionEntry *ext); extern int ProcListExtensions(ClientPtr client); extern int ProcQueryExtension(ClientPtr client); -extern unsigned short MinorOpcodeOfRequest(ClientPtr client); -extern unsigned short StandardMinorOpcode(ClientPtr client); -extern void CloseDownExtensions(void); -extern void InitExtensions(void); #endif /* _EXTENTST_H_ */ |