php-src/ext/icap/php_icap.h

43 lines
908 B
C
Raw Normal View History

1999-08-09 21:22:11 +00:00
/* $Id$ */
#ifndef PHP_ICAP_H
#define PHP_ICAP_H
1999-08-09 21:22:11 +00:00
#if HAVE_ICAP
#ifndef PHP_WIN32
1999-08-09 21:22:11 +00:00
#include "build-defs.h"
#endif
1999-08-24 20:56:02 +00:00
extern PHP_MINIT_FUNCTION(icap);
PHP_MINFO_FUNCTION(icap);
1999-08-09 21:22:11 +00:00
/* Functions accessable to PHP */
1999-12-17 22:01:09 +00:00
extern zend_module_entry php_icap_module_entry;
#define php_icap_module_ptr &php_icap_module_entry
#define phpext_icap_ptr php_icap_module_ptr
1999-08-09 21:22:11 +00:00
extern int icap_init_request(INIT_FUNC_ARGS);
extern int icap_end_request(void);
1999-12-17 22:01:09 +00:00
PHP_FUNCTION(icap_open);
PHP_FUNCTION(icap_popen);
PHP_FUNCTION(icap_reopen);
PHP_FUNCTION(icap_close);
PHP_FUNCTION(icap_fetch_event);
PHP_FUNCTION(icap_list_events);
PHP_FUNCTION(icap_create_calendar);
PHP_FUNCTION(icap_rename_calendar);
PHP_FUNCTION(icap_delete_calendar);
PHP_FUNCTION(icap_store_event);
PHP_FUNCTION(icap_delete_event);
PHP_FUNCTION(icap_snooze);
PHP_FUNCTION(icap_list_alarms);
1999-08-09 21:22:11 +00:00
#else
1999-12-17 22:01:09 +00:00
#define php_icap_module_ptr NULL
1999-08-09 21:22:11 +00:00
#endif /* HAVE_ICAP */
#endif