nfs-ganesha 1.4
|
nfs conversion tools. More...
#include <limits.h>
#include <string.h>
#include <sys/stat.h>
#include "cmd_nfstools.h"
#include "abstract_mem.h"
#include "nfs23.h"
#include "nfs4.h"
#include "mount.h"
#include "nfs_proto_functions.h"
#include "nfs_tools.h"
#include "nfs_proto_tools.h"
#include "nfs_file_handle.h"
#include "cmd_tools.h"
Go to the source code of this file.
Defines | |
#define | SIZE_STR_NFSHANDLE2 (2 * NFS2_FHSIZE + 1) |
#define | SIZE_STR_NFSHANDLE3 (2 * NFS3_FHSIZE + 1) |
#define | MNT_HANDLE(p_mount_res3) ( (p_mount_res3)->mountres3_u.mountinfo.fhandle ) |
#define | AUTH_FLAVORS(p_mount_res3) ( (p_mount_res3)->mountres3_u.mountinfo.auth_flavors ) |
#define | ATTR2_ATTRIBUTES(_p_attr2res) ( (_p_attr2res)->ATTR2res_u.attributes ) |
#define | DIROP2_HANDLE(_p_dirop) ( (_p_dirop)->DIROP2res_u.diropok.file ) |
#define | DIROP2_ATTRIBUTES(_p_dirop) ( (_p_dirop)->DIROP2res_u.diropok.attributes ) |
#define | READLINKRES_PATH(_p_rl2res) ( (_p_rl2res)->READLINK2res_u.data ) |
#define | GETATTR3_ATTRIBUTES(_p_GETATTR3res) ( (_p_GETATTR3res)->GETATTR3res_u.resok.obj_attributes ) |
#define | LOOKUP3_OK_HANDLE(_p_LOOKUP3res) ( (_p_LOOKUP3res)->LOOKUP3res_u.resok.object ) |
#define | LOOKUP3_OK_OBJATTR(_p_LOOKUP3res) ( (_p_LOOKUP3res)->LOOKUP3res_u.resok.obj_attributes ) |
#define | LOOKUP3_OK_DIRATTR(_p_LOOKUP3res) ( (_p_LOOKUP3res)->LOOKUP3res_u.resok.dir_attributes ) |
#define | LOOKUP3_FAIL_DIRATTR(_p_LOOKUP3res) ( (_p_LOOKUP3res)->LOOKUP3res_u.resfail.dir_attributes ) |
#define | READDIR3_OK(_p_READDIR3res) ( (_p_READDIR3res)->READDIR3res_u.resok ) |
#define | READDIR3_FAIL(_p_READDIR3res) ( (_p_READDIR3res)->READDIR3res_u.resfail ) |
#define | READDIRPLUS3_OK(_p_READDIRPLUS3res) ( (_p_READDIRPLUS3res)->READDIRPLUS3res_u.resok ) |
#define | READDIRPLUS3_FAIL(_p_READDIRPLUS3res) ( (_p_READDIRPLUS3res)->READDIRPLUS3res_u.resfail ) |
#define | READLINK3_OK_ATTRS(_p_READLINK3res) ( (_p_READLINK3res)->READLINK3res_u.resok.symlink_attributes ) |
#define | READLINK3_OK_DATA(_p_READLINK3res) ( (_p_READLINK3res)->READLINK3res_u.resok.data ) |
#define | READLINK3_FAIL_ATTRS(_p_READLINK3res) ( (_p_READLINK3res)->READLINK3res_u.resfail.symlink_attributes ) |
#define | FSSTAT3_OK(_p_FSSTAT3res) ( (_p_FSSTAT3res)->FSSTAT3res_u.resok ) |
#define | FSSTAT3_FAIL_ATTRS(_p_FSSTAT3res) ( (_p_FSSTAT3res)->FSSTAT3res_u.resfail.obj_attributes ) |
#define | ACCESS3_OK_ATTRS(_p_ACCESS3res) ( (_p_ACCESS3res)->ACCESS3res_u.resok.obj_attributes ) |
#define | ACCESS3_OK_ACCESS(_p_ACCESS3res) ( (_p_ACCESS3res)->ACCESS3res_u.resok.access ) |
#define | ACCESS3_FAIL_ATTRS(_p_ACCESS3res) ( (_p_ACCESS3res)->ACCESS3res_u.resfail.obj_attributes ) |
#define | CREATE3_OK_FH(_p_CREATE3res) ( (_p_CREATE3res)->CREATE3res_u.resok.obj ) |
#define | CREATE3_OK_ATTRS(_p_CREATE3res) ( (_p_CREATE3res)->CREATE3res_u.resok.obj_attributes ) |
#define | CREATE3_OK_WCC(_p_CREATE3res) ( (_p_CREATE3res)->CREATE3res_u.resok.dir_wcc ) |
#define | CREATE3_FAIL_WCC(_p_CREATE3res) ( (_p_CREATE3res)->CREATE3res_u.resfail.dir_wcc ) |
#define | MKDIR3_OK_FH(_p_MKDIR3res) ( (_p_MKDIR3res)->MKDIR3res_u.resok.obj ) |
#define | MKDIR3_OK_ATTRS(_p_MKDIR3res) ( (_p_MKDIR3res)->MKDIR3res_u.resok.obj_attributes ) |
#define | MKDIR3_OK_WCC(_p_MKDIR3res) ( (_p_MKDIR3res)->MKDIR3res_u.resok.dir_wcc ) |
#define | MKDIR3_FAIL_WCC(_p_MKDIR3res) ( (_p_MKDIR3res)->MKDIR3res_u.resfail.dir_wcc ) |
#define | REMOVE3_OK_WCC(_p_REMOVE3res) ( (_p_REMOVE3res)->REMOVE3res_u.resok.dir_wcc ) |
#define | REMOVE3_FAIL_WCC(_p_REMOVE3res) ( (_p_REMOVE3res)->REMOVE3res_u.resfail.dir_wcc ) |
#define | RMDIR3_OK_WCC(_p_RMDIR3res) ( (_p_RMDIR3res)->RMDIR3res_u.resok.dir_wcc ) |
#define | RMDIR3_FAIL_WCC(_p_RMDIR3res) ( (_p_RMDIR3res)->RMDIR3res_u.resfail.dir_wcc ) |
#define | SETATTR3_OK_WCC(_p_SETATTR3res) ( (_p_SETATTR3res)->SETATTR3res_u.resok.obj_wcc ) |
#define | SETATTR3_FAIL_WCC(_p_SETATTR3res) ( (_p_SETATTR3res)->SETATTR3res_u.resfail.obj_wcc ) |
#define | RENAME3_OK_FROMWCC(_p_RENAME3res) ( (_p_RENAME3res)->RENAME3res_u.resok.fromdir_wcc ) |
#define | RENAME3_OK_TOWCC(_p_RENAME3res) ( (_p_RENAME3res)->RENAME3res_u.resok.todir_wcc ) |
#define | RENAME3_FAIL_FROMWCC(_p_RENAME3res) ( (_p_RENAME3res)->RENAME3res_u.resfail.fromdir_wcc ) |
#define | RENAME3_FAIL_TOWCC(_p_RENAME3res) ( (_p_RENAME3res)->RENAME3res_u.resfail.todir_wcc ) |
#define | LINK3_OK_ATTRS(_p_LINK3res) ( (_p_LINK3res)->LINK3res_u.resok.file_attributes ) |
#define | LINK3_OK_WCC(_p_LINK3res) ( (_p_LINK3res)->LINK3res_u.resok.linkdir_wcc ) |
#define | LINK3_FAIL_ATTRS(_p_LINK3res) ( (_p_LINK3res)->LINK3res_u.resfail.file_attributes ) |
#define | LINK3_FAIL_WCC(_p_LINK3res) ( (_p_LINK3res)->LINK3res_u.resfail.linkdir_wcc ) |
#define | SYMLINK3_OK_FH(_p_SYMLINK3res) ( (_p_SYMLINK3res)->SYMLINK3res_u.resok.obj ) |
#define | SYMLINK3_OK_ATTRS(_p_SYMLINK3res) ( (_p_SYMLINK3res)->SYMLINK3res_u.resok.obj_attributes ) |
#define | SYMLINK3_OK_WCC(_p_SYMLINK3res) ( (_p_SYMLINK3res)->SYMLINK3res_u.resok.dir_wcc ) |
#define | SYMLINK3_FAIL_WCC(_p_SYMLINK3res) ( (_p_SYMLINK3res)->SYMLINK3res_u.resfail.dir_wcc ) |
#define | FSINFO3_OK_ATTRS(_p_FSINFO3res) ( (_p_FSINFO3res)->FSINFO3res_u.resok.obj_attributes ) |
#define | FSINFO3_OK_INFO(_p_FSINFO3res) ( (_p_FSINFO3res)->FSINFO3res_u.resok ) |
#define | FSINFO3_FAIL_ATTRS(_p_FSINFO3res) ( (_p_FSINFO3res)->FSINFO3res_u.resfail.obj_attributes ) |
#define | PATHCONF3_OK_ATTRS(_p_PATHCONF3res) ( (_p_PATHCONF3res)->PATHCONF3res_u.resok.obj_attributes ) |
#define | PATHCONF3_OK_INFO(_p_PATHCONF3res) ( (_p_PATHCONF3res)->PATHCONF3res_u.resok ) |
#define | PATHCONF3_FAIL_ATTRS(_p_PATHCONF3res) ( (_p_PATHCONF3res)->PATHCONF3res_u.resfail.obj_attributes ) |
#define | print_mask(_out, _mode, _mask, _lettre) |
Functions | |
int | get_rpc_xid () |
void * | rpc_tcp_socket_manager_thread (void *Arg) |
int | cmdnfs_void (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_dirpath (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_fhandle2 (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_fhstatus2 (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_STATFS2res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_mountlist (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_exports (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_fhandle3 (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_mountres3 (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_nfsstat2 (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_fattr2 (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_ATTR2res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_DIROP2res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_diropargs2 (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_READLINK2res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_sattr2 (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_CREATE2args (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_SETATTR2args (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_READDIR2args (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_READDIR2res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_RENAME2args (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_nfsstat3 (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_fattr3 (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_sattr3 (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_GETATTR3res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_diropargs3 (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_postopattr (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_postopfh3 (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_LOOKUP3res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_READDIR3args (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_READDIR3res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_READDIRPLUS3args (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_READDIRPLUS3res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_READLINK3res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_FSSTAT3res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_ACCESS3args (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_ACCESS3res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_CREATE3args (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_preopattr (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_wccdata (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_CREATE3res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_MKDIR3args (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_MKDIR3res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_REMOVE3res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_RMDIR3res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_sattrguard3 (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_SETATTR3args (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_SETATTR3res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_RENAME3args (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_RENAME3res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_LINK3args (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_LINK3res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_SYMLINK3args (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_SYMLINK3res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_FSINFO3res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
int | cmdnfs_PATHCONF3res (cmdnfs_encodetype_t encodeflag, int argc, char **argv, int indent, FILE *out_stream, caddr_t p_nfs_struct) |
void | print_nfsitem_line (FILE *out, fattr3 *attrib, char *name, char *target) |
void | print_nfs_attributes (fattr3 *attrs, FILE *output) |
nfs conversion tools.
Revision 1.24 2006/02/17 13:37:44 leibovic Ghost FS is back !
Revision 1.23 2006/01/31 12:25:42 leibovic Fixing a minor display bug.
Revision 1.22 2006/01/18 08:02:04 deniel Order in includes and libraries
Revision 1.21 2006/01/18 07:29:11 leibovic Fixing bugs about exportlists.
Revision 1.19 2005/10/12 11:30:10 leibovic NFSv2.
Revision 1.18 2005/10/07 08:30:43 leibovic nfs2_rename + New FSAL init functions.
Revision 1.17 2005/09/30 14:30:43 leibovic Adding nfs2_readdir commqnd.
Revision 1.16 2005/09/30 06:56:55 leibovic Adding nfs2_setattr command.
Revision 1.15 2005/09/30 06:46:00 leibovic New create2 and mkdir2 args format.
Revision 1.14 2005/09/28 09:08:00 leibovic thread-safe version of localtime.
Revision 1.13 2005/08/30 13:22:26 leibovic Addind nfs3_fsinfo et nfs3_pathconf functions.
Revision 1.12 2005/08/10 14:55:05 leibovic NFS support of setattr, rename, link, symlink.
Revision 1.11 2005/08/10 10:57:17 leibovic Adding removal functions.
Revision 1.10 2005/08/09 14:52:57 leibovic Addinf create and mkdir commands.
Revision 1.9 2005/08/08 11:42:49 leibovic Adding some stardard unix calls through NFS (ls, cd, pwd).
Revision 1.8 2005/08/05 15:17:56 leibovic Adding mount and pwd commands for browsing.
Revision 1.7 2005/08/05 10:42:38 leibovic Adding readdirplus.
Revision 1.6 2005/08/05 08:59:32 leibovic Adding explicit strings for type and NFS status.
Revision 1.5 2005/08/05 07:59:07 leibovic some nfs3 commands added.
Revision 1.4 2005/08/04 06:57:41 leibovic some NFSv2 commands are completed.
Revision 1.3 2005/08/03 12:51:16 leibovic MNT3 protocol OK.
Revision 1.2 2005/08/03 11:51:09 leibovic MNT1 protocol OK.
Revision 1.1 2005/08/03 08:16:23 leibovic Adding nfs layer structures.
Definition in file cmd_nfstools.c.
#define ACCESS3_FAIL_ATTRS | ( | _p_ACCESS3res | ) | ( (_p_ACCESS3res)->ACCESS3res_u.resfail.obj_attributes ) |
Definition at line 2790 of file cmd_nfstools.c.
#define ACCESS3_OK_ACCESS | ( | _p_ACCESS3res | ) | ( (_p_ACCESS3res)->ACCESS3res_u.resok.access ) |
Definition at line 2789 of file cmd_nfstools.c.
#define ACCESS3_OK_ATTRS | ( | _p_ACCESS3res | ) | ( (_p_ACCESS3res)->ACCESS3res_u.resok.obj_attributes ) |
Definition at line 2788 of file cmd_nfstools.c.
#define ATTR2_ATTRIBUTES | ( | _p_attr2res | ) | ( (_p_attr2res)->ATTR2res_u.attributes ) |
Definition at line 761 of file cmd_nfstools.c.
#define AUTH_FLAVORS | ( | p_mount_res3 | ) | ( (p_mount_res3)->mountres3_u.mountinfo.auth_flavors ) |
Definition at line 594 of file cmd_nfstools.c.
#define CREATE3_FAIL_WCC | ( | _p_CREATE3res | ) | ( (_p_CREATE3res)->CREATE3res_u.resfail.dir_wcc ) |
Definition at line 3061 of file cmd_nfstools.c.
#define CREATE3_OK_ATTRS | ( | _p_CREATE3res | ) | ( (_p_CREATE3res)->CREATE3res_u.resok.obj_attributes ) |
Definition at line 3059 of file cmd_nfstools.c.
#define CREATE3_OK_FH | ( | _p_CREATE3res | ) | ( (_p_CREATE3res)->CREATE3res_u.resok.obj ) |
Definition at line 3058 of file cmd_nfstools.c.
#define CREATE3_OK_WCC | ( | _p_CREATE3res | ) | ( (_p_CREATE3res)->CREATE3res_u.resok.dir_wcc ) |
Definition at line 3060 of file cmd_nfstools.c.
#define DIROP2_ATTRIBUTES | ( | _p_dirop | ) | ( (_p_dirop)->DIROP2res_u.diropok.attributes ) |
Definition at line 815 of file cmd_nfstools.c.
#define DIROP2_HANDLE | ( | _p_dirop | ) | ( (_p_dirop)->DIROP2res_u.diropok.file ) |
Definition at line 814 of file cmd_nfstools.c.
#define FSINFO3_FAIL_ATTRS | ( | _p_FSINFO3res | ) | ( (_p_FSINFO3res)->FSINFO3res_u.resfail.obj_attributes ) |
Definition at line 4041 of file cmd_nfstools.c.
#define FSINFO3_OK_ATTRS | ( | _p_FSINFO3res | ) | ( (_p_FSINFO3res)->FSINFO3res_u.resok.obj_attributes ) |
Definition at line 4039 of file cmd_nfstools.c.
#define FSINFO3_OK_INFO | ( | _p_FSINFO3res | ) | ( (_p_FSINFO3res)->FSINFO3res_u.resok ) |
Definition at line 4040 of file cmd_nfstools.c.
#define FSSTAT3_FAIL_ATTRS | ( | _p_FSSTAT3res | ) | ( (_p_FSSTAT3res)->FSSTAT3res_u.resfail.obj_attributes ) |
Definition at line 2640 of file cmd_nfstools.c.
#define FSSTAT3_OK | ( | _p_FSSTAT3res | ) | ( (_p_FSSTAT3res)->FSSTAT3res_u.resok ) |
Definition at line 2639 of file cmd_nfstools.c.
#define GETATTR3_ATTRIBUTES | ( | _p_GETATTR3res | ) | ( (_p_GETATTR3res)->GETATTR3res_u.resok.obj_attributes ) |
Definition at line 1787 of file cmd_nfstools.c.
#define LINK3_FAIL_ATTRS | ( | _p_LINK3res | ) | ( (_p_LINK3res)->LINK3res_u.resfail.file_attributes ) |
Definition at line 3796 of file cmd_nfstools.c.
#define LINK3_FAIL_WCC | ( | _p_LINK3res | ) | ( (_p_LINK3res)->LINK3res_u.resfail.linkdir_wcc ) |
Definition at line 3797 of file cmd_nfstools.c.
#define LINK3_OK_ATTRS | ( | _p_LINK3res | ) | ( (_p_LINK3res)->LINK3res_u.resok.file_attributes ) |
Definition at line 3794 of file cmd_nfstools.c.
#define LINK3_OK_WCC | ( | _p_LINK3res | ) | ( (_p_LINK3res)->LINK3res_u.resok.linkdir_wcc ) |
Definition at line 3795 of file cmd_nfstools.c.
#define LOOKUP3_FAIL_DIRATTR | ( | _p_LOOKUP3res | ) | ( (_p_LOOKUP3res)->LOOKUP3res_u.resfail.dir_attributes ) |
Definition at line 1956 of file cmd_nfstools.c.
#define LOOKUP3_OK_DIRATTR | ( | _p_LOOKUP3res | ) | ( (_p_LOOKUP3res)->LOOKUP3res_u.resok.dir_attributes ) |
Definition at line 1955 of file cmd_nfstools.c.
#define LOOKUP3_OK_HANDLE | ( | _p_LOOKUP3res | ) | ( (_p_LOOKUP3res)->LOOKUP3res_u.resok.object ) |
Definition at line 1953 of file cmd_nfstools.c.
#define LOOKUP3_OK_OBJATTR | ( | _p_LOOKUP3res | ) | ( (_p_LOOKUP3res)->LOOKUP3res_u.resok.obj_attributes ) |
Definition at line 1954 of file cmd_nfstools.c.
#define MKDIR3_FAIL_WCC | ( | _p_MKDIR3res | ) | ( (_p_MKDIR3res)->MKDIR3res_u.resfail.dir_wcc ) |
Definition at line 3206 of file cmd_nfstools.c.
#define MKDIR3_OK_ATTRS | ( | _p_MKDIR3res | ) | ( (_p_MKDIR3res)->MKDIR3res_u.resok.obj_attributes ) |
Definition at line 3204 of file cmd_nfstools.c.
#define MKDIR3_OK_FH | ( | _p_MKDIR3res | ) | ( (_p_MKDIR3res)->MKDIR3res_u.resok.obj ) |
Definition at line 3203 of file cmd_nfstools.c.
#define MKDIR3_OK_WCC | ( | _p_MKDIR3res | ) | ( (_p_MKDIR3res)->MKDIR3res_u.resok.dir_wcc ) |
Definition at line 3205 of file cmd_nfstools.c.
#define MNT_HANDLE | ( | p_mount_res3 | ) | ( (p_mount_res3)->mountres3_u.mountinfo.fhandle ) |
Definition at line 593 of file cmd_nfstools.c.
#define PATHCONF3_FAIL_ATTRS | ( | _p_PATHCONF3res | ) | ( (_p_PATHCONF3res)->PATHCONF3res_u.resfail.obj_attributes ) |
Definition at line 4144 of file cmd_nfstools.c.
#define PATHCONF3_OK_ATTRS | ( | _p_PATHCONF3res | ) | ( (_p_PATHCONF3res)->PATHCONF3res_u.resok.obj_attributes ) |
Definition at line 4142 of file cmd_nfstools.c.
#define PATHCONF3_OK_INFO | ( | _p_PATHCONF3res | ) | ( (_p_PATHCONF3res)->PATHCONF3res_u.resok ) |
Definition at line 4143 of file cmd_nfstools.c.
#define print_mask | ( | _out, | |
_mode, | |||
_mask, | |||
_lettre | |||
) |
do { \ if (_mode & _mask) fprintf(_out,_lettre); \ else fprintf(_out,"-"); \ } while(0)
print_nfsitem_line: Prints a nfs element on one line, like the Unix ls command.
out | (in FILE*) The file where the item is to be printed. |
attrib | (fattr3 *) the NFS attributes for the item. |
name | (in char *) The name of the item to be printed. |
target | (in char *) It the item is a symbolic link, this contains the link target. |
Definition at line 4237 of file cmd_nfstools.c.
#define READDIR3_FAIL | ( | _p_READDIR3res | ) | ( (_p_READDIR3res)->READDIR3res_u.resfail ) |
Definition at line 2241 of file cmd_nfstools.c.
#define READDIR3_OK | ( | _p_READDIR3res | ) | ( (_p_READDIR3res)->READDIR3res_u.resok ) |
Definition at line 2240 of file cmd_nfstools.c.
#define READDIRPLUS3_FAIL | ( | _p_READDIRPLUS3res | ) | ( (_p_READDIRPLUS3res)->READDIRPLUS3res_u.resfail ) |
Definition at line 2493 of file cmd_nfstools.c.
#define READDIRPLUS3_OK | ( | _p_READDIRPLUS3res | ) | ( (_p_READDIRPLUS3res)->READDIRPLUS3res_u.resok ) |
Definition at line 2492 of file cmd_nfstools.c.
#define READLINK3_FAIL_ATTRS | ( | _p_READLINK3res | ) | ( (_p_READLINK3res)->READLINK3res_u.resfail.symlink_attributes ) |
Definition at line 2572 of file cmd_nfstools.c.
#define READLINK3_OK_ATTRS | ( | _p_READLINK3res | ) | ( (_p_READLINK3res)->READLINK3res_u.resok.symlink_attributes ) |
Definition at line 2570 of file cmd_nfstools.c.
#define READLINK3_OK_DATA | ( | _p_READLINK3res | ) | ( (_p_READLINK3res)->READLINK3res_u.resok.data ) |
Definition at line 2571 of file cmd_nfstools.c.
#define READLINKRES_PATH | ( | _p_rl2res | ) | ( (_p_rl2res)->READLINK2res_u.data ) |
Definition at line 918 of file cmd_nfstools.c.
#define REMOVE3_FAIL_WCC | ( | _p_REMOVE3res | ) | ( (_p_REMOVE3res)->REMOVE3res_u.resfail.dir_wcc ) |
Definition at line 3288 of file cmd_nfstools.c.
#define REMOVE3_OK_WCC | ( | _p_REMOVE3res | ) | ( (_p_REMOVE3res)->REMOVE3res_u.resok.dir_wcc ) |
Definition at line 3287 of file cmd_nfstools.c.
#define RENAME3_FAIL_FROMWCC | ( | _p_RENAME3res | ) | ( (_p_RENAME3res)->RENAME3res_u.resfail.fromdir_wcc ) |
Definition at line 3667 of file cmd_nfstools.c.
#define RENAME3_FAIL_TOWCC | ( | _p_RENAME3res | ) | ( (_p_RENAME3res)->RENAME3res_u.resfail.todir_wcc ) |
Definition at line 3668 of file cmd_nfstools.c.
#define RENAME3_OK_FROMWCC | ( | _p_RENAME3res | ) | ( (_p_RENAME3res)->RENAME3res_u.resok.fromdir_wcc ) |
Definition at line 3665 of file cmd_nfstools.c.
#define RENAME3_OK_TOWCC | ( | _p_RENAME3res | ) | ( (_p_RENAME3res)->RENAME3res_u.resok.todir_wcc ) |
Definition at line 3666 of file cmd_nfstools.c.
#define RMDIR3_FAIL_WCC | ( | _p_RMDIR3res | ) | ( (_p_RMDIR3res)->RMDIR3res_u.resfail.dir_wcc ) |
Definition at line 3355 of file cmd_nfstools.c.
#define RMDIR3_OK_WCC | ( | _p_RMDIR3res | ) | ( (_p_RMDIR3res)->RMDIR3res_u.resok.dir_wcc ) |
Definition at line 3354 of file cmd_nfstools.c.
#define SETATTR3_FAIL_WCC | ( | _p_SETATTR3res | ) | ( (_p_SETATTR3res)->SETATTR3res_u.resfail.obj_wcc ) |
Definition at line 3553 of file cmd_nfstools.c.
#define SETATTR3_OK_WCC | ( | _p_SETATTR3res | ) | ( (_p_SETATTR3res)->SETATTR3res_u.resok.obj_wcc ) |
Definition at line 3552 of file cmd_nfstools.c.
#define SIZE_STR_NFSHANDLE2 (2 * NFS2_FHSIZE + 1) |
Definition at line 132 of file cmd_nfstools.c.
#define SIZE_STR_NFSHANDLE3 (2 * NFS3_FHSIZE + 1) |
Definition at line 133 of file cmd_nfstools.c.
#define SYMLINK3_FAIL_WCC | ( | _p_SYMLINK3res | ) | ( (_p_SYMLINK3res)->SYMLINK3res_u.resfail.dir_wcc ) |
Definition at line 3958 of file cmd_nfstools.c.
#define SYMLINK3_OK_ATTRS | ( | _p_SYMLINK3res | ) | ( (_p_SYMLINK3res)->SYMLINK3res_u.resok.obj_attributes ) |
Definition at line 3956 of file cmd_nfstools.c.
#define SYMLINK3_OK_FH | ( | _p_SYMLINK3res | ) | ( (_p_SYMLINK3res)->SYMLINK3res_u.resok.obj ) |
Definition at line 3955 of file cmd_nfstools.c.
#define SYMLINK3_OK_WCC | ( | _p_SYMLINK3res | ) | ( (_p_SYMLINK3res)->SYMLINK3res_u.resok.dir_wcc ) |
Definition at line 3957 of file cmd_nfstools.c.
int cmdnfs_ACCESS3args | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 2719 of file cmd_nfstools.c.
int cmdnfs_ACCESS3res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 2792 of file cmd_nfstools.c.
int cmdnfs_ATTR2res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 763 of file cmd_nfstools.c.
int cmdnfs_CREATE2args | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 1177 of file cmd_nfstools.c.
int cmdnfs_CREATE3args | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 2871 of file cmd_nfstools.c.
int cmdnfs_CREATE3res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 3063 of file cmd_nfstools.c.
int cmdnfs_DIROP2res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 817 of file cmd_nfstools.c.
int cmdnfs_diropargs2 | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 874 of file cmd_nfstools.c.
int cmdnfs_diropargs3 | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 1840 of file cmd_nfstools.c.
int cmdnfs_dirpath | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 158 of file cmd_nfstools.c.
int cmdnfs_exports | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 452 of file cmd_nfstools.c.
int cmdnfs_fattr2 | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
int cmdnfs_fattr3 | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
int cmdnfs_fhandle2 | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 208 of file cmd_nfstools.c.
int cmdnfs_fhandle3 | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 514 of file cmd_nfstools.c.
int cmdnfs_fhstatus2 | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 274 of file cmd_nfstools.c.
int cmdnfs_FSINFO3res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 4043 of file cmd_nfstools.c.
int cmdnfs_FSSTAT3res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 2642 of file cmd_nfstools.c.
int cmdnfs_GETATTR3res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 1789 of file cmd_nfstools.c.
int cmdnfs_LINK3args | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 3748 of file cmd_nfstools.c.
int cmdnfs_LINK3res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 3799 of file cmd_nfstools.c.
int cmdnfs_LOOKUP3res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 1958 of file cmd_nfstools.c.
int cmdnfs_MKDIR3args | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 3142 of file cmd_nfstools.c.
int cmdnfs_MKDIR3res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 3208 of file cmd_nfstools.c.
int cmdnfs_mountlist | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 398 of file cmd_nfstools.c.
int cmdnfs_mountres3 | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 596 of file cmd_nfstools.c.
int cmdnfs_nfsstat2 | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 658 of file cmd_nfstools.c.
int cmdnfs_nfsstat3 | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 1474 of file cmd_nfstools.c.
int cmdnfs_PATHCONF3res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 4146 of file cmd_nfstools.c.
int cmdnfs_postopattr | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 1881 of file cmd_nfstools.c.
int cmdnfs_postopfh3 | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 1917 of file cmd_nfstools.c.
int cmdnfs_preopattr | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 2968 of file cmd_nfstools.c.
int cmdnfs_READDIR2args | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 1267 of file cmd_nfstools.c.
int cmdnfs_READDIR2res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 1371 of file cmd_nfstools.c.
int cmdnfs_READDIR3args | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 2152 of file cmd_nfstools.c.
int cmdnfs_READDIR3res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 2243 of file cmd_nfstools.c.
int cmdnfs_READDIRPLUS3args | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 2318 of file cmd_nfstools.c.
int cmdnfs_READDIRPLUS3res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 2495 of file cmd_nfstools.c.
int cmdnfs_READLINK2res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 920 of file cmd_nfstools.c.
int cmdnfs_READLINK3res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 2574 of file cmd_nfstools.c.
int cmdnfs_REMOVE3res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 3290 of file cmd_nfstools.c.
int cmdnfs_RENAME2args | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 1428 of file cmd_nfstools.c.
int cmdnfs_RENAME3args | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 3619 of file cmd_nfstools.c.
int cmdnfs_RENAME3res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 3670 of file cmd_nfstools.c.
int cmdnfs_RMDIR3res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 3357 of file cmd_nfstools.c.
int cmdnfs_sattr2 | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 968 of file cmd_nfstools.c.
int cmdnfs_sattr3 | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 1578 of file cmd_nfstools.c.
int cmdnfs_sattrguard3 | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 3421 of file cmd_nfstools.c.
int cmdnfs_SETATTR2args | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 1221 of file cmd_nfstools.c.
int cmdnfs_SETATTR3args | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 3495 of file cmd_nfstools.c.
int cmdnfs_SETATTR3res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 3555 of file cmd_nfstools.c.
int cmdnfs_STATFS2res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 330 of file cmd_nfstools.c.
int cmdnfs_SYMLINK3args | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 3879 of file cmd_nfstools.c.
int cmdnfs_SYMLINK3res | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 3960 of file cmd_nfstools.c.
int cmdnfs_void | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 148 of file cmd_nfstools.c.
int cmdnfs_wccdata | ( | cmdnfs_encodetype_t | encodeflag, |
int | argc, | ||
char ** | argv, | ||
int | indent, | ||
FILE * | out_stream, | ||
caddr_t | p_nfs_struct | ||
) |
Definition at line 3022 of file cmd_nfstools.c.
int get_rpc_xid | ( | ) |
Definition at line 136 of file cmd_nfstools.c.
void print_nfs_attributes | ( | fattr3 * | attrs, |
FILE * | output | ||
) |
print_nfs_attributes: print an fattr3 to a given output file.
attrs | (in fattr3) The attributes to be printed. |
output | (in FILE *) The file where the attributes are to be printed. |
Definition at line 4345 of file cmd_nfstools.c.
void print_nfsitem_line | ( | FILE * | out, |
fattr3 * | attrib, | ||
char * | name, | ||
char * | target | ||
) |
print_nfsitem_line: Prints a nfs element on one line, like the Unix ls command.
out | (in FILE*) The file where the item is to be printed. |
attrib | (fattr3 *) the NFS attributes for the item. |
name | (in char *) The name of the item to be printed. |
target | (in char *) It the item is a symbolic link, this contains the link target. |
Definition at line 4242 of file cmd_nfstools.c.
void* rpc_tcp_socket_manager_thread | ( | void * | Arg | ) |
Definition at line 141 of file cmd_nfstools.c.