You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

103 lines
2.3 KiB

  1. #ifndef _INCLUDED_IMAP_H
  2. #define _INCLUDED_IMAP_H
  3. #if COMPILE_DL
  4. #undef HAVE_IMAP
  5. #define HAVE_IMAP 1
  6. #endif
  7. #if HAVE_IMAP
  8. #ifndef PHP_WIN32
  9. #include "build-defs.h"
  10. #endif
  11. /* Functions accessable to PHP */
  12. extern zend_module_entry imap_module_entry;
  13. #define imap_module_ptr &imap_module_entry
  14. extern PHP_MINIT_FUNCTION(imap);
  15. extern PHP_RINIT_FUNCTION(imap);
  16. extern PHP_RSHUTDOWN_FUNCTION(imap);
  17. PHP_MINFO_FUNCTION(imap);
  18. PHP_FUNCTION(imap_open);
  19. PHP_FUNCTION(imap_popen);
  20. PHP_FUNCTION(imap_reopen);
  21. PHP_FUNCTION(imap_num_msg);
  22. PHP_FUNCTION(imap_num_recent);
  23. PHP_FUNCTION(imap_headers);
  24. PHP_FUNCTION(imap_headerinfo);
  25. PHP_FUNCTION(imap_rfc822_parse_headers);
  26. PHP_FUNCTION(imap_body);
  27. PHP_FUNCTION(imap_fetchstructure);
  28. PHP_FUNCTION(imap_fetchbody);
  29. PHP_FUNCTION(imap_expunge);
  30. PHP_FUNCTION(imap_delete);
  31. PHP_FUNCTION(imap_undelete);
  32. PHP_FUNCTION(imap_check);
  33. PHP_FUNCTION(imap_close);
  34. PHP_FUNCTION(imap_mail_copy);
  35. PHP_FUNCTION(imap_mail_move);
  36. PHP_FUNCTION(imap_createmailbox);
  37. PHP_FUNCTION(imap_renamemailbox);
  38. PHP_FUNCTION(imap_deletemailbox);
  39. PHP_FUNCTION(imap_listmailbox);
  40. PHP_FUNCTION(imap_scanmailbox);
  41. PHP_FUNCTION(imap_subscribe);
  42. PHP_FUNCTION(imap_unsubscribe);
  43. PHP_FUNCTION(imap_append);
  44. PHP_FUNCTION(imap_ping);
  45. PHP_FUNCTION(imap_base64);
  46. PHP_FUNCTION(imap_qprint);
  47. PHP_FUNCTION(imap_8bit);
  48. PHP_FUNCTION(imap_binary);
  49. PHP_FUNCTION(imap_mailboxmsginfo);
  50. PHP_FUNCTION(imap_rfc822_write_address);
  51. PHP_FUNCTION(imap_rfc822_parse_adrlist);
  52. PHP_FUNCTION(imap_setflag_full);
  53. PHP_FUNCTION(imap_clearflag_full);
  54. PHP_FUNCTION(imap_sort);
  55. PHP_FUNCTION(imap_fetchheader);
  56. PHP_FUNCTION(imap_fetchtext);
  57. PHP_FUNCTION(imap_uid);
  58. PHP_FUNCTION(imap_msgno);
  59. PHP_FUNCTION(imap_list);
  60. PHP_FUNCTION(imap_list_full);
  61. PHP_FUNCTION(imap_listscan);
  62. PHP_FUNCTION(imap_lsub);
  63. PHP_FUNCTION(imap_lsub_full);
  64. PHP_FUNCTION(imap_create);
  65. PHP_FUNCTION(imap_rename);
  66. PHP_FUNCTION(imap_status);
  67. PHP_FUNCTION(imap_bodystruct);
  68. PHP_FUNCTION(imap_fetch_overview);
  69. PHP_FUNCTION(imap_mail_compose);
  70. PHP_FUNCTION(imap_alerts);
  71. PHP_FUNCTION(imap_errors);
  72. PHP_FUNCTION(imap_last_error);
  73. PHP_FUNCTION(imap_mail);
  74. PHP_FUNCTION(imap_search);
  75. PHP_FUNCTION(imap_utf8);
  76. PHP_FUNCTION(imap_utf7_decode);
  77. PHP_FUNCTION(imap_utf7_encode);
  78. PHP_FUNCTION(imap_mime_header_decode);
  79. #else
  80. #define imap_module_ptr NULL
  81. #endif /* HAVE_IMAP */
  82. #endif
  83. #define phpext_imap_ptr imap_module_ptr