1999-09-01 20:30:27 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
2000-07-03 00:41:19 +00:00
|
|
|
#ifndef PHP_MCAL_H
|
|
|
|
#define PHP_MCAL_H
|
1999-09-01 20:30:27 +00:00
|
|
|
|
|
|
|
#if HAVE_MCAL
|
|
|
|
|
|
|
|
/* Functions accessable to PHP */
|
1999-12-18 11:49:31 +00:00
|
|
|
extern zend_module_entry php_mcal_module_entry;
|
|
|
|
#define php_mcal_module_ptr &php_mcal_module_entry
|
1999-09-10 18:15:29 +00:00
|
|
|
|
1999-09-01 20:30:27 +00:00
|
|
|
extern int mcal_init_request(INIT_FUNC_ARGS);
|
|
|
|
extern int mcal_end_request(void);
|
2001-08-07 20:13:54 +00:00
|
|
|
|
|
|
|
PHP_MINIT_FUNCTION(mcal);
|
|
|
|
PHP_MINFO_FUNCTION(mcal);
|
1999-12-18 11:49:31 +00:00
|
|
|
|
|
|
|
PHP_FUNCTION(mcal_open);
|
|
|
|
PHP_FUNCTION(mcal_popen);
|
|
|
|
PHP_FUNCTION(mcal_reopen);
|
|
|
|
PHP_FUNCTION(mcal_close);
|
|
|
|
PHP_FUNCTION(mcal_fetch_event);
|
|
|
|
PHP_FUNCTION(mcal_list_events);
|
|
|
|
PHP_FUNCTION(mcal_create_calendar);
|
|
|
|
PHP_FUNCTION(mcal_rename_calendar);
|
|
|
|
PHP_FUNCTION(mcal_delete_calendar);
|
2000-02-26 03:09:11 +00:00
|
|
|
PHP_FUNCTION(mcal_append_event);
|
1999-12-18 11:49:31 +00:00
|
|
|
PHP_FUNCTION(mcal_store_event);
|
|
|
|
PHP_FUNCTION(mcal_delete_event);
|
|
|
|
PHP_FUNCTION(mcal_snooze);
|
|
|
|
PHP_FUNCTION(mcal_list_alarms);
|
|
|
|
PHP_FUNCTION(mcal_event_set_category);
|
|
|
|
PHP_FUNCTION(mcal_event_set_title);
|
|
|
|
PHP_FUNCTION(mcal_event_set_description);
|
|
|
|
PHP_FUNCTION(mcal_event_set_start);
|
|
|
|
PHP_FUNCTION(mcal_event_set_end);
|
|
|
|
PHP_FUNCTION(mcal_event_set_alarm);
|
|
|
|
PHP_FUNCTION(mcal_event_set_class);
|
2000-03-05 05:36:34 +00:00
|
|
|
PHP_FUNCTION(mcal_event_add_attribute);
|
1999-12-18 11:49:31 +00:00
|
|
|
PHP_FUNCTION(mcal_is_leap_year);
|
|
|
|
PHP_FUNCTION(mcal_days_in_month);
|
|
|
|
PHP_FUNCTION(mcal_date_valid);
|
|
|
|
PHP_FUNCTION(mcal_time_valid);
|
|
|
|
PHP_FUNCTION(mcal_day_of_week);
|
|
|
|
PHP_FUNCTION(mcal_day_of_year);
|
2000-03-11 02:15:14 +00:00
|
|
|
PHP_FUNCTION(mcal_week_of_year);
|
1999-12-18 11:49:31 +00:00
|
|
|
PHP_FUNCTION(mcal_date_compare);
|
|
|
|
PHP_FUNCTION(mcal_event_init);
|
|
|
|
PHP_FUNCTION(mcal_next_recurrence);
|
2000-02-26 03:09:11 +00:00
|
|
|
PHP_FUNCTION(mcal_event_set_recur_none);
|
1999-12-18 11:49:31 +00:00
|
|
|
PHP_FUNCTION(mcal_event_set_recur_daily);
|
|
|
|
PHP_FUNCTION(mcal_event_set_recur_weekly);
|
|
|
|
PHP_FUNCTION(mcal_event_set_recur_monthly_mday);
|
|
|
|
PHP_FUNCTION(mcal_event_set_recur_monthly_wday);
|
|
|
|
PHP_FUNCTION(mcal_event_set_recur_yearly);
|
|
|
|
PHP_FUNCTION(mcal_fetch_current_stream_event);
|
1999-09-01 20:30:27 +00:00
|
|
|
|
|
|
|
#else
|
1999-12-18 11:49:31 +00:00
|
|
|
#define php_mcal_module_ptr NULL
|
1999-09-01 20:30:27 +00:00
|
|
|
#endif /* HAVE_MCAL */
|
|
|
|
|
2001-08-07 20:13:54 +00:00
|
|
|
#define phpext_mcal_ptr php_mcal_module_ptr
|
1999-09-01 20:30:27 +00:00
|
|
|
|
|
|
|
#endif
|