/[monit]/monit/monitor.h
ViewVC logotype

Diff of /monit/monitor.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.46 by martinp, Tue Feb 11 21:27:39 2003 UTC revision 1.47 by martinp, Thu Feb 13 14:56:24 2003 UTC
# Line 269  typedef struct mycommand { Line 269  typedef struct mycommand {
269    int length;                         /**< The length of the arguments array */    int length;                         /**< The length of the arguments array */
270  } *Command_T;  } *Command_T;
271    
 /** Defines filesystem device data */  
 typedef struct mydevice {  
   long    f_bsize;                                  /**< Transfer block size */  
   long    f_blocks;                     /**< Total data blocks in filesystem */  
   long    f_blocksfree;          /**< Free blocks available to non-superuser */  
   long    f_blocksfreetotal;                  /**< Free blocks in filesystem */  
   long    f_files;                       /**< Total file nodes in filesystem */  
   long    f_filesfree;                    /**< Free file nodes in filesystem */  
 } *Device_T;  
   
272  /** Defines process data */  /** Defines process data */
273  typedef struct myprocess {  typedef struct myprocess {
274    char *name;                                  /**< Process descriptive name */    char *name;                                  /**< Process descriptive name */
# Line 394  char *format(const char *, va_list); Line 384  char *format(const char *, va_list);
384  void  redirect_stdfd();  void  redirect_stdfd();
385  pid_t getpgid(pid_t);  pid_t getpgid(pid_t);
386  int   check_file(char *, char *, int);  int   check_file(char *, char *, int);
 char *get_device(char *, unsigned, char *);  
 int   get_fsusage(char *, Device_T);  
387    
388  #endif  #endif

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26