curlmulti.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #ifndef CURLMULTI_H_INCLUDED
  2. #define CURLMULTI_H_INCLUDED
  3. #include "bool.h"
  4. #include "xmlrpc-c/util.h"
  5. #include "curltransaction.h"
  6. typedef struct curlMulti curlMulti;
  7. curlMulti *
  8. curlMulti_create(void);
  9. void
  10. curlMulti_destroy(curlMulti * const curlMultiP);
  11. void
  12. curlMulti_perform(xmlrpc_env * const envP,
  13. curlMulti * const curlMultiP,
  14. bool * const immediateWorkToDoP,
  15. int * const runningHandlesP);
  16. void
  17. curlMulti_addHandle(xmlrpc_env * const envP,
  18. curlMulti * const curlMultiP,
  19. CURL * const curlSessionP);
  20. void
  21. curlMulti_removeHandle(curlMulti * const curlMultiP,
  22. CURL * const curlSessionP);
  23. void
  24. curlMulti_getMessage(curlMulti * const curlMultiP,
  25. bool * const endOfMessagesP,
  26. CURLMsg * const curlMsgP);
  27. void
  28. curlMulti_fdset(xmlrpc_env * const envP,
  29. curlMulti * const curlMultiP,
  30. fd_set * const readFdSetP,
  31. fd_set * const writeFdSetP,
  32. fd_set * const exceptFdSetP,
  33. int * const maxFdP);
  34. void
  35. curlMulti_updateFdSet(curlMulti * const curlMultiP,
  36. fd_set const readFdSet,
  37. fd_set const writeFdSet,
  38. fd_set const exceptFdSet);
  39. #endif