php-src/ext/icap/php_icap.h
1999-12-17 22:01:09 +00:00

55 lines
1023 B
C

/* $Id$ */
#ifndef _INCLUDED_ICAP_H
#define _INCLUDED_ICAP_H
#if COMPILE_DL
#undef HAVE_ICAP
#define HAVE_ICAP 1
#endif
#if HAVE_ICAP
#ifdef THREAD_SAFE
#include "tls.h"
#endif
#ifndef MSVC5
#include "build-defs.h"
#endif
extern PHP_MINIT_FUNCTION(icap);
PHP_MINFO_FUNCTION(icap);
/* Functions accessable to PHP */
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
extern int icap_init_request(INIT_FUNC_ARGS);
extern int icap_end_request(void);
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);
#else
#define php_icap_module_ptr NULL
#endif /* HAVE_ICAP */
#endif