X-Git-Url: http://git.silcnet.org/gitweb/?a=blobdiff_plain;f=apps%2Fsilcd%2Fserver_internal.h;fp=apps%2Fsilcd%2Fserver_internal.h;h=09257e66465a415a1d0f281a0b4e635348e8f3da;hb=ef4e36360505da6c96404d6c762dcd6773fdb98f;hp=fd948ffe02c0158fb8f840fb5339d3a5657f5c8e;hpb=85f7454c353763cb25aa719409e656bfd8d878df;p=silc.git diff --git a/apps/silcd/server_internal.h b/apps/silcd/server_internal.h index fd948ffe..09257e66 100644 --- a/apps/silcd/server_internal.h +++ b/apps/silcd/server_internal.h @@ -166,29 +166,6 @@ typedef struct { #define SILC_IS_LOCAL(entry) \ (((SilcIDListData)entry)->status & SILC_IDLIST_STATUS_LOCAL) -/* Registers generic task for file descriptor for reading from network and - writing to network. As being generic task the actual task is allocated - only once and after that the same task applies to all registered fd's. */ -#define SILC_REGISTER_CONNECTION_FOR_IO(fd) \ -do { \ - silc_schedule_task_add(server->schedule, (fd), \ - silc_server_packet_process, \ - context, 0, 0, \ - SILC_TASK_GENERIC, \ - SILC_TASK_PRI_NORMAL); \ -} while(0) - -#define SILC_SET_CONNECTION_FOR_INPUT(s, fd) \ -do { \ - silc_schedule_set_listen_fd((s), (fd), SILC_TASK_READ, FALSE); \ -} while(0) - -#define SILC_SET_CONNECTION_FOR_OUTPUT(s, fd) \ -do { \ - silc_schedule_set_listen_fd((s), (fd), (SILC_TASK_READ | SILC_TASK_WRITE), \ - FALSE); \ -} while(0) - #define SILC_OPER_STATS_UPDATE(c, type, mod) \ do { \ if ((c)->mode & (mod)) { \