summaryrefslogtreecommitdiff
path: root/ext/calendar/php_calendar.h
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2000-04-15 20:35:09 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2000-04-15 20:35:09 +0000
commit3bc8debefe30aec801ee75878eba3ab6be00f301 (patch)
tree1b86a88b5bfbfd968f87e5f2a7b747c6a0202b27 /ext/calendar/php_calendar.h
parent3ee4f3ea7e862a61c74312e217067387d7f92f63 (diff)
downloadphp-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.h34
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