nfs-ganesha 1.4
Defines | Functions

nfs41_op_getdevicelist.c File Reference

Routines used for managing the NFS4_OP_GETDEVICELIST operation. More...

#include <stdio.h>
#include <string.h>
#include <pthread.h>
#include <fcntl.h>
#include <sys/file.h>
#include "HashData.h"
#include "HashTable.h"
#include "log.h"
#include "ganesha_rpc.h"
#include "nfs23.h"
#include "nfs4.h"
#include "mount.h"
#include "nfs_core.h"
#include "cache_inode.h"
#include "nfs_exports.h"
#include "nfs_creds.h"
#include "nfs_proto_tools.h"
#include "nfs_proto_functions.h"
#include "nfs_file_handle.h"
#include "nfs_tools.h"

Go to the source code of this file.

Defines

#define arg_GETDEVICELIST4   op->nfs_argop4_u.opgetdevicelist
 The NFS4_OP_GETDEVICELIST operation.
#define res_GETDEVICELIST4   resp->nfs_resop4_u.opgetdevicelist

Functions

int nfs41_op_getdevicelist (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
void nfs41_op_getdevicelist_Free (GETDEVICELIST4res *resp)

Detailed Description

Routines used for managing the NFS4_OP_GETDEVICELIST operation.

Author:
Author:
deniel
Date:
Date:
2009/08/19 16:02:52

nfs41_op_getdevicelist.c : Routines used for managing the GETDEVICELIST operation.

Definition in file nfs41_op_getdevicelist.c.


Define Documentation

#define arg_GETDEVICELIST4   op->nfs_argop4_u.opgetdevicelist

The NFS4_OP_GETDEVICELIST operation.

Gets the list of pNFS devices

Parameters:
op[IN] pointer to nfs4_op arguments
data[INOUT] Pointer to the compound request's data
resp[IN] Pointer to nfs4_op results
Returns:
NFS4_OK if successfull, other values show an error.
See also:
nfs4_Compound

Definition at line 84 of file nfs41_op_getdevicelist.c.

#define res_GETDEVICELIST4   resp->nfs_resop4_u.opgetdevicelist

Definition at line 85 of file nfs41_op_getdevicelist.c.


Function Documentation

int nfs41_op_getdevicelist ( struct nfs_argop4 op,
compound_data_t data,
struct nfs_resop4 resp 
)

Definition at line 87 of file nfs41_op_getdevicelist.c.

void nfs41_op_getdevicelist_Free ( GETDEVICELIST4res resp)

nfs4_op_getdevicelist_Free: frees what was allocared to handle nfs4_op_getdevicelist.

Frees what was allocared to handle nfs4_op_getdevicelist.

Parameters:
resp[INOUT] Pointer to nfs4_op results
Returns:
nothing (void function )

Definition at line 222 of file nfs41_op_getdevicelist.c.