diff options
Diffstat (limited to 'libsylph/socket.h')
-rw-r--r-- | libsylph/socket.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libsylph/socket.h b/libsylph/socket.h index 0ad2010f..5bf8b98f 100644 --- a/libsylph/socket.h +++ b/libsylph/socket.h @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2007 Hiroyuki Yamamoto + * Copyright (C) 1999-2008 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -46,14 +46,14 @@ typedef enum typedef enum { - SOCK_NONBLOCK = 1 << 0, - SOCK_CHECK_IO = 1 << 1 + SYL_SOCK_NONBLOCK = 1 << 0, + SYL_SOCK_CHECK_IO = 1 << 1 } SockFlags; #define SOCK_SET_FLAGS(flags, set) { (flags) |= (set); } #define SOCK_UNSET_FLAGS(flags, set) { (flags) &= ~(set); } -#define SOCK_IS_NONBLOCK(flags) ((flags & SOCK_NONBLOCK) != 0) -#define SOCK_IS_CHECK_IO(flags) ((flags & SOCK_CHECK_IO) != 0) +#define SOCK_IS_NONBLOCK(flags) ((flags & SYL_SOCK_NONBLOCK) != 0) +#define SOCK_IS_CHECK_IO(flags) ((flags & SYL_SOCK_CHECK_IO) != 0) typedef gint (*SockConnectFunc) (SockInfo *sock, gpointer data); |