nfs-ganesha 1.4
|
routines for managing the mount list. More...
#include <stdio.h>
#include <sys/types.h>
#include <ctype.h>
#include <stdlib.h>
#include <dirent.h>
#include <netdb.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <string.h>
#include <pthread.h>
#include <fcntl.h>
#include <sys/file.h>
#include <pwd.h>
#include <grp.h>
#include "log.h"
#include "ganesha_rpc.h"
#include "nfs_core.h"
#include "nfs23.h"
#include "nfs4.h"
#include "fsal.h"
#include "nfs_tools.h"
#include "nfs_exports.h"
#include "nfs_file_handle.h"
Go to the source code of this file.
Functions | |
int | nfs_Add_MountList_Entry (char *hostname, char *dirpath) |
int | nfs_Remove_MountList_Entry (char *hostname, char *dirpath) |
int | nfs_Purge_MountList (void) |
int | nfs_Init_MountList (void) |
mountlist | nfs_Get_MountList (void) |
void | nfs_Print_MountList (void) |
Variables | |
mountlist | MNT_List_head = NULL |
mountlist | MNT_List_tail = NULL |
routines for managing the mount list.
nfs_mnt_list.c : routines for managing the mount list.
Revision 1.6 2005/11/24 13:44:29 deniel ajout du remove dans ipname track list in nfs_mnt_listc.
Revision 1.5 2005/10/07 09:33:22 leibovic Correcting bug in nfs_Add_MountList_Entry function ( pnew_mnt_list_entry->ml_next not initialized ).
Revision 1.4 2005/10/05 14:03:31 deniel DEBUG ifdef are now much cleaner
Revision 1.3 2005/08/11 12:37:28 deniel Added statistics management
Revision 1.2 2005/08/03 13:13:59 deniel memset to zero before building the filehandles
Revision 1.1 2005/08/03 06:57:54 deniel Added a libsupport for miscellaneous service functions
Revision 1.1 2005/07/20 11:49:47 deniel Mount protocol V1/V3 support almost complete
Definition in file nfs_mnt_list.c.
int nfs_Add_MountList_Entry | ( | char * | hostname, |
char * | dirpath | ||
) |
nfs_Add_MountList_Entry: Adds a client to the mount list.
Adds a client to the mount list.
hostname | [IN] the hostname for the client |
dirpath | [IN] the mounted path |
Definition at line 112 of file nfs_mnt_list.c.
mountlist nfs_Get_MountList | ( | void | ) |
nfs_Get_MountList: Returns the mount list.
Returns the mount list.
none | (take no argument) |
Definition at line 314 of file nfs_mnt_list.c.
int nfs_Init_MountList | ( | void | ) |
nfs_Init_MountList: Initializes the mount list.
Initializes the mount list.
none | (take no argument) |
Definition at line 292 of file nfs_mnt_list.c.
void nfs_Print_MountList | ( | void | ) |
nfs_Print_MountList: Prints the mount list (for debugging purpose).
Prints the mount list (for debugging purpose).
none | (take no argument) |
Definition at line 333 of file nfs_mnt_list.c.
int nfs_Purge_MountList | ( | void | ) |
nfs_Purge_MountList: Purges the whole mount list.
Purges the whole mount list.
none | (take no argument) |
Definition at line 251 of file nfs_mnt_list.c.
int nfs_Remove_MountList_Entry | ( | char * | hostname, |
char * | dirpath | ||
) |
nfs_Remove_MountList_Entry: Removes a client to the mount list.
Removes a client to the mount list.
hostname | [IN] the hostname for the client |
path | [IN] the mounted path |
Definition at line 184 of file nfs_mnt_list.c.
mountlist MNT_List_head = NULL |
Definition at line 97 of file nfs_mnt_list.c.
mountlist MNT_List_tail = NULL |
Definition at line 98 of file nfs_mnt_list.c.