ReactOS 0.4.16-dev-297-gc569aee
|
#include <wintirpc.h>
#include <reentrant.h>
#include <errno.h>
#include <string.h>
#include <stdlib.h>
#include <rpc/des_crypt.h>
#include <rpc/types.h>
#include <rpc/auth.h>
#include <rpc/auth_des.h>
#include <rpc/clnt.h>
#include <rpc/xdr.h>
#include <rpcsvc/nis.h>
Go to the source code of this file.
Classes | |
struct | ad_private |
Macros | |
#define | USEC_PER_SEC 1000000 |
#define | RTIME_TIMEOUT 5 /* seconds to wait for sync */ |
#define | AUTH_PRIVATE(auth) (struct ad_private *) auth->ah_private |
#define | ALLOC(object_type) (object_type *) mem_alloc(sizeof(object_type)) |
#define | FREE(ptr, size) mem_free((char *)(ptr), (int) size) |
#define | ATTEMPT(xdr_op) if (!(xdr_op)) return (FALSE) |
Functions | |
bool_t | xdr_authdes_cred (XDR *, struct authdes_cred *) |
bool_t | xdr_authdes_verf (XDR *, struct authdes_verf *) |
int | key_encryptsession_pk () |
bool_t | __rpc_get_time_offset (struct timeval *, nis_server *, char *, char **, char **) |
static void | authdes_nextverf (AUTH *) |
static bool_t | authdes_marshal (AUTH *, XDR *) |
static bool_t | authdes_validate (AUTH *, struct opaque_auth *) |
static bool_t | authdes_refresh (AUTH *, void *) |
static void | authdes_destroy (AUTH *) |
static struct auth_ops * | authdes_ops (void) |
AUTH * | authdes_pk_seccreate (const char *, netobj *, u_int, const char *, const des_block *, nis_server *) |
AUTH * | authdes_seccreate (const char *servername, const u_int win, const char *timehost, const des_block *ckey) |
Definition at line 63 of file auth_des.c.
#define AUTH_PRIVATE | ( | auth | ) | (struct ad_private *) auth->ah_private |
Definition at line 62 of file auth_des.c.
Definition at line 64 of file auth_des.c.
Definition at line 60 of file auth_des.c.
#define USEC_PER_SEC 1000000 |
Definition at line 59 of file auth_des.c.
Referenced by authdes_refresh().
Definition at line 464 of file auth_des.c.
Referenced by authdes_ops().
Definition at line 269 of file auth_des.c.
Referenced by authdes_ops().
Definition at line 259 of file auth_des.c.
Referenced by authdes_ops().
Definition at line 482 of file auth_des.c.
Referenced by authdes_pk_seccreate().
AUTH * authdes_pk_seccreate | ( | const char * | servername, |
netobj * | pkey, | ||
u_int | window, | ||
const char * | timehost, | ||
const des_block * | ckey, | ||
nis_server * | srvr | ||
) |
Definition at line 150 of file auth_des.c.
Referenced by authdes_seccreate().
Definition at line 420 of file auth_des.c.
Referenced by authdes_ops(), and authdes_pk_seccreate().
AUTH * authdes_seccreate | ( | const char * | servername, |
const u_int | win, | ||
const char * | timehost, | ||
const des_block * | ckey | ||
) |
Definition at line 123 of file auth_des.c.
|
static |
Definition at line 361 of file auth_des.c.
Referenced by authdes_ops().
int key_encryptsession_pk | ( | ) |
Referenced by authdes_refresh().
bool_t xdr_authdes_cred | ( | XDR * | xdrs, |
struct authdes_cred * | cred | ||
) |
Definition at line 46 of file authdes_prot.c.
Referenced by authdes_marshal().
bool_t xdr_authdes_verf | ( | XDR * | xdrs, |
struct authdes_verf * | verf | ||
) |
Definition at line 74 of file authdes_prot.c.
Referenced by authdes_marshal().