diff options
author | Neil Brown <neilb@suse.de> | 2006-07-05 10:41:03 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-07-05 10:41:03 +1000 |
commit | 9f5b40b7a68fe0a2648565ecbd4b08bf60287130 (patch) | |
tree | afc9c851a90f7b9ab5d77bbb1f9e94deb4649574 /utils | |
parent | fbb1602bbd34cbe89dd55ca6eaaa19432237db1d (diff) | |
download | nfs-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 'utils')
-rw-r--r-- | utils/mountd/mount_xdr.c | 81 | ||||
-rw-r--r-- | utils/rquotad/Makefile.am | 2 | ||||
-rw-r--r-- | utils/rquotad/pathnames.h | 39 |
3 files changed, 1 insertions, 121 deletions
diff --git a/utils/mountd/mount_xdr.c b/utils/mountd/mount_xdr.c deleted file mode 100644 index a0fefcb..0000000 --- a/utils/mountd/mount_xdr.c +++ /dev/null @@ -1,81 +0,0 @@ -/* - * mount_xdr XDR procedures for mountd. - * - * Originally generated by rpcgen; edited to get rid of warnings. - */ - -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - -#include <mount.h> - -inline bool_t -xdr_fhandle(XDR *xdrs, fhandle objp) -{ - return xdr_opaque(xdrs, objp, FHSIZE); -} - -bool_t -xdr_fhstatus(XDR *xdrs, fhstatus *objp) -{ - return xdr_u_int(xdrs, &objp->fhs_status) && - (objp->fhs_status != 0 || - xdr_fhandle(xdrs, objp->fhstatus_u.fhs_fhandle)); -} - -bool_t -xdr_dirpath(XDR *xdrs, dirpath *objp) -{ - return xdr_string(xdrs, objp, MNTPATHLEN); -} - -inline bool_t -xdr_name(XDR *xdrs, name *objp) -{ - return xdr_string(xdrs, objp, MNTPATHLEN); -} - -bool_t -xdr_mountlist(XDR *xdrs, mountlist *objp) -{ - return xdr_pointer(xdrs, (char **)objp, sizeof(struct mountbody), - (xdrproc_t)xdr_mountbody); -} - -bool_t -xdr_mountbody(XDR *xdrs, mountbody *objp) -{ - return xdr_name(xdrs, &objp->ml_hostname) && - xdr_dirpath(xdrs, &objp->ml_directory) && - xdr_mountlist(xdrs, &objp->ml_next); -} - -bool_t -xdr_groups(XDR *xdrs, groups *objp) -{ - return xdr_pointer(xdrs, (char **)objp, sizeof(struct groupnode), - (xdrproc_t)xdr_groupnode); -} - -bool_t -xdr_groupnode(XDR *xdrs, groupnode *objp) -{ - return xdr_name(xdrs, &objp->gr_name) && - xdr_groups(xdrs, &objp->gr_next); -} - -bool_t -xdr_exports(XDR *xdrs, exports *objp) -{ - return xdr_pointer(xdrs, (char **)objp, sizeof(struct exportnode), - (xdrproc_t)xdr_exportnode); -} - -bool_t -xdr_exportnode(XDR *xdrs, exportnode *objp) -{ - return xdr_dirpath(xdrs, &objp->ex_dir) && - xdr_groups(xdrs, &objp->ex_groups) && - xdr_exports(xdrs, &objp->ex_next); -} diff --git a/utils/rquotad/Makefile.am b/utils/rquotad/Makefile.am index b478fad..8e3e634 100644 --- a/utils/rquotad/Makefile.am +++ b/utils/rquotad/Makefile.am @@ -9,7 +9,7 @@ sbin_PROGRAMS = rquotad EXTRA_DIST = rquota.x $(man8_MANS) NEW README.okir rquotad_SOURCES = rquota_server.c rquota_svc.c rquota_xdr.c quotactl.c \ - hasquota.c mntent.h pathnames.h rquota.h + hasquota.c mntent.h rquota.h rquotad_LDADD = ../../support/export/libexport.a \ ../../support/nfs/libnfs.a \ ../../support/misc/libmisc.a \ diff --git a/utils/rquotad/pathnames.h b/utils/rquotad/pathnames.h deleted file mode 100644 index 6604a18..0000000 --- a/utils/rquotad/pathnames.h +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright (c) 1989 The Regents of the University of California. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * @@(#)pathnames.h 5.3 (Berkeley) 6/1/90 - */ - -#include <paths.h> - -#undef _PATH_TMP -#define _PATH_TMP "/tmp/EdP.aXXXXXX" |