Permalink
Browse files

put new connection abort functions in the declaration block

  • Loading branch information...
Joseph Wecker
Joseph Wecker committed Jul 13, 2012
1 parent 11697d4 commit 2b451adc95bf01fc4ebb604aba17de025c2d16ed
Showing with 2 additions and 0 deletions.
  1. +2 −0 gx_event.h
View
@@ -127,6 +127,8 @@ gx_pool_init(gx_tcp_sess);
GX_INLINE int NAME ## _add_acceptor(int afd, int(*ahandler)(gx_tcp_sess *)); \
GX_INLINE int NAME ## _wait(int timeout, \
int (*misc_handler)(gx_tcp_sess *, uint32_t)); \
+ GX_INLINE int NAME ## _abort_sess(gx_tcp_sess *sess); \
+ GX_INLINE int NAME ## _abort_sess2(gx_tcp_sess *sess,int); \
#define gx_eventloop_implement(NAME, EXPECTED_SESSIONS, EVENTS_AT_A_TIME) \
struct GX_EVENT_STRUCT NAME ## _events[EVENTS_AT_A_TIME]; \

0 comments on commit 2b451ad

Please sign in to comment.