mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 00:22:17 +02:00
Use GIOChannel instead of sockets directly. Helps porting to win32 :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@962 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
e81fdd7307
commit
1c9f45b4a4
16 changed files with 223 additions and 202 deletions
|
|
@ -53,11 +53,11 @@
|
|||
#define G_INPUT_READ (1 << 0)
|
||||
#define G_INPUT_WRITE (1 << 1)
|
||||
|
||||
typedef void (*GInputFunction) (void *data, int source, int condition);
|
||||
typedef void (*GInputFunction) (void *data, GIOChannel *source, int condition);
|
||||
|
||||
int g_input_add(int source, int condition,
|
||||
int g_input_add(GIOChannel *source, int condition,
|
||||
GInputFunction function, void *data);
|
||||
int g_input_add_full(int source, int priority, int condition,
|
||||
int g_input_add_full(GIOChannel *source, int priority, int condition,
|
||||
GInputFunction function, void *data);
|
||||
|
||||
#define MAX_INT_STRLEN ((sizeof(int) * CHAR_BIT + 2) / 3 + 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue