"Fossies" - the Fresh Open Source Software Archive

Member "xarchive-0.2.8-6/src/main.h" (23 Feb 2006, 1420 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 "main.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef XARCHIVE_SRC_MAIN
    2 #define XARCHIVE_SRC_MAIN 1
    3 
    4 #include"common.h"
    5 #include<stdio.h>
    6 #include<unistd.h>
    7 #include<string.h>
    8 #include<dirent.h>
    9 #include<fnmatch.h>
   10 #include<gtk/gtk.h>
   11 #include<glib/gstdio.h>
   12 #include<sys/wait.h>
   13 
   14 /* LOCAL DATA TYPES AND STRUCTURES */
   15 typedef struct wrapper_entry
   16 {
   17     gchar *path;
   18     GPtrArray *ext_array;
   19 } WrapperEntry;
   20 
   21 /* LOCAL GLOBAL VARIABLES */
   22 GPtrArray *WRAPPER_ARRAY = NULL;
   23 extern GtkWidget *MAIN_WINDOW;
   24 
   25 /* EXTERNAL FUNCTIONS */
   26 /* from my_strescape.c */
   27 gchar *
   28 my_strescape(gchar *string);
   29 
   30 /* from widgets_gtk.c */
   31 GtkTreeView *
   32 get_current_tree(void);
   33 
   34 gint 
   35 make_widgets(ParsedArgs *pargs);
   36 
   37 void 
   38 add_row(GtkListStore *liststore, gchar **ent);
   39 
   40 gboolean
   41 message(GtkWidget *parentwin, gint type, gchar *text);
   42 
   43 void
   44 setup_opening_progress_bar(GtkWidget *pbwin, GtkWidget *pbar, 
   45                            gboolean *stopit);
   46 
   47 void
   48 wait_with_progress_bar(GPid pid, gint *wrapper_status, gint ar_func);
   49 
   50 /* LOCAL FUNCTIONS */
   51 void 
   52 setup_exts(WrapperEntry *wrapd);
   53 
   54 WrapperEntry *
   55 make_wrapper(gchar *dir, gchar *fname);
   56 
   57 int 
   58 is_wrapper(const struct dirent *dirent);
   59 
   60 void 
   61 setup_wrappers(void);
   62 
   63 extern gchar * 
   64 wrapper_info(void);
   65 
   66 gchar *
   67 get_wrapper(gchar *archive);
   68 
   69 gint 
   70 get_archive_data(gchar **arg);
   71 
   72 gint 
   73 wrapper_cmd(gint af, gchar **argv, gchar *dest);
   74 
   75 void
   76 setup_home_directory(void);
   77 
   78 ParsedArgs *
   79 parse_options(gint argc, gchar *argv[]);
   80 
   81 #endif