nfs-ganesha 1.4
Classes | Defines | Typedefs | Functions | Variables

test_ns.c File Reference

#include "namespace.h"

Go to the source code of this file.

Classes

struct  ns_testset__

Defines

#define ROOT_INODE   ((ino_t)1)
#define DEV   ((dev_t)1)

Typedefs

typedef struct ns_testset__ ns_testset_t

Functions

int main (int argc, char **argv)

Variables

ns_testset_t testset []

Define Documentation

#define DEV   ((dev_t)1)

Definition at line 15 of file test_ns.c.

#define ROOT_INODE   ((ino_t)1)

Definition at line 14 of file test_ns.c.


Typedef Documentation

typedef struct ns_testset__ ns_testset_t

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 37 of file test_ns.c.


Variable Documentation

Initial value:
 {
  {ROOT_INODE, ROOT_INODE + 1, "dir1"},
  {ROOT_INODE, ROOT_INODE + 2, "dir2"},
  {ROOT_INODE, ROOT_INODE + 3, "dir3"},
  {ROOT_INODE, ROOT_INODE + 4, "dir4"},
  {ROOT_INODE + 4, ROOT_INODE + 5, "file1"},
  {ROOT_INODE + 4, ROOT_INODE + 6, "file2"},
  {ROOT_INODE + 4, ROOT_INODE + 7, "subdir1"},
  {ROOT_INODE + 4, ROOT_INODE + 8, "subdir2"},
  {ROOT_INODE + 8, ROOT_INODE + 9, "file1"},
  {ROOT_INODE + 8, ROOT_INODE + 10, "file2"},
  {ROOT_INODE + 8, ROOT_INODE + 10, "file2.harlink"},   
  {ROOT_INODE, ROOT_INODE + 11, "dir5"},
  {ROOT_INODE + 11, ROOT_INODE + 10, "file2.hardlink"}, 

  {0, 0, NULL}                  

}

Definition at line 18 of file test_ns.c.