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 12 | #define XPA_PATCH_LEVEL 13 | |||
#define XPA_VERSION "2.1.12" | #define XPA_VERSION "2.1.13" | |||
/* #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 456 | skipping to change at line 456 | |||
char *XPANSMethod _PRx((char *host, int flag)); | char *XPANSMethod _PRx((char *host, int flag)); | |||
XPA XPANew _PRx((char *xclass, char *name, char *help, | XPA XPANew _PRx((char *xclass, 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)); | |||
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)); | |||
void XPAAtExit _PRx((void)); | ||||
/* command.c */ | /* command.c */ | |||
void XPAInitReserved _PRx((void)); | void XPAInitReserved _PRx((void)); | |||
void XPAFreeReserved _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)); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 3 lines changed or added | |||