"Fossies" - the Fresh Open Source Software Archive

Member "quotactl-1.00/quotause/quotacheck.h" (28 Aug 2005, 1162 Bytes) of package /linux/privat/old/quotactl-1.00.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "quotacheck.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  *
    3  *  Header file for quota checking utilities
    4  *
    5  */
    6 
    7 #ifndef _QUOTACHECK_H
    8 #define _QUOTACHECK_H
    9 
   10 #include <sys/types.h>
   11 
   12 #include "quota.h"
   13 #include "quotaio.h"
   14 
   15 #define FL_FORCE 1      /* Force check even if quota enabled */
   16 #define FL_VERBOSE 2        /* Have verbose input */
   17 #define FL_DEBUG 4      /* Have very verbose input */
   18 #define FL_INTERACTIVE 8    /* Ask questions when needed */
   19 #define FL_GUESSDQ 16       /* When more structures for same user found, use the first */
   20 #define FL_NEWFILE 32       /* Don't try to read old file. Just create new one. */
   21 #define FL_FORCEREMOUNT 64  /* Force check even when remounting RO fails */
   22 #define FL_NOREMOUNT 128    /* Don't try to remount filesystem RO */
   23 #define FL_ALL 256      /* Scan all mountpoints with quota? */
   24 #define FL_NOROOT 512       /* Scan all mountpoints except root */
   25 #define FL_BACKUPS 1024     /* Create backup of old quota file? */
   26 #define FL_VERYVERBOSE 2048 /* Print directory names when checking */
   27 
   28 extern int flags;       /* Options from command line */
   29 extern struct util_dqinfo old_info[MAXQUOTAS];  /* Loaded info from file */
   30 
   31 #ifdef DEBUG_MALLOC
   32 extern size_t malloc_mem = 0;
   33 extern size_t free_mem = 0;
   34 #endif
   35 
   36 #endif