summaryrefslogtreecommitdiff
path: root/ext/notes/php_notes.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-02-16 21:36:30 +0000
committerZeev Suraski <zeev@php.net>2001-02-16 21:36:30 +0000
commit392e9869ee61e6446aadc3d996a8b051eafb055a (patch)
tree45adf0e212d1e5d8d0f143939602b08c3cc62759 /ext/notes/php_notes.h
parent7911be587b8ce80fc3147a9cb25ac4f0dcee99b6 (diff)
downloadphp-git-392e9869ee61e6446aadc3d996a8b051eafb055a.tar.gz
import notes modules from Brad Atkins
Diffstat (limited to 'ext/notes/php_notes.h')
-rw-r--r--ext/notes/php_notes.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/ext/notes/php_notes.h b/ext/notes/php_notes.h
new file mode 100644
index 0000000000..8ed7b183a1
--- /dev/null
+++ b/ext/notes/php_notes.h
@@ -0,0 +1,47 @@
+/*
+ +----------------------------------------------------------------------+
+ | PHP version 4.0 |
+ +----------------------------------------------------------------------+
+ | Copyright (c) 1997, 1998, 1999, 2000 The PHP Group |
+ +----------------------------------------------------------------------+
+ | This source file is subject to version 2.01 of the PHP license, |
+ | that is bundled with this package in the file LICENSE, and is |
+ | available at through the world-wide-web at |
+ | http://www.php.net/license/2_01.txt. |
+ | If you did not receive a copy of the PHP license and are unable to |
+ | obtain it through the world-wide-web, please send a note to |
+ | license@php.net so we can mail you a copy immediately. |
+ +----------------------------------------------------------------------+
+ | Authors: Brad Atkins <brad@youreshop.com> |
+ +----------------------------------------------------------------------+
+*/
+
+
+/* $Id$ */
+
+extern zend_module_entry notes_module_entry;
+
+#define notes_module_ptr &notes_module_entry
+
+extern PHP_MINIT_FUNCTION(notes);
+extern PHP_MSHUTDOWN_FUNCTION(notes);
+extern PHP_RINIT_FUNCTION(notes);
+extern PHP_RSHUTDOWN_FUNCTION(notes);
+PHP_MINFO_FUNCTION(notes);
+
+PHP_FUNCTION(notes_create_db);
+PHP_FUNCTION(notes_drop_db);
+PHP_FUNCTION(notes_version);
+PHP_FUNCTION(notes_create_note);
+PHP_FUNCTION(notes_unread);
+PHP_FUNCTION(notes_mark_read);
+PHP_FUNCTION(notes_mark_unread);
+PHP_FUNCTION(notes_header_info);
+PHP_FUNCTION(notes_body);
+PHP_FUNCTION(notes_find_note);
+PHP_FUNCTION(notes_nav_create);
+PHP_FUNCTION(notes_search);
+PHP_FUNCTION(notes_copy_db);
+PHP_FUNCTION(notes_list_msgs);
+
+#define phpext_notes_ptr notes_module_ptr