Main Page   Modules   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

/projects/cubeos/src_current/net/rpc/xdr_rec.c File Reference

#include <stdio.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
#include <netinet/in.h>
#include <string.h>

Include dependency graph for xdr_rec.c:

Go to the source code of this file.

Compounds

struct  rec_strm

Defines

#define LAST_FRAG   ((u_long)(1 << 31))

Typedefs

typedef rec_strm RECSTREAM

Functions

long lseek ()
u_int fix_buf_size ()
bool_t xdrrec_getlong ()
bool_t xdrrec_putlong ()
bool_t xdrrec_getbytes ()
bool_t xdrrec_putbytes ()
u_int xdrrec_getpos ()
bool_t xdrrec_setpos ()
long * xdrrec_inline ()
void xdrrec_destroy ()
void xdrrec_create (xdrs, sendsize, recvsize, tcp_handle, readit, writeit) register XDR *xdrs

Variables

xdr_ops xdrrec_ops
register u_int sendsize
register u_int recvsize
caddr_t tcp_handle
int(* readit )()
int(* writeit )()
long * lp
register caddr_t addr
register u_int len
u_int pos
bool_t sendnow
bool_t eor
long cnt


Detailed Description

Definition in file xdr_rec.c.


Define Documentation

#define LAST_FRAG   ((u_long)(1 << 31))
 

Definition at line 99 of file xdr_rec.c.


Typedef Documentation

typedef struct rec_strm RECSTREAM
 


Function Documentation

u_int fix_buf_size   [static]
 

long lseek  
 

void xdrrec_create xdrs   ,
sendsize   ,
recvsize   ,
tcp_handle   ,
readit   ,
writeit   
 

void xdrrec_destroy   [static]
 

bool_t xdrrec_getbytes   [static]
 

bool_t xdrrec_getlong   [static]
 

u_int xdrrec_getpos   [static]
 

long* xdrrec_inline   [static]
 

bool_t xdrrec_putbytes   [static]
 

bool_t xdrrec_putlong   [static]
 

bool_t xdrrec_setpos   [static]
 


Variable Documentation

register caddr_t addr
 

Definition at line 520 of file xdr_rec.c.

long cnt
 

Definition at line 558 of file xdr_rec.c.

bool_t eor
 

Definition at line 481 of file xdr_rec.c.

register int len
 

Definition at line 521 of file xdr_rec.c.

long* lp
 

Definition at line 222 of file xdr_rec.c.

u_int pos
 

Definition at line 325 of file xdr_rec.c.

int(* readit)()
 

Definition at line 142 of file xdr_rec.c.

register u_int recvsize
 

Definition at line 140 of file xdr_rec.c.

bool_t sendnow
 

Definition at line 455 of file xdr_rec.c.

register u_int sendsize
 

Definition at line 139 of file xdr_rec.c.

caddr_t tcp_handle
 

Definition at line 141 of file xdr_rec.c.

int(* writeit)()
 

Definition at line 143 of file xdr_rec.c.

struct xdr_ops xdrrec_ops [static]
 

Initial value:

{
        xdrrec_getlong,
        xdrrec_putlong,
        xdrrec_getbytes,
        xdrrec_putbytes,
        xdrrec_getpos,
        xdrrec_setpos,
        xdrrec_inline,
        xdrrec_destroy
}

Definition at line 74 of file xdr_rec.c.


Generated on Thu Feb 20 15:38:59 2003 for cubeOS by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002