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

main.c File Reference

extract fileid from FSAL handle. More...

#include "shell.h"
#include "Getopt.h"
#include <libgen.h>
#include <pthread.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>

Go to the source code of this file.

Classes

struct  shell_info__

Defines

#define NBTHRMAX   64

Typedefs

typedef struct shell_info__ shell_info_t

Functions

void * LaunchShell (void *arg)
int main (int argc, char **argv)

Variables

time_t ServerBootTime
time_t ServerEpoch
shell_info_t thrlist [NBTHRMAX]
int verbose = 0

Detailed Description

extract fileid from FSAL handle.

main shell routine.

Author:
Author:
leibovic
Date:
Date:
2006/02/23 07:42:53
Version:
Revision:
1.28
Author:
Author:
leibovic
Date:
Date:
2006/02/23 07:42:53
Version:
Revision:
1.28
Log:
main.c,v

Revision 1.28 2006/02/23 07:42:53 leibovic Adding -n option to shell.

Revision 1.26 2005/08/12 11:56:59 leibovic coquille.

Revision 1.25 2005/07/26 12:54:47 leibovic Multi-thread shell with synchronisation routines.

Revision 1.24 2005/05/09 12:23:55 leibovic Version 2 of ganeshell.

Definition in file main.c.


Define Documentation

#define NBTHRMAX   64

Definition at line 66 of file main.c.


Typedef Documentation

typedef struct shell_info__ shell_info_t

Function Documentation

void* LaunchShell ( void *  arg)

Definition at line 91 of file main.c.

int main ( int  argc,
char **  argv 
)

Definition at line 122 of file main.c.


Variable Documentation

Definition at line 69 of file main.c.

time_t ServerEpoch

Definition at line 70 of file main.c.

shell_info_t thrlist[NBTHRMAX]

Definition at line 87 of file main.c.

int verbose = 0

Definition at line 89 of file main.c.