Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

svc.h File Reference

#include <sys/cdefs.h>

Go to the source code of this file.

Defines

#define svc_getcaller(x)   (&(x)->xp_raddr)
#define SVC_RECV(xprt, msg)   (*(xprt)->xp_ops->xp_recv)((xprt), (msg))
#define svc_recv(xprt, msg)   (*(xprt)->xp_ops->xp_recv)((xprt), (msg))
#define SVC_STAT(xprt)   (*(xprt)->xp_ops->xp_stat)(xprt)
#define svc_stat(xprt)   (*(xprt)->xp_ops->xp_stat)(xprt)
#define SVC_GETARGS(xprt, xargs, argsp)   (*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp))
#define svc_getargs(xprt, xargs, argsp)   (*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp))
#define SVC_REPLY(xprt, msg)   (*(xprt)->xp_ops->xp_reply) ((xprt), (msg))
#define svc_reply(xprt, msg)   (*(xprt)->xp_ops->xp_reply) ((xprt), (msg))
#define SVC_FREEARGS(xprt, xargs, argsp)   (*(xprt)->xp_ops->xp_freeargs)((xprt), (xargs), (argsp))
#define svc_freeargs(xprt, xargs, argsp)   (*(xprt)->xp_ops->xp_freeargs)((xprt), (xargs), (argsp))
#define SVC_DESTROY(xprt)   (*(xprt)->xp_ops->xp_destroy)(xprt)
#define svc_destroy(xprt)   (*(xprt)->xp_ops->xp_destroy)(xprt)
#define RPC_ANYSOCK   -1

Typedefs

typedef __rpc_svcxprt SVCXPRT

Enumerations

enum  xprt_stat { XPRT_DIED, XPRT_MOREREQS, XPRT_IDLE }

Functions

__BEGIN_DECLS bool_t svc_register __P ((SVCXPRT *, u_long, u_long, void(*) __P((struct svc_req *, SVCXPRT *)), int))
__END_DECLS __BEGIN_DECLS
void svc_unregister 
__P ((u_long, u_long))
__END_DECLS __BEGIN_DECLS
void xprt_register 
__P ((SVCXPRT *))
__END_DECLS __BEGIN_DECLS
bool_t svc_sendreply 
__P ((SVCXPRT *, xdrproc_t, char *))
void svcerr_progvers __P ((SVCXPRT *, u_long, u_long))
void svcerr_auth __P ((SVCXPRT *, enum auth_stat))
void rpctest_service ()
__BEGIN_DECLS void svc_getreq __P ((int))
void svc_getreqset __P ((fd_set *))
void svc_run __P ((void))
SVCXPRT *svcudp_bufcreate __P ((int, u_int, u_int))

Variables

__END_DECLS int svc_maxfd
int svc_fds


Define Documentation

#define RPC_ANYSOCK   -1
 

Definition at line 287 of file svc.h.

#define svc_destroy xprt   )     (*(xprt)->xp_ops->xp_destroy)(xprt)
 

Definition at line 146 of file svc.h.

#define SVC_DESTROY xprt   )     (*(xprt)->xp_ops->xp_destroy)(xprt)
 

Definition at line 144 of file svc.h.

#define svc_freeargs xprt,
xargs,
argsp   )     (*(xprt)->xp_ops->xp_freeargs)((xprt), (xargs), (argsp))
 

Definition at line 141 of file svc.h.

#define SVC_FREEARGS xprt,
xargs,
argsp   )     (*(xprt)->xp_ops->xp_freeargs)((xprt), (xargs), (argsp))
 

Definition at line 139 of file svc.h.

#define svc_getargs xprt,
xargs,
argsp   )     (*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp))
 

Definition at line 131 of file svc.h.

#define SVC_GETARGS xprt,
xargs,
argsp   )     (*(xprt)->xp_ops->xp_getargs)((xprt), (xargs), (argsp))
 

Definition at line 129 of file svc.h.

#define svc_getcaller  )     (&(x)->xp_raddr)
 

Definition at line 109 of file svc.h.

#define svc_recv xprt,
msg   )     (*(xprt)->xp_ops->xp_recv)((xprt), (msg))
 

Definition at line 121 of file svc.h.

#define SVC_RECV xprt,
msg   )     (*(xprt)->xp_ops->xp_recv)((xprt), (msg))
 

Definition at line 119 of file svc.h.

#define svc_reply xprt,
msg   )     (*(xprt)->xp_ops->xp_reply) ((xprt), (msg))
 

Definition at line 136 of file svc.h.

#define SVC_REPLY xprt,
msg   )     (*(xprt)->xp_ops->xp_reply) ((xprt), (msg))
 

Definition at line 134 of file svc.h.

#define svc_stat xprt   )     (*(xprt)->xp_ops->xp_stat)(xprt)
 

Definition at line 126 of file svc.h.

#define SVC_STAT xprt   )     (*(xprt)->xp_ops->xp_stat)(xprt)
 

Definition at line 124 of file svc.h.


Typedef Documentation

typedef struct __rpc_svcxprt SVCXPRT
 


Enumeration Type Documentation

enum xprt_stat
 

Enumeration values:
XPRT_DIED 
XPRT_MOREREQS 
XPRT_IDLE 

Definition at line 69 of file svc.h.


Function Documentation

SVCXPRT* svcudp_bufcreate __P (int, u_int, u_int)   ) 
 

void svc_run __P (void)   ) 
 

void svc_getreqset __P (fd_set *)   ) 
 

__BEGIN_DECLS void svc_getreq __P (int)   ) 
 

void svcerr_auth __P (SVCXPRT *, enum auth_stat  ) 
 

void svcerr_progvers __P (SVCXPRT *, u_long, u_long)   ) 
 

__END_DECLS __BEGIN_DECLS bool_t svc_sendreply __P (SVCXPRT *, xdrproc_t, char *)   ) 
 

__END_DECLS __BEGIN_DECLS void xprt_register __P (SVCXPRT *)   ) 
 

__END_DECLS __BEGIN_DECLS void svc_unregister __P (u_long, u_long)   ) 
 

__BEGIN_DECLS bool_t svc_register __P (SVCXPRT *, u_long, u_long, void(*) __P((struct svc_req *, SVCXPRT *)), int)   ) 
 

void rpctest_service  ) 
 


Variable Documentation

int svc_fds
 

__END_DECLS int svc_maxfd
 


Generated on Sun May 14 14:51:29 2006 by  doxygen 1.4.2