summaryrefslogtreecommitdiffstats
path: root/support/include/rpcsec.h
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-07-05 10:41:03 +1000
committerNeil Brown <neilb@suse.de>2006-07-05 10:41:03 +1000
commit9f5b40b7a68fe0a2648565ecbd4b08bf60287130 (patch)
treeafc9c851a90f7b9ab5d77bbb1f9e94deb4649574 /support/include/rpcsec.h
parentfbb1602bbd34cbe89dd55ca6eaaa19432237db1d (diff)
downloadnfs-utils-9f5b40b7a68fe0a2648565ecbd4b08bf60287130.tar.gz
nfs-utils-9f5b40b7a68fe0a2648565ecbd4b08bf60287130.tar.xz
nfs-utils-9f5b40b7a68fe0a2648565ecbd4b08bf60287130.zip
Remove some files that old, unused, unneeded.
deleted: support/export/keys.c deleted: support/include/rpcdispatch.h deleted: support/include/rpcsec.h deleted: support/include/version.h deleted: support/include/ypupdate.h deleted: support/nfs/clients.c deleted: support/nfs/keytab.c deleted: support/nfs/ypupdate_xdr.c deleted: support/rpc/include/Makefile.am deleted: tools/rpcdebug/neat_idea.c deleted: utils/mountd/mount_xdr.c deleted: utils/rquotad/pathnames.h
Diffstat (limited to 'support/include/rpcsec.h')
-rw-r--r--support/include/rpcsec.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/support/include/rpcsec.h b/support/include/rpcsec.h
deleted file mode 100644
index 84d4497..0000000
--- a/support/include/rpcsec.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Declarations needed for the authdes library. Some of the functions
- * mentioned herein have been omitted from the Linux libc header files
- */
-
-#ifndef RPCSEC_H
-#define RPCSEC_H
-
-int netname2user(char *netname, int *uidp, int *gidp,
- int *gidlenp, int *gidlist);
-int netname2host(char *netname, char *hostname, int hostlen);
-int getnetname(char *name);
-int user2netname(char *netname, int uid, char *domain);
-int host2netname(char *netname, char *hostname, char *domain);
-void passwd2des(char *pw, char *key);
-int getsecretkey(char *netname, char *secretkey, char *passwd);
-int getpublickey(char *hostname, char *publickey);
-int yp_update(char *domain, char *map, unsigned int ypop,
- char *key, int keylen, char *data, int datalen);
-int key_setsecret(char *secret);
-int xencrypt(char *secret, char *passwd);
-int xdecrypt(char *secret, char *passwd);
-
-
-#define PUBLICKEY_MAP "publickey.byname"
-#define NETID_MAP "netid.byname"
-
-#ifndef DEBUG
-#define RPCSEC_BASE "/etc/"
-#else
-#define RPCSEC_BASE "/tmp/"
-#endif
-
-#define PUBLICKEY_FILE RPCSEC_BASE "publickey"
-#define PUBLICKEY_LOCK RPCSEC_BASE "publickey.lock"
-#define ROOTKEY_FILE RPCSEC_BASE ".rootkey"
-#define KEYSTORE_FILE RPCSEC_BASE "keystore"
-
-#endif /* RPCSEC_H */