nfs-ganesha 1.4
Defines | Functions

nfs4_op_open.c File Reference

Routines used for managing the NFS4 COMPOUND functions. More...

#include <stdio.h>
#include <string.h>
#include <pthread.h>
#include "HashData.h"
#include "HashTable.h"
#include "log.h"
#include "ganesha_rpc.h"
#include "nfs4.h"
#include "nfs_core.h"
#include "sal_functions.h"
#include "nfs_proto_functions.h"
#include "nfs_proto_tools.h"

Go to the source code of this file.

Defines

#define STATE_ADD   " (state_add failed)"
#define STATE_SHARE_ADD   " (state_share_add failed)"
#define STATE_SHARE_UP   " (state_share_upgrade failed)"
#define CACHE_INODE_OPEN   " cache_inode_open"
#define arg_OPEN4   op->nfs_argop4_u.opopen
#define res_OPEN4   resp->nfs_resop4_u.opopen

Functions

int nfs4_op_open (struct nfs_argop4 *op, compound_data_t *data, struct nfs_resop4 *resp)
void nfs4_op_open_Free (OPEN4res *resp)
void nfs4_op_open_CopyRes (OPEN4res *resp_dst, OPEN4res *resp_src)

Detailed Description

Routines used for managing the NFS4 COMPOUND functions.

Author:
Author:
deniel
Date:
Date:
2005/11/28 17:02:51
Version:
Revision:
1.18

nfs4_op_open.c : Routines used for managing the NFS4 COMPOUND functions.

Definition in file nfs4_op_open.c.


Define Documentation

#define arg_OPEN4   op->nfs_argop4_u.opopen

Definition at line 90 of file nfs4_op_open.c.

#define CACHE_INODE_OPEN   " cache_inode_open"

Definition at line 89 of file nfs4_op_open.c.

#define res_OPEN4   resp->nfs_resop4_u.opopen

Definition at line 91 of file nfs4_op_open.c.

#define STATE_ADD   " (state_add failed)"

nfs4_op_open: NFS4_OP_OPEN, opens and eventually creates a regular file.

NFS4_OP_OPEN, opens and eventually creates a regular file.

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.

Definition at line 86 of file nfs4_op_open.c.

#define STATE_SHARE_ADD   " (state_share_add failed)"

Definition at line 87 of file nfs4_op_open.c.

#define STATE_SHARE_UP   " (state_share_upgrade failed)"

Definition at line 88 of file nfs4_op_open.c.