add wdk changes to named branch

This commit is contained in:
berkeviktor@aol.com
2011-02-28 18:59:32 +01:00
parent ad7ea4b77e
commit d03d6e606b
152 changed files with 32939 additions and 529 deletions

View File

@@ -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;