nfs-ganesha 1.4
Functions | Variables

subr.c File Reference

#include <sys/param.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/timeb.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include "tests.h"

Go to the source code of this file.

Functions

int unix_mkdir (char *path, mode_t mode)
int unix_chdir (char *path)
void dirtree (int lev, int files, int dirs, char *fname, char *dname, int *totfiles, int *totdirs)
void rmdirtree (int lev, int files, int dirs, char *fname, char *dname, int *totfiles, int *totdirs, int ignore)
 error (char *str, ar1, ar2, ar3, ar4, ar5, ar6, ar7, ar8, ar9)
void starttime ()
void endtime (struct timeval *tv)
void testdir (char *dir)
int mtestdir (char *dir)
long getparm (char *parm, long min, char *label)
void complete ()

Variables

char * Myname
int Dflag = 0

Function Documentation

void complete ( )

Definition at line 381 of file subr.c.

void dirtree ( int  lev,
int  files,
int  dirs,
char *  fname,
char *  dname,
int *  totfiles,
int *  totdirs 
)

Definition at line 56 of file subr.c.

void endtime ( struct timeval *  tv)

Definition at line 264 of file subr.c.

error ( char *  str,
ar1  ,
ar2  ,
ar3  ,
ar4  ,
ar5  ,
ar6  ,
ar7  ,
ar8  ,
ar9   
)

Definition at line 220 of file subr.c.

long getparm ( char *  parm,
long  min,
char *  label 
)

Definition at line 362 of file subr.c.

int mtestdir ( char *  dir)

Definition at line 336 of file subr.c.

void rmdirtree ( int  lev,
int  files,
int  dirs,
char *  fname,
char *  dname,
int *  totfiles,
int *  totdirs,
int  ignore 
)

Definition at line 129 of file subr.c.

void starttime ( )

Definition at line 254 of file subr.c.

void testdir ( char *  dir)

Definition at line 289 of file subr.c.

int unix_chdir ( char *  path)

Definition at line 392 of file subr.c.

int unix_mkdir ( char *  path,
mode_t  mode 
)

Definition at line 406 of file subr.c.


Variable Documentation

int Dflag = 0

Definition at line 43 of file subr.c.

char* Myname

Definition at line 42 of file subr.c.