nfs-ganesha 1.4

shell_utils.h

Go to the documentation of this file.
00001 
00023 #ifndef _SHELL_UTILS_H
00024 #define _SHELL_UTILS_H
00025 
00026 #include "shell_types.h"
00027 #include <stdio.h>
00028 
00029 /*----------------------------------*
00030  *        Utilities commands.
00031  *----------------------------------*/
00032 
00035 int util_timer(int argc,        /* IN : number of args in argv */
00036                char **argv,     /* IN : arg list               */
00037                FILE * output    /* IN : output stream          */
00038     );
00039 
00042 int util_sleep(int argc,        /* IN : number of args in argv */
00043                char **argv,     /* IN : arg list               */
00044                FILE * output    /* IN : output stream          */
00045     );
00046 
00047 int util_shell(int argc,        /* IN : number of args in argv */
00048                char **argv,     /* IN : arg list               */
00049                FILE * output    /* IN : output stream          */
00050     );
00051 
00052 int util_meminfo(int argc,      /* IN : number of args in argv */
00053                  char **argv,   /* IN : arg list               */
00054                  FILE * output  /* IN : output stream          */
00055     );
00056 
00059 int util_cmp(int argc,          /* IN : number of args in argv */
00060              char **argv,       /* IN : arg list               */
00061              FILE * output      /* IN : output stream          */
00062     );
00063 
00064 int util_diff(int argc,         /* IN : number of args in argv */
00065               char **argv,      /* IN : arg list               */
00066               FILE * output     /* IN : output stream          */
00067     );
00068 
00069 int util_wc(int argc,           /* IN : number of args in argv */
00070             char **argv,        /* IN : arg list               */
00071             FILE * output       /* IN : output stream          */
00072     );
00073 
00074 int util_chomp(int argc,        /* IN : number of args in argv */
00075                char **argv,     /* IN : arg list               */
00076                FILE * output    /* IN : output stream          */
00077     );
00078 
00079 /*----------------------------------*
00080  *        Utilities list.
00081  *----------------------------------*/
00082 
00083 /* util list */
00084 
00085 extern command_def_t shell_utils[];
00086 
00087 #endif