"Fossies" - the Fresh Open Source Software Archive

Member "xarchive-0.2.8-6/src/common.h" (26 Feb 2006, 571 Bytes) of package /linux/privat/old/xarchive-0.2.8-6.tar.gz:


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 "common.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef XARCHIVE_SRC_COMMON
    2 #define XARCHIVE_SRC_COMMON 1
    3 
    4 #include"config.h"
    5 #include<stdlib.h>
    6 #include<glib.h>
    7 
    8 #define MAXLINE 256
    9 #define E_UNSUPPORTED 65
   10 
   11 /* some common enumerations */
   12 enum { AR_OPEN=0, AR_NEW, AR_EXTRACT, AR_ADD, AR_REMOVE, AR_VIEW}; 
   13 
   14 enum { WRAPPER_INDEX=0, OPTION_INDEX, ARCHIVE_INDEX, FIRST_FILE_INDEX };
   15  
   16 enum {COL_ICON=0, COL_FILE, COL_DFILE, COL_SIZE, COL_ATTR, COL_USER, COL_GROUP,
   17       COL_TIME, COL_LINK, NUM_COLS};
   18 
   19 typedef struct parsed_arguments
   20 {
   21   int action;
   22   char **files;
   23   char *archive;
   24   char *geom;
   25 } ParsedArgs;
   26 
   27 #endif