xpa.h   xpa.h 
skipping to change at line 20 skipping to change at line 20
#ifndef __xpa_h #ifndef __xpa_h
#define __xpa_h #define __xpa_h
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
#include <prsetup.h> #include <prsetup.h>
#define XPA_MAJOR_VERSION 2 #define XPA_MAJOR_VERSION 2
#define XPA_MINOR_VERSION 1 #define XPA_MINOR_VERSION 1
#define XPA_PATCH_LEVEL 8 #define XPA_PATCH_LEVEL 10
#define XPA_VERSION "2.1.8" #define XPA_VERSION "2.1.10"
/* #define XPA_DEBUG 1 */ /* #define XPA_DEBUG 1 */
#ifdef XPA_DEBUG #ifdef XPA_DEBUG
#define FPRINTF(x) fprintf x #define FPRINTF(x) fprintf x
#define PERROR(x) perror x #define PERROR(x) perror x
#else #else
#define FPRINTF(x) #define FPRINTF(x)
#define PERROR(x) #define PERROR(x)
#endif #endif
skipping to change at line 112 skipping to change at line 112
void *client_data void *client_data
#endif #endif
); );
typedef void (*SelOff)( typedef void (*SelOff)(
#ifdef ANSI_FUNC #ifdef ANSI_FUNC
void *client_data void *client_data
#endif #endif
); );
typedef void (*MyFree)(
#ifdef ANSI_FUNC
void *buf
#endif
);
typedef void Sigfunc( typedef void Sigfunc(
#ifdef ANSI_FUNC #ifdef ANSI_FUNC
int int
#endif #endif
); );
/* /*
* *
* *
* xpa access control record structure * xpa access control record structure
skipping to change at line 208 skipping to change at line 214
int dataport; int dataport;
/* for AF_UNIX */ /* for AF_UNIX */
char *cmdname; char *cmdname;
char *dataname; char *dataname;
int acl[XPA_CMDS+1]; int acl[XPA_CMDS+1];
/* for handling fd's in non-select event loops */ /* for handling fd's in non-select event loops */
void *selcptr; /* cmdfd struct for seldel */ void *selcptr; /* cmdfd struct for seldel */
void *seldptr; /* datafd struct for seldel */ void *seldptr; /* datafd struct for seldel */
/* pointer to associated name server */ /* pointer to associated name server */
struct nsrec *ns; struct nsrec *ns;
/* myfree routine */
MyFree myfree;
void *myfree_ptr;
} *XPAComm, XPACommRec; } *XPAComm, XPACommRec;
/* /*
* *
* *
* clipboard record structure * clipboard record structure
* *
*/ */
typedef struct cliprec{ typedef struct cliprec{
struct cliprec *next; struct cliprec *next;
skipping to change at line 398 skipping to change at line 407
void XPAListDel _PRx((XPA *head, XPA xpa)); void XPAListDel _PRx((XPA *head, XPA xpa));
int XPAActive _PRx((XPA xpa, XPAComm comm, int flag)); int XPAActive _PRx((XPA xpa, XPAComm comm, int flag));
int XPAActiveFd _PRx((int fd)); int XPAActiveFd _PRx((int fd));
int XPAAddSelect _PRx((XPA xpa, fd_set *readfdsptr)); int XPAAddSelect _PRx((XPA xpa, fd_set *readfdsptr));
int XPAProcessSelect _PRx((fd_set *readfdsptr, int maxreq)); int XPAProcessSelect _PRx((fd_set *readfdsptr, int maxreq));
void XPACloseData _PRx((XPA xpa, XPAComm comm)); void XPACloseData _PRx((XPA xpa, XPAComm comm));
int XPAHandler _PRx((XPA xpa, int fd)); int XPAHandler _PRx((XPA xpa, int fd));
void XPAMode _PRx((char *mode, int *flag, char *name, int mask, int def)); void XPAMode _PRx((char *mode, int *flag, char *name, int mask, int def));
int XPAEndian _PRx((void)); int XPAEndian _PRx((void));
char *XPATmpdir _PRx((void)); char *XPATmpdir _PRx((void));
int XPASetBuf _PRx((XPA xpa, char *buf, int len, int xcopy)); void XPACleanup _PRx((void));
int XPASetBuf _PRx((XPA xpa, char *buf, int len, int xcopy));
int XPASetFree _PRx((XPA xpa, MyFree myfree, void *myfree_ptr));
int XPAShortTimeout _PRx((void)); int XPAShortTimeout _PRx((void));
int XPALongTimeout _PRx((void)); int XPALongTimeout _PRx((void));
int XPASendLTimeout _PRx((void *client_data, void *call_data, int XPASendLTimeout _PRx((void *client_data, void *call_data,
char *paramlist, char **buf, int *len)); char *paramlist, char **buf, int *len));
int XPAReceiveLTimeout _PRx((void *client_data, void *call_data, int XPAReceiveLTimeout _PRx((void *client_data, void *call_data,
char *paramlist, char *buf, int len)); char *paramlist, char *buf, int len));
int XPASendSTimeout _PRx((void *client_data, void *call_data, int XPASendSTimeout _PRx((void *client_data, void *call_data,
char *paramlist, char **buf, int *len)); char *paramlist, char **buf, int *len));
int XPAReceiveSTimeout _PRx((void *client_data, void *call_data, int XPAReceiveSTimeout _PRx((void *client_data, void *call_data,
char *paramlist, char *buf, int len)); char *paramlist, char *buf, int len));
skipping to change at line 447 skipping to change at line 458
SendCb send_callback, void *send_data, char *send_mode, SendCb send_callback, void *send_data, char *send_mode,
ReceiveCb rec_callback, void *rec_data, char *rec_mode)); ReceiveCb rec_callback, void *rec_data, char *rec_mode));
int XPAFree _PRx((XPA xpa)); int XPAFree _PRx((XPA xpa));
XPA XPAInfoNew _PRx((char *xclass, char *name, XPA XPAInfoNew _PRx((char *xclass, char *name,
InfoCb info_callback, void *info_data, char *info_mode) ); InfoCb info_callback, void *info_data, char *info_mode) );
int XPAPoll _PRx((int msec, int maxreq)); int XPAPoll _PRx((int msec, int maxreq));
int XPAMainLoop _PRx((void)); int XPAMainLoop _PRx((void));
void XPASleep _PRx((int msec)); void XPASleep _PRx((int msec));
/* command.c */ /* command.c */
void XPAInitReserved _PRx((void)); void XPAInitReserved _PRx((void));
void XPAFreeReserved _PRx((void));
XPACmd XPACmdLookupReserved _PRx((XPA xpa, char *lbuf, int *lp)); XPACmd XPACmdLookupReserved _PRx((XPA xpa, char *lbuf, int *lp));
XPACmd XPACmdLookup _PRx((XPA xpa, char *lbuf, int *lp)); XPACmd XPACmdLookup _PRx((XPA xpa, char *lbuf, int *lp));
int XPAReceiveCommands _PRx((void *client_data, void *call_data, int XPAReceiveCommands _PRx((void *client_data, void *call_data,
char *paramlist, char *buf, int len)); char *paramlist, char *buf, int len));
int XPASendCommands _PRx((void *client_data, void *call_data, int XPASendCommands _PRx((void *client_data, void *call_data,
char *paramlist, char **buf, int *len)); char *paramlist, char **buf, int *len));
XPA XPACmdNew _PRx((char *xclass, char *name)); XPA XPACmdNew _PRx((char *xclass, char *name));
XPACmd XPACmdAdd _PRx((XPA xpa, char *name, char *help, XPACmd XPACmdAdd _PRx((XPA xpa, char *name, char *help,
SendCb send_callback, void *send_data, char *send_mode , SendCb send_callback, void *send_data, char *send_mode ,
ReceiveCb rec_callback, void *rec_data, char *rec_mode )); ReceiveCb rec_callback, void *rec_data, char *rec_mode ));
skipping to change at line 488 skipping to change at line 500
int XPASet _PRx((XPA xpa, char *xtemplate, int XPASet _PRx((XPA xpa, char *xtemplate,
char *paramlist, char *mode, char *paramlist, char *mode,
char *buf, int len, char **names, char **errs, int n)); char *buf, int len, char **names, char **errs, int n));
int XPASetFd _PRx((XPA xpa, char *xtemplate, int XPASetFd _PRx((XPA xpa, char *xtemplate,
char *paramlist, char *mode, char *paramlist, char *mode,
int fd, char **names, char **errs, int n)); int fd, char **names, char **errs, int n));
int XPAInfo _PRx((XPA xpa, char *xtemplate, int XPAInfo _PRx((XPA xpa, char *xtemplate,
char *paramlist, char *mode, char *paramlist, char *mode,
char **names, char **errs, int n)); char **names, char **errs, int n));
int XPAClientValid _PRx((XPA xpa)); int XPAClientValid _PRx((XPA xpa));
void XPASaveJmp _PRx((void *env));
/* acl.c */ /* acl.c */
int XPAReceiveAcl _PRx((void *client_data, void *call_data, int XPAReceiveAcl _PRx((void *client_data, void *call_data,
char *paramlist, char *buf, int len)); char *paramlist, char *buf, int len));
int XPASendAcl _PRx((void *client_data, void *call_data, int XPASendAcl _PRx((void *client_data, void *call_data,
char *paramlist, char **buf, int *len)); char *paramlist, char **buf, int *len));
int XPAAclEdit _PRx((char *lbuf)); int XPAAclEdit _PRx((char *lbuf));
int XPAAclAdd _PRx((char *lbuf)); int XPAAclAdd _PRx((char *lbuf));
int XPAAclDel _PRx((XACL acl)); int XPAAclDel _PRx((XACL acl));
void XPAAclFree _PRx((void)); void XPAAclFree _PRx((void));
int XPAAclNew _PRx((char *aname, int flag)); int XPAAclNew _PRx((char *aname, int flag));
skipping to change at line 523 skipping to change at line 537
int XPAReceiveClipboard _PRx((void *client_data, void *call_data, int XPAReceiveClipboard _PRx((void *client_data, void *call_data,
char *paramlist, char *buf, int len)); char *paramlist, char *buf, int len));
int XPASendClipboard _PRx((void *client_data, void *call_data, int XPASendClipboard _PRx((void *client_data, void *call_data,
char *paramlist, char **buf, int *len)); char *paramlist, char **buf, int *len));
int ClipBoardFree _PRx((XPA xpa, XPAClip clip)); int ClipBoardFree _PRx((XPA xpa, XPAClip clip));
/* xt.c */ /* xt.c */
int XPAXtAddInput _PRx((void *app, XPA xpa)); int XPAXtAddInput _PRx((void *app, XPA xpa));
/* tcl.c */ /* tcl.c */
int XPATclAddInput _PRx((XPA xpa)); int XPATclAddInput _PRx((XPA xpa));
int Tclxpa_Init _PRx((void *vinterp)); int Tclxpa_Init _PRx((void *vinterp));
/* gtkloop.c */
int XPAGtkAddInput _PRx((XPA xpa));
/* xpaio.c */ /* xpaio.c */
int XPAGets _PRx((XPA xpa, int fd, char *buf, int len, int timeout)); int XPAGets _PRx((XPA xpa, int fd, char *buf, int len, int timeout));
int XPAPuts _PRx((XPA xpa, int fd, char *buf, int timeout)); int XPAPuts _PRx((XPA xpa, int fd, char *buf, int timeout));
int XPAGetBuf _PRx((XPA xpa, int fd, char **buf, int *len, int timeout)); int XPAGetBuf _PRx((XPA xpa, int fd, char **buf, int *len, int timeout));
int XPAPutBuf _PRx((XPA xpa, int fd, char *buf, int len, int timeout)); int XPAPutBuf _PRx((XPA xpa, int fd, char *buf, int len, int timeout));
int XPAIOCallsXPA _PRx((int flag)); int XPAIOCallsXPA _PRx((int flag));
char *XPALevelSpaces _PRx((void)); char *XPALevelSpaces _PRx((void));
void XPALevelSet _PRx((int lev)); void XPALevelSet _PRx((int lev));
int XPALevelGet _PRx((void)); int XPALevelGet _PRx((void));
 End of changes. 7 change blocks. 
3 lines changed or deleted 19 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/