"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "xlab-0.8.3/decode11.h" of archive xlab-0.8.3.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 /*
    2  * $Id: decode11.h,v 1.1 1998/07/24 11:59:13 marc Exp $
    3  *
    4  * Prototypes for functions implemented in decode11.c
    5  *
    6  * (c) Copyright Marc Vertes, 1998
    7  *
    8  */
    9 
   10 #ifndef _DECODE11_H_
   11 #define _DECODE11_H_
   12 
   13 #if __STDC__ || defined(__cplusplus)
   14 #define P_(s) s
   15 #else
   16 #define P_(s) ()
   17 #endif
   18 
   19 /* decode11.c */
   20 struct QueueEntry *NewQEntry P_((long SequenceNumber, int Request));
   21 void InitReplyQ P_((void));
   22 void FlushReplyQ P_((FD fd));
   23 void DumpReplyQ P_((FD fd));
   24 void SequencedReplyExpected P_((FD fd, long SequenceNumber, int RequestType));
   25 short CheckReplyTable P_((FD fd, int SequenceNumber));
   26 void ReplyExpected P_((FD fd, int Request));
   27 void KeepLastReplyExpected P_((void));
   28 void DecodeRequest P_((FD fd, unsigned char *buf, long n));
   29 int GrabTimeoutProc P_((TimerID timer, char *message));
   30 void ProcessGrab P_((FD fd, unsigned char *buf, long n));
   31 void DecodeReply P_((FD fd, unsigned char *buf, long n));
   32 void DecodeError P_((FD fd, unsigned char *buf, long n));
   33 void DecodeEvent P_((FD fd, unsigned char *buf, long n));
   34 short MonitorEvent P_((FD fd, unsigned char *buf, long n));
   35 
   36 #undef P_
   37 
   38 #endif /* _DECODE11_H_ */