"Fossies" - the Fresh Open Source Software Archive

Member "netbiff-0.9.18/gui.h" (21 Sep 2003, 671 Bytes) of package /linux/privat/old/netbiff-0.9.18.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 "gui.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef GUI_H
    2 #define GUI_H
    3 
    4 #include <stdarg.h>
    5 #include <time.h>
    6 
    7 #include "connection.h"
    8 
    9 typedef struct {
   10   void (*flagup)(const Connection *);
   11   void (*flagdown)(const Connection *);
   12   void (*init)(int *, char ***);
   13   int (*display_message)(const char *, va_list);
   14   void (*event_loop)(void);
   15   void (*beep)(void);
   16   void (*add_fd)(const Connection *, int);
   17   void (*delete_fd)(const Connection *, int);
   18   char* (*request_data)(const char *, int);
   19   void (*register_connections)(void);
   20   void (*schedule_retry)(time_t);
   21 } GUI;
   22 
   23 int gui_init(int *argc, char ***argv, const char *name);
   24 
   25 GUI gui;
   26 
   27 #define GUI_FD_READ  0x1
   28 #define GUI_FD_WRITE 0x2
   29 
   30 #endif /* GUI_H */