diff options
author | Hartmut Holzgraefe <hholzgra@php.net> | 2000-04-15 20:35:09 +0000 |
---|---|---|
committer | Hartmut Holzgraefe <hholzgra@php.net> | 2000-04-15 20:35:09 +0000 |
commit | 3bc8debefe30aec801ee75878eba3ab6be00f301 (patch) | |
tree | 1b86a88b5bfbfd968f87e5f2a7b747c6a0202b27 /ext/calendar/php_calendar.h | |
parent | 3ee4f3ea7e862a61c74312e217067387d7f92f63 (diff) | |
download | php-git-3bc8debefe30aec801ee75878eba3ab6be00f301.tar.gz |
made calendar a real extension instead of a dl one only
Diffstat (limited to 'ext/calendar/php_calendar.h')
-rw-r--r-- | ext/calendar/php_calendar.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/ext/calendar/php_calendar.h b/ext/calendar/php_calendar.h new file mode 100644 index 0000000000..b630d9c4e1 --- /dev/null +++ b/ext/calendar/php_calendar.h @@ -0,0 +1,34 @@ +#ifndef _INCLUDED_CALENDAR_H +#define _INCLUDED_CALENDAR_H + + + +extern zend_module_entry calendar_module_entry; +#define calendar_module_ptr & calendar_module_entry + + + +/* Functions */ + +PHP_MINIT_FUNCTION(calendar); +PHP_RINIT_FUNCTION(calendar); +PHP_RSHUTDOWN_FUNCTION(calendar); +PHP_MINFO_FUNCTION(calendar); + +PHP_FUNCTION(jdtogregorian); +PHP_FUNCTION(gregoriantojd); +PHP_FUNCTION(jdtojulian); +PHP_FUNCTION(juliantojd); +PHP_FUNCTION(jdtojewish); +PHP_FUNCTION(jewishtojd); +PHP_FUNCTION(jdtofrench); +PHP_FUNCTION(frenchtojd); +PHP_FUNCTION(jddayofweek); +PHP_FUNCTION(jdmonthname); +PHP_FUNCTION(easter_days); +PHP_FUNCTION(easter_date); + + +#define phpext_calendar_ptr calendar_module_ptr + +#endif |