Back to index

glibc  2.9
Classes | Defines | Functions
auth_unix.h File Reference
#include <features.h>
#include <sys/types.h>
#include <rpc/types.h>
#include <rpc/auth.h>
#include <rpc/xdr.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  authunix_parms
struct  short_hand_verf


#define MAX_MACHINE_NAME   255
#define NGRPS   16


bool_t xdr_authunix_parms (XDR *__xdrs, struct authunix_parms *__p) __THROW

Class Documentation

struct authunix_parms

Definition at line 65 of file auth_unix.h.

Class Members
__gid_t aup_gid
__gid_t * aup_gids
u_int aup_len
char * aup_machname
u_long aup_time
__uid_t aup_uid
struct short_hand_verf

Definition at line 83 of file auth_unix.h.

Define Documentation

#define MAX_MACHINE_NAME   255

Definition at line 57 of file auth_unix.h.

#define NGRPS   16

Definition at line 60 of file auth_unix.h.

Function Documentation

bool_t xdr_authunix_parms ( XDR __xdrs,
struct authunix_parms __p 

Definition at line 47 of file authuxprot.c.

  if (INTUSE(xdr_u_long) (xdrs, &(p->aup_time))
      && INTUSE(xdr_string) (xdrs, &(p->aup_machname), MAX_MACHINE_NAME)
      && (sizeof (uid_t) == sizeof (short int)
         ? INTUSE(xdr_u_short) (xdrs, (u_short *) & (p->aup_uid))
         : INTUSE(xdr_u_int) (xdrs, (u_int *) & (p->aup_uid)))
      && (sizeof (gid_t) == sizeof (short int)
         ? INTUSE(xdr_u_short) (xdrs, (u_short *) & (p->aup_gid))
         : INTUSE(xdr_u_int) (xdrs, (u_int *) & (p->aup_gid)))
      && INTUSE(xdr_array) (xdrs, (caddr_t *) & (p->aup_gids),
                         & (p->aup_len), NGRPS, sizeof (gid_t),
                         (sizeof (gid_t) == sizeof (short int)
                          ? (xdrproc_t) INTUSE(xdr_u_short)
                          : (xdrproc_t) INTUSE(xdr_u_int))))
      return TRUE;
  return FALSE;

Here is the call graph for this function:

Here is the caller graph for this function: