ReactOS
0.4.16-dev-125-g798ea90
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
24
enum
des_dir
{
25
ENCRYPT_DES
= 0,
26
DECRYPT_DES
= 1,
27
};
28
typedef
enum
des_dir
des_dir
;
29
#ifdef __cplusplus
30
extern
"C"
bool_t
xdr_des_dir
(
XDR
*,
des_dir
*);
31
#elif __STDC__
32
extern
bool_t
xdr_des_dir
(
XDR
*,
des_dir
*);
33
#else
/* Old Style C */
34
bool_t
xdr_des_dir
();
35
#endif
/* Old Style C */
36
37
38
enum
des_mode
{
39
CBC_DES
= 0,
40
ECB_DES
= 1,
41
};
42
typedef
enum
des_mode
des_mode
;
43
#ifdef __cplusplus
44
extern
"C"
bool_t
xdr_des_mode
(
XDR
*,
des_mode
*);
45
#elif __STDC__
46
extern
bool_t
xdr_des_mode
(
XDR
*,
des_mode
*);
47
#else
/* Old Style C */
48
bool_t
xdr_des_mode
();
49
#endif
/* Old Style C */
50
51
52
struct
desargs
{
53
u_char
des_key
[8];
54
des_dir
des_dir
;
55
des_mode
des_mode
;
56
u_char
des_ivec
[8];
57
struct
{
58
u_int
desbuf_len
;
59
char
*
desbuf_val
;
60
}
desbuf
;
61
};
62
typedef
struct
desargs
desargs
;
63
#ifdef __cplusplus
64
extern
"C"
bool_t
xdr_desargs
(
XDR
*,
desargs
*);
65
#elif __STDC__
66
extern
bool_t
xdr_desargs
(
XDR
*,
desargs
*);
67
#else
/* Old Style C */
68
bool_t
xdr_desargs
();
69
#endif
/* Old Style C */
70
71
72
struct
desresp
{
73
struct
{
74
u_int
desbuf_len
;
75
char
*
desbuf_val
;
76
}
desbuf
;
77
u_char
des_ivec
[8];
78
int
stat
;
79
};
80
typedef
struct
desresp
desresp
;
81
#ifdef __cplusplus
82
extern
"C"
bool_t
xdr_desresp
(
XDR
*,
desresp
*);
83
#elif __STDC__
84
extern
bool_t
xdr_desresp
(
XDR
*,
desresp
*);
85
#else
/* Old Style C */
86
bool_t
xdr_desresp
();
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)
95
extern
"C"
desresp
*
des_crypt_1
(
desargs
*,
CLIENT
*);
96
extern
"C"
desresp
*
des_crypt_1_svc
(
desargs
*,
struct
svc_req
*);
97
98
#elif __STDC__
99
#define DES_CRYPT ((u_int32_t)1)
100
extern
desresp
*
des_crypt_1
(
desargs
*,
CLIENT
*);
101
extern
desresp
*
des_crypt_1_svc
(
desargs
*,
struct
svc_req
*);
102
103
#else
/* Old Style C */
104
#define DES_CRYPT ((u_int32_t)1)
105
extern
desresp
*
des_crypt_1
();
106
extern
desresp
*
des_crypt_1_svc
();
107
#endif
/* Old Style C */
108
109
#endif
/* !_CRYPT_H_RPCGEN */
rpc.h
u_int
UINT32 u_int
Definition:
types.h:82
bool_t
int32_t bool_t
Definition:
types.h:101
u_char
UCHAR u_char
Definition:
types.h:80
des_crypt_1_svc
desresp * des_crypt_1_svc()
des_mode
des_mode
Definition:
crypt.h:38
CBC_DES
@ CBC_DES
Definition:
crypt.h:39
ECB_DES
@ ECB_DES
Definition:
crypt.h:40
xdr_des_dir
bool_t xdr_des_dir()
xdr_des_mode
bool_t xdr_des_mode()
xdr_desargs
bool_t xdr_desargs()
des_crypt_1
desresp * des_crypt_1()
xdr_desresp
bool_t xdr_desresp()
des_dir
des_dir
Definition:
crypt.h:24
ENCRYPT_DES
@ ENCRYPT_DES
Definition:
crypt.h:25
DECRYPT_DES
@ DECRYPT_DES
Definition:
crypt.h:26
__rpc_client
Definition:
clnt.h:121
__rpc_xdr
Definition:
xdr.h:103
desargs
Definition:
crypt.h:52
desargs::des_dir
des_dir des_dir
Definition:
crypt.h:54
desargs::des_ivec
u_char des_ivec[8]
Definition:
crypt.h:56
desargs::des_mode
des_mode des_mode
Definition:
crypt.h:55
desargs::desbuf_len
u_int desbuf_len
Definition:
crypt.h:58
desargs::desbuf_val
char * desbuf_val
Definition:
crypt.h:59
desargs::desbuf
struct desargs::@205 desbuf
desresp
Definition:
crypt.h:72
desresp::stat
int stat
Definition:
crypt.h:78
desresp::desbuf_val
char * desbuf_val
Definition:
crypt.h:75
desresp::desbuf_len
u_int desbuf_len
Definition:
crypt.h:74
desresp::des_ivec
u_char des_ivec[8]
Definition:
crypt.h:77
desresp::desbuf
struct desresp::@206 desbuf
svc_req
Definition:
svc.h:132
tag_des_key
Definition:
tomcrypt.h:124
dll
3rdparty
libtirpc
tirpc
rpcsvc
crypt.h
Generated on Mon Oct 14 2024 06:13:04 for ReactOS by
1.9.6