xref: /reactos/dll/3rdparty/libtirpc/tirpc/rpcsvc/nis.h (revision c2c66aff)
1 #ifndef _RPCSVC_NIS_H
2 #define _RPCSVC_NIS_H
3 
4 #define NIS_PK_NONE		0	/* no public key (unix/sys auth) */
5 #define NIS_PK_DH		1	/* Public key is Diffie-Hellman type */
6 #define NIS_PK_RSA		2	/* Public key is RSA type */
7 #define NIS_PK_KERB		3	/* Use kerberos style authentication */
8 
9 typedef char * nis_name;
10 struct endpoint {
11 	char *uaddr;
12 	char *family;
13 	char *proto;
14 };
15 typedef struct endpoint endpoint;
16 
17 struct nis_server{
18 	nis_name name;
19 	struct {
20 		u_int ep_len;
21 		endpoint *ep_val;
22 	} ep;
23 	uint32_t key_type;
24 	netobj pkey;
25 };
26 typedef struct nis_server nis_server;
27 
28 #endif	/* !_RPCSVC_NIS_H */
29 
30