diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-02-28 18:59:32 +0100 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-02-28 18:59:32 +0100 |
commit | d03d6e606b40157d910ddf99ab018156abeb8ef0 (patch) | |
tree | 1f2b148661fb688ae0863b361e49f19672dbe685 /src/fe-text/fe-text.h | |
parent | ad7ea4b77e059880ef8f7cb05fe2aa2cdcc217fb (diff) |
add wdk changes to named branch
Diffstat (limited to 'src/fe-text/fe-text.h')
-rw-r--r-- | src/fe-text/fe-text.h | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/src/fe-text/fe-text.h b/src/fe-text/fe-text.h index b8afa284..e4f6f6c0 100644 --- a/src/fe-text/fe-text.h +++ b/src/fe-text/fe-text.h @@ -1,29 +1 @@ - -typedef int (*socket_callback) (void *source, int condition, void *user_data); -typedef int (*timer_callback) (void *user_data); - -struct socketeventRec -{ - socket_callback callback; - void *userdata; - int sok; - int tag; - int rread:1; - int wwrite:1; - int eexcept:1; - int checked:1; -}; - -typedef struct socketeventRec socketevent; - - -struct timerRec -{ - timer_callback callback; - void *userdata; - int interval; - int tag; - guint64 next_call; /* miliseconds */ -}; - -typedef struct timerRec timerevent; +GMainLoop *main_loop; |