Add async message reading
authorWilfried Goesgens <dothebart@citadel.org>
Wed, 17 Aug 2011 17:13:59 +0000 (17:13 +0000)
committerWilfried Goesgens <dothebart@citadel.org>
Wed, 17 Aug 2011 17:13:59 +0000 (17:13 +0000)
commit682137147d66ec1ea06b9099c55e597c23b0e31f
treec7b29bc514fbba2a8b405745c4dae2eedd7afb4b
parent32da30ae02d4173e3169d9aa688bc33af9f1f384
Add async message reading

  - CtdlSubmitMsg(): make param const, since its just read
  - add NewAsyncMsg(): preprocess the parameters provided by application logic, return the worker struct for message reading
  - add CtdlReadMessageBodyAsync(): call me from your IO handler to read a message from the socket asynchroneous.
  - add DeleteAsyncMsg(): call me to delete the worker vars.
citadel/msgbase.c
citadel/msgbase.h