ReactOS 0.4.16-dev-88-ga65b6ae
|
#include <rpc/svc_soc.h>
Go to the source code of this file.
Classes | |
struct | __rpc_svcxprt |
struct | __rpc_svcxprt::xp_ops |
struct | __rpc_svcxprt::xp_ops2 |
struct | svc_req |
Macros | |
#define | SVCGET_VERSQUIET 1 |
#define | SVCSET_VERSQUIET 2 |
#define | SVCGET_CONNMAXREC 3 |
#define | SVCSET_CONNMAXREC 4 |
#define | RPC_SVC_CONNMAXREC_SET 0 /* set max rec size, enable nonblock */ |
#define | RPC_SVC_CONNMAXREC_GET 1 |
#define | svc_getrpccaller(x) (&(x)->xp_rtaddr) |
#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 | SVC_CONTROL(xprt, rq, in) (*(xprt)->xp_ops2->xp_control)((xprt), (rq), (in)) |
#define | RPC_ANYSOCK INVALID_SOCKET /* -1 */ |
#define | RPC_ANYFD RPC_ANYSOCK |
Typedefs | |
typedef struct __rpc_svcxprt | SVCXPRT |
Enumerations | |
enum | xprt_stat { XPRT_DIED , XPRT_MOREREQS , XPRT_IDLE } |
Variables | |
__END_DECLS int | svc_maxfd |
int | svc_fds |
#define RPC_ANYFD RPC_ANYSOCK |
#define RPC_ANYSOCK INVALID_SOCKET /* -1 */ |
#define SVC_DESTROY | ( | xprt | ) | (*(xprt)->xp_ops->xp_destroy)(xprt) |
#define svc_destroy | ( | xprt | ) | (*(xprt)->xp_ops->xp_destroy)(xprt) |
#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_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)) |
typedef struct __rpc_svcxprt SVCXPRT |
Definition at line 783 of file svc_vc.c.
int rpc_reg | ( | rpcprog_t | , |
rpcvers_t | , | ||
rpcproc_t | , | ||
char * | *)(char *, | ||
xdrproc_t | , | ||
xdrproc_t | , | ||
char * | |||
) |
__BEGIN_DECLS void rpctest_service | ( | void | ) |
__BEGIN_DECLS int svc_create | ( | void(*)(struct svc_req *, SVCXPRT *) | , |
const | rpcprog_t, | ||
const | rpcvers_t, | ||
const char * | |||
) |
Definition at line 386 of file svc_dg.c.
Definition at line 204 of file svc_vc.c.
Referenced by svc_tli_create().
__END_DECLS __BEGIN_DECLS void svc_getreq | ( | int | rdfds | ) |
Definition at line 604 of file svc.c.
Definition at line 641 of file svc.c.
Referenced by svc_getreq_poll(), and svc_getreqset().
Definition at line 745 of file svc.c.
Definition at line 615 of file svc.c.
Referenced by svc_getreq(), and svc_run().
Definition at line 76 of file svc_raw.c.
__BEGIN_DECLS bool_t svc_reg | ( | SVCXPRT * | , |
const | rpcprog_t, | ||
const | rpcvers_t, | ||
void(*)(struct svc_req *, SVCXPRT *) | , | ||
const struct netconfig * | |||
) |
Definition at line 48 of file svc_run.c.
__END_DECLS __BEGIN_DECLS bool_t svc_sendreply | ( | SVCXPRT * | xprt, |
xdrproc_t | xdr_results, | ||
void * | xdr_location | ||
) |
Definition at line 399 of file svc.c.
Referenced by _svcauth_gss(), and universal().
SVCXPRT * svc_tli_create | ( | const | SOCKET, |
const struct netconfig * | nconf, | ||
const struct t_bind * | bindaddr, | ||
const | u_int, | ||
const | u_int | ||
) |
Definition at line 182 of file svc_generic.c.
Referenced by rpc_reg(), and svc_tp_create().
SVCXPRT * svc_tp_create | ( | void(*)(struct svc_req *, SVCXPRT *) | , |
const | rpcprog_t, | ||
const | rpcvers_t, | ||
const struct netconfig * | |||
) |
__END_DECLS __BEGIN_DECLS void svc_unreg | ( | const | rpcprog_t, |
const | rpcvers_t | ||
) |
Definition at line 517 of file svc.c.
Referenced by svc_getreq_common(), and svcerr_weakauth().
Definition at line 439 of file svc.c.
Referenced by universal().
Definition at line 421 of file svc.c.
Definition at line 549 of file svc.c.
Referenced by svc_getreq_common().
Definition at line 567 of file svc.c.
Referenced by svc_getreq_common().
Definition at line 457 of file svc.c.
__END_DECLS __BEGIN_DECLS void xprt_register | ( | SVCXPRT * | xprt | ) |
Definition at line 97 of file svc.c.
Referenced by makefd_xprt(), svc_dg_create(), svc_raw_create(), and svc_vc_create().
__END_DECLS __BEGIN_DECLS void xprt_unregister | ( | SVCXPRT * | xprt | ) |
Definition at line 128 of file svc.c.
Referenced by svc_dg_destroy(), and svc_vc_destroy().
|
extern |
|
extern |
Definition at line 39 of file rpc_commondata.c.
Referenced by __svc_clean_idle(), __xprt_do_unregister(), svc_run(), and xprt_register().