Watt-32 tcp/ip  2.2 dev-rel.10
Data Structures | Enumerations | Functions | Variables
clnt.h File Reference

Go to the source code of this file.

Data Structures

struct  rpc_err
 
struct  CLIENT
 
struct  CLIENT::clnt_ops
 
struct  rpc_createerr
 

Enumerations

enum  clnt_stat {
  RPC_SUCCESS =0,
  RPC_CANTENCODEARGS =1,
  RPC_CANTDECODERES =2,
  RPC_CANTSEND =3,
  RPC_CANTRECV =4,
  RPC_TIMEDOUT =5,
  RPC_VERSMISMATCH =6,
  RPC_AUTHERROR =7,
  RPC_PROGUNAVAIL =8,
  RPC_PROGVERSMISMATCH =9,
  RPC_PROCUNAVAIL =10,
  RPC_CANTDECODEARGS =11,
  RPC_SYSTEMERROR =12,
  RPC_UNKNOWNHOST =13,
  RPC_UNKNOWNPROTO =17,
  RPC_PMAPFAILURE =14,
  RPC_PROGNOTREGISTERED =15,
  RPC_FAILED =16
}
 

Functions

__BEGIN_DECLS CLIENTclntraw_create (u_long, u_long)
 
CLIENTclnt_create (char *, u_long, u_long, char *)
 
CLIENTclnttcp_create (struct sockaddr_in *, u_long, u_long, int *, u_int, u_int)
 
CLIENTclntudp_create (struct sockaddr_in *, u_long, u_long, struct timeval, int *)
 
CLIENTclntudp_bufcreate (struct sockaddr_in *, u_long, u_long, struct timeval, int *, u_int, u_int)
 
void clnt_pcreateerror (char *)
 
char * clnt_spcreateerror (char *)
 
void clnt_perrno (enum clnt_stat)
 
char * clnt_sperrno (enum clnt_stat)
 
void clnt_perror (CLIENT *, char *)
 
char * clnt_sperror (CLIENT *, char *)
 
int callrpc (char *host, u_long prognum, u_long versnum, u_long procnum, xdrproc_t inproc, char *in, xdrproc_t outproc, char *out)
 

Variables

struct rpc_createerr rpc_createerr
 

Detailed Description

RPC client-side interface.

Definition in file clnt.h.