ReactOS 0.4.15-dev-8632-gbc8c7d1
|
#include <wintirpc.h>
#include <reentrant.h>
#include <sys/types.h>
#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <rpc/rpc.h>
#include "rpc_com.h"
Go to the source code of this file.
Classes | |
struct | cmsgcred |
struct | cmessage |
struct | ct_data |
Macros | |
#define | MCALL_MSG_SIZE 24 |
#define | CMGROUP_MAX 16 |
#define | SCM_CREDS 0x03 /* process creds (struct cmsgcred) */ |
#define | release_fd_lock(fd, mask) |
#define | acquire_fd_lock(fd) |
#define | CALLBACK_TIMEOUT 5000 |
#define | RQCRED_SIZE 400 /* this size is excessive */ |
Functions | |
static enum clnt_stat | clnt_vc_call (CLIENT *, rpcproc_t, xdrproc_t, void *, xdrproc_t, void *, struct timeval) |
static void | clnt_vc_geterr (CLIENT *, struct rpc_err *) |
static bool_t | clnt_vc_freeres (CLIENT *, xdrproc_t, void *) |
static void | clnt_vc_abort (CLIENT *) |
static bool_t | clnt_vc_control (CLIENT *, u_int, void *) |
static void | clnt_vc_destroy (CLIENT *) |
static struct clnt_ops * | clnt_vc_ops (void) |
static bool_t | time_not_ok (struct timeval *) |
static int | read_vc (void *, void *, int) |
static int | write_vc (void *, void *, int) |
static unsigned int WINAPI | clnt_cb_thread (void *args) |
CLIENT * | clnt_vc_create (int fd, const struct netbuf *raddr, const rpcprog_t prog, const rpcvers_t vers, u_int sendsz, u_int recvsz, int *cb_xdr, int *cb_fn, void *cb_args) |
static int | write_vc (void *ctp, char *buf, int len) |
Variables | |
static int * | vc_fd_locks |
mutex_t | clnt_fd_lock |
static cond_t * | vc_cv |
static const char | clnt_vc_errstr [] = "%s : %s" |
static const char | clnt_vc_str [] = "clnt_vc_create" |
static const char | clnt_read_vc_str [] = "read_vc" |
static const char | __no_mem_str [] = "out of memory" |
Definition at line 200 of file clnt_vc.c.
Referenced by clnt_vc_create().
|
static |
Definition at line 509 of file clnt_vc.c.
Referenced by clnt_vc_ops().
Definition at line 766 of file clnt_vc.c.
Referenced by clnt_vc_ops().
CLIENT * clnt_vc_create | ( | int | fd, |
const struct netbuf * | raddr, | ||
const rpcprog_t | prog, | ||
const rpcvers_t | vers, | ||
u_int | sendsz, | ||
u_int | recvsz, | ||
int * | cb_xdr, | ||
int * | cb_fn, | ||
void * | cb_args | ||
) |
Definition at line 324 of file clnt_vc.c.
Referenced by clnt_tli_create(), and local_rpcb().
Definition at line 896 of file clnt_vc.c.
Referenced by clnt_vc_ops().
Definition at line 720 of file clnt_vc.c.
Referenced by clnt_vc_ops().
Definition at line 1058 of file clnt_vc.c.
Referenced by clnt_vc_create().
Definition at line 959 of file clnt_vc.c.
Referenced by clnt_vc_create().
Referenced by clnt_vc_create().
|
extern |
Definition at line 50 of file mt_misc.c.
Referenced by clnt_cb_thread(), clnt_vc_create(), clnt_vc_destroy(), and clnt_vc_freeres().
|
static |
Definition at line 163 of file clnt_vc.c.
Referenced by clnt_cb_thread(), clnt_vc_create(), clnt_vc_destroy(), and clnt_vc_freeres().
|
static |
Definition at line 161 of file clnt_vc.c.
Referenced by clnt_cb_thread(), clnt_vc_create(), clnt_vc_destroy(), and clnt_vc_freeres().