clnt_soc.h | clnt_soc.h | |||
---|---|---|---|---|
skipping to change at line 114 | skipping to change at line 114 | |||
* int *sockp; | * int *sockp; | |||
* u_int sendsz; | * u_int sendsz; | |||
* u_int recvsz; | * u_int recvsz; | |||
*/ | */ | |||
__BEGIN_DECLS | __BEGIN_DECLS | |||
extern CLIENT *clntudp_create(struct sockaddr_in *, u_long, u_long, | extern CLIENT *clntudp_create(struct sockaddr_in *, u_long, u_long, | |||
struct timeval, int *); | struct timeval, int *); | |||
extern CLIENT *clntudp_bufcreate(struct sockaddr_in *, u_long, u_long, | extern CLIENT *clntudp_bufcreate(struct sockaddr_in *, u_long, u_long, | |||
struct timeval, int *, u_int, u_int); | struct timeval, int *, u_int, u_int); | |||
#ifdef INET6 | #ifdef INET6 | |||
extern CLIENT *clntudp6_create(struct sockaddr_in *, u_long, u_long, | extern CLIENT *clntudp6_create(struct sockaddr_in6 *, u_long, u_long, | |||
struct timeval, int *); | struct timeval, int *); | |||
extern CLIENT *clntudp6_bufcreate(struct sockaddr_in *, u_long, u_long, | extern CLIENT *clntudp6_bufcreate(struct sockaddr_in6 *, u_long, u_long, | |||
struct timeval, int *, u_int, u_int); | struct timeval, int *, u_int, u_int); | |||
#endif | #endif | |||
__END_DECLS | __END_DECLS | |||
#endif /* _RPC_CLNT_SOC_H */ | #endif /* _RPC_CLNT_SOC_H */ | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
svc_soc.h | svc_soc.h | |||
---|---|---|---|---|
skipping to change at line 57 | skipping to change at line 57 | |||
/* | /* | |||
* All the following declarations are only for backward compatibility | * All the following declarations are only for backward compatibility | |||
* with TS-RPC | * with TS-RPC | |||
*/ | */ | |||
/* | /* | |||
* Approved way of getting address of caller | * Approved way of getting address of caller | |||
*/ | */ | |||
#define svc_getcaller(x) (&(x)->xp_raddr) | #define svc_getcaller(x) (&(x)->xp_raddr) | |||
/* Getting address of a caller using netbuf xp_rtaddr */ | /* Getting address of a caller using netbuf xp_rtaddr */ | |||
#define svc_getcaller_netbuf(x) (&(x)->xp_fd) | #define svc_getcaller_netbuf(x) (&(x)->xp_rtaddr) | |||
/* | /* | |||
* Service registration | * Service registration | |||
* | * | |||
* svc_register(xprt, prog, vers, dispatch, protocol) | * svc_register(xprt, prog, vers, dispatch, protocol) | |||
* SVCXPRT *xprt; | * SVCXPRT *xprt; | |||
* u_long prog; | * u_long prog; | |||
* u_long vers; | * u_long vers; | |||
* void (*dispatch)(); | * void (*dispatch)(); | |||
* int protocol; like TCP or UDP, zero means do not register | * int protocol; like TCP or UDP, zero means do not register | |||
*/ | */ | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||