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 10 | #define XPA_PATCH_LEVEL 11 | |||
#define XPA_VERSION "2.1.10" | #define XPA_VERSION "2.1.11" | |||
/* #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 441 | skipping to change at line 441 | |||
int XPAOK _PRx((XPA xpa)); | int XPAOK _PRx((XPA xpa)); | |||
int XPAMessage _PRx((XPA xpa, char *s)); | int XPAMessage _PRx((XPA xpa, char *s)); | |||
char *XPAArgvParamlist _PRx((int argc, char **argv, int start)); | char *XPAArgvParamlist _PRx((int argc, char **argv, int start)); | |||
int XPAMethod _PRx((char *method)); | int XPAMethod _PRx((char *method)); | |||
int XPAAccess _PRx((XPA xpa, char *xtemplate, char *paramlist, char *mode, | int XPAAccess _PRx((XPA xpa, char *xtemplate, char *paramlist, char *mode, | |||
char **names, char **messages, int n)); | char **names, char **messages, int n)); | |||
int XPANSLookup _PRx((XPA xpa, char *tname, char *ttype, | int XPANSLookup _PRx((XPA xpa, char *tname, char *ttype, | |||
char ***xclasses, char ***names, | char ***xclasses, char ***names, | |||
char ***methods, char ***infs)); | char ***methods, char ***infs)); | |||
int XPANSClose _PRx((XPA xpa, NS ns)); | int XPANSClose _PRx((XPA xpa, NS ns)); | |||
int XPANSKeepAlive _PRx((XPA xpa)); | int XPANSKeepAlive _PRx((XPA xpa, int type)); | |||
int XPANSAdd _PRx((XPA xpa, char *host, char *mode)); | int XPANSAdd _PRx((XPA xpa, char *host, char *mode)); | |||
int XPANSDel _PRx((XPA xpa, char *host, char *mode)); | int XPANSDel _PRx((XPA xpa, char *host, char *mode)); | |||
int XPAVersionCheck _PRx((char *serv, char *nsv)); | int XPAVersionCheck _PRx((char *serv, char *nsv)); | |||
void XPAVersionWarn _PRx((char *myv, char *nsv)); | void XPAVersionWarn _PRx((char *myv, char *nsv)); | |||
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, | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||