Refactoring: create central place to init AsyncIO
authorWilfried Goesgens <dothebart@citadel.org>
Sun, 25 Dec 2011 16:45:57 +0000 (17:45 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 25 Dec 2011 16:45:57 +0000 (17:45 +0100)
commit7cced4381b0497cf3d99a489bbb1a4f5375ded32
tree021ba91521973264608cefb536355c977054dfb6
parentcf7cb2463d47a4a9ed36c8d1c13f188418389437
Refactoring: create central place to init AsyncIO

  - set the CC in the Queue Runners, so InitIOStruct() can use that
  - call InitIOStruct() to reduce duplicate code
  - InitIOStruct(): a central place knowing whats needed to be inside of AsyncIO.
citadel/event_client.c
citadel/event_client.h
citadel/modules/network/serv_networkclient.c
citadel/modules/pop3client/serv_pop3client.c
citadel/modules/smtp/serv_smtpeventclient.c