wsp_server_session_machine.def
上传用户:gzpyjq
上传日期:2013-01-31
资源大小:1852k
文件大小:1k
源码类别:

手机WAP编程

开发平台:

WINDOWS

  1. /*
  2.  * wsp_server_session_machine.def - Define a WSP session machine.
  3.  *
  4.  * Lars Wirzenius
  5.  */
  6. #if !defined(HTTPHEADERS) || 
  7. !defined(INTEGER) || 
  8. !defined(OCTSTR) || 
  9. !defined(ADDRTUPLE) || 
  10. !defined(COOKIES) || 
  11. !defined(MACHINESLIST) || 
  12. !defined(CAPABILITIES) || 
  13. !defined(MACHINE) || 
  14.         !defined(REFERER)
  15. #error "Some required macro is missing."
  16. #endif
  17. MACHINE(
  18. INTEGER(state)
  19. INTEGER(connect_handle)
  20. INTEGER(resume_handle)
  21. INTEGER(session_id)
  22. ADDRTUPLE(addr_tuple)
  23. CAPABILITIES(request_caps)
  24. CAPABILITIES(reply_caps)
  25. INTEGER(MOR_push)
  26. INTEGER(client_SDU_size)
  27. HTTPHEADERS(http_headers)
  28. COOKIES(cookies)
  29.         REFERER(referer_url)
  30. MACHINESLIST(methodmachines)
  31.         MACHINESLIST(pushmachines)
  32. )
  33. #undef INTEGER
  34. #undef OCTSTR
  35. #undef HTTPHEADERS
  36. #undef ADDRTUPLE
  37. #undef MACHINESLIST
  38. #undef MACHINE
  39. #undef COOKIES
  40. #undef CAPABILITIES
  41. #undef REFERER