summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-05-06 17:10:31 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-05-06 17:10:31 -0700
commit0aab8135dae526b090dcb1ffab801023ac4084aa (patch)
tree3aa615a5196bddc76ff23a5e4b3ae6ab04a40588 /proto.h
parenteb05316a471da962eefe82c9b9a16a7590653ba7 (diff)
parentdef948f052a758850cadc022943517742b299441 (diff)
downloadxscope-0aab8135dae526b090dcb1ffab801023ac4084aa.tar.gz
Merge branch 'keithp'
Conflicts: common.c decode11.c fd.c fd.h print11.c prtype.c scope.c scope.h server.c table11.c x11.h xscope.man
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/proto.h b/proto.h
index 397cb6b..c8f06d3 100644
--- a/proto.h
+++ b/proto.h
@@ -7,7 +7,7 @@ void panic(char *s);
void *Malloc(long n);
void Free(void *p);
void SetSignalHandling(void);
-void SetUpConnectionSocket(int iport);
+void SetUpConnectionSocket(int iport, int (*connectionFunc)());
/* decode11.c */
void InitReplyQ(void);
void FlushReplyQ(FD fd);
@@ -231,6 +231,7 @@ void GetModifierMappingReply(unsigned char *buf);
void NoOperation(unsigned char *buf);
/* prtype.c */
void SetIndentLevel(int which);
+void DumpHexBuffer(unsigned char *buf, long n);
void DumpItem(char *name, FD fd, unsigned char *buf, long n);
void PrintField(unsigned char *buf, int start, int length, int FieldType, char *name);
long PrintList(unsigned char *buf, long number, int ListType, char *name);
@@ -249,6 +250,8 @@ FD ServerHalf(FD fd);
char *ClientName(FD fd);
void NewConnection(FD fd);
/* server.c */
+FD ConnectToServer(int report);
+void ProcessBuffer(FD fd, unsigned char *buf, long n);
void ReportFromClient(FD fd, unsigned char *buf, long n);
void ReportFromServer(FD fd, unsigned char *buf, long n);
void PrintTime(void);
@@ -261,6 +264,8 @@ void StartClientConnection(FD fd);
void StopClientConnection(FD fd);
void StartServerConnection(FD fd);
void StopServerConnection(FD fd);
+long StartSetUpMessage(FD fd, unsigned char *buf, long n);
+long StartSetUpReply(FD fd, unsigned char *buf, long n);
/* table11.c */
void InitializeX11(void);