Merge branch 'misc'
[dragonfly.git] / usr.sbin / keyserv / keyserv.h
blob8d69a656dd83ec8eb9a6931d0894542264a755f6
1 /*
2 * $DragonFly: src/usr.sbin/keyserv/keyserv.h,v 1.6 2006/08/03 16:40:48 swildner Exp $
3 */
5 extern void setmodulus(char *modx);
7 extern keystatus pk_setkey( uid_t, keybuf );
8 extern keystatus pk_encrypt( uid_t, char *, netobj *, des_block * );
9 extern keystatus pk_decrypt( uid_t, char *, netobj *, des_block * );
10 extern keystatus pk_netput( uid_t, key_netstarg * );
11 extern keystatus pk_netget( uid_t, key_netstarg * );
12 extern keystatus pk_get_conv_key( uid_t, keybuf, cryptkeyres * );
13 extern void pk_nodefaultkeys( void );
15 extern int __rpc_get_local_uid( uid_t * , SVCXPRT * );
16 extern void crypt_prog_1( struct svc_req *, SVCXPRT * );
17 extern void load_des( int, char * );
19 extern int (*_my_crypt)( char *, int, struct desparams * );