ReactOS 0.4.15-dev-8096-ga0eec98
crypt.h
Go to the documentation of this file.
1/*
2 * Please do not edit this file.
3 * It was generated using rpcgen.
4 */
5
6#ifndef _CRYPT_H_RPCGEN
7#define _CRYPT_H_RPCGEN
8
9#include <rpc/rpc.h>
10
11#ifndef IXDR_GET_INT32
12#define IXDR_GET_INT32(buf) IXDR_GET_LONG((buf))
13#endif
14#ifndef IXDR_PUT_INT32
15#define IXDR_PUT_INT32(buf, v) IXDR_PUT_LONG((buf), (v))
16#endif
17#ifndef IXDR_GET_U_INT32
18#define IXDR_GET_U_INT32(buf) IXDR_GET_U_LONG((buf))
19#endif
20#ifndef IXDR_PUT_U_INT32
21#define IXDR_PUT_U_INT32(buf, v) IXDR_PUT_U_LONG((buf), (v))
22#endif
23
24enum des_dir {
27};
28typedef enum des_dir des_dir;
29#ifdef __cplusplus
30extern "C" bool_t xdr_des_dir(XDR *, des_dir*);
31#elif __STDC__
32extern bool_t xdr_des_dir(XDR *, des_dir*);
33#else /* Old Style C */
35#endif /* Old Style C */
36
37
41};
42typedef enum des_mode des_mode;
43#ifdef __cplusplus
44extern "C" bool_t xdr_des_mode(XDR *, des_mode*);
45#elif __STDC__
47#else /* Old Style C */
49#endif /* Old Style C */
50
51
52struct desargs {
57 struct {
61};
62typedef struct desargs desargs;
63#ifdef __cplusplus
64extern "C" bool_t xdr_desargs(XDR *, desargs*);
65#elif __STDC__
66extern bool_t xdr_desargs(XDR *, desargs*);
67#else /* Old Style C */
69#endif /* Old Style C */
70
71
72struct desresp {
73 struct {
78 int stat;
79};
80typedef struct desresp desresp;
81#ifdef __cplusplus
82extern "C" bool_t xdr_desresp(XDR *, desresp*);
83#elif __STDC__
84extern bool_t xdr_desresp(XDR *, desresp*);
85#else /* Old Style C */
87#endif /* Old Style C */
88
89
90#define CRYPT_PROG ((u_int32_t)600100029)
91#define CRYPT_VERS ((u_int32_t)1)
92
93#ifdef __cplusplus
94#define DES_CRYPT ((u_int32_t)1)
95extern "C" desresp * des_crypt_1(desargs *, CLIENT *);
96extern "C" desresp * des_crypt_1_svc(desargs *, struct svc_req *);
97
98#elif __STDC__
99#define DES_CRYPT ((u_int32_t)1)
100extern desresp * des_crypt_1(desargs *, CLIENT *);
101extern desresp * des_crypt_1_svc(desargs *, struct svc_req *);
102
103#else /* Old Style C */
104#define DES_CRYPT ((u_int32_t)1)
107#endif /* Old Style C */
108
109#endif /* !_CRYPT_H_RPCGEN */
UINT32 u_int
Definition: types.h:82
int32_t bool_t
Definition: types.h:101
UCHAR u_char
Definition: types.h:80
desresp * des_crypt_1_svc()
des_mode
Definition: crypt.h:38
@ CBC_DES
Definition: crypt.h:39
@ ECB_DES
Definition: crypt.h:40
bool_t xdr_des_dir()
bool_t xdr_des_mode()
bool_t xdr_desargs()
desresp * des_crypt_1()
bool_t xdr_desresp()
des_dir
Definition: crypt.h:24
@ ENCRYPT_DES
Definition: crypt.h:25
@ DECRYPT_DES
Definition: crypt.h:26
Definition: xdr.h:103
Definition: crypt.h:52
des_dir des_dir
Definition: crypt.h:54
u_char des_ivec[8]
Definition: crypt.h:56
des_mode des_mode
Definition: crypt.h:55
u_int desbuf_len
Definition: crypt.h:58
struct desargs::@213 desbuf
char * desbuf_val
Definition: crypt.h:59
Definition: crypt.h:72
int stat
Definition: crypt.h:78
char * desbuf_val
Definition: crypt.h:75
u_int desbuf_len
Definition: crypt.h:74
struct desresp::@214 desbuf
u_char des_ivec[8]
Definition: crypt.h:77
Definition: svc.h:132