summaryrefslogtreecommitdiff
path: root/ext/notes
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-08-05 01:43:02 +0000
committerZeev Suraski <zeev@php.net>2001-08-05 01:43:02 +0000
commit1159c84ab7849099d4a717cd05c2d920102040ed (patch)
treeed4e48bb27e2ce5de5972fc3a29c1d24c818467a /ext/notes
parentfcc035108f7b8d2e169c5a592227b3df84d0573e (diff)
downloadphp-git-1159c84ab7849099d4a717cd05c2d920102040ed.tar.gz
- TSRMLS_FETCH work
- whitespace fixes
Diffstat (limited to 'ext/notes')
-rw-r--r--ext/notes/php_notes.c27
1 files changed, 18 insertions, 9 deletions
diff --git a/ext/notes/php_notes.c b/ext/notes/php_notes.c
index 210107fd8a..4b42040c38 100644
--- a/ext/notes/php_notes.c
+++ b/ext/notes/php_notes.c
@@ -476,7 +476,8 @@ STATUS UndoUnreadStatus (
Mark a note_id as read for the User user_name
Note: user_name must be fully distinguished user name
*/
-PHP_FUNCTION(notes_mark_read){
+PHP_FUNCTION(notes_mark_read)
+{
int argc;
int ActionCount;
@@ -570,7 +571,8 @@ PHP_FUNCTION(notes_mark_read){
Mark a note_id as unread for the User user_name
Note: user_name must be fully distinguished user name
*/
-PHP_FUNCTION(notes_mark_unread){
+PHP_FUNCTION(notes_mark_unread)
+{
int argc;
int ActionCount;
@@ -898,7 +900,8 @@ STATUS UndoUnreadStatus (
/* {{{ proto string notes_unread(string database_name, string user_name)
Returns the unread note id's for the current User user_name
Note: user_name must be fully distinguished user name*/
-PHP_FUNCTION(notes_unread){
+PHP_FUNCTION(notes_unread)
+{
int argc;
pval *argv[2];
@@ -1020,7 +1023,8 @@ STATUS near pascal GetUniqueFileName(char *Drive, char *Ext, char *FileName);
priority H: High N: Normal L: Low
receipt 1: Yes 0: No
subject*/
-PHP_FUNCTION(notes_header_info){
+PHP_FUNCTION(notes_header_info)
+{
int argc;
pval *argv[3];
@@ -1254,7 +1258,8 @@ STATUS near pascal GetUniqueFileName(char *Drive, char *Ext,
/* {{{ proto array notes_body(string server, string mailbox, int msg_number)
Open the message msg_number in the specified mailbox on the specified server (leave server
blank for local) and returns an array of body text lines. */
-PHP_FUNCTION(notes_body){
+PHP_FUNCTION(notes_body)
+{
int argc;
pval *argv[3];
@@ -1454,7 +1459,8 @@ PHP_FUNCTION(notes_body){
FILTER
FIELD
*/
-PHP_FUNCTION(notes_find_note){
+PHP_FUNCTION(notes_find_note)
+{
int argc;
pval *argv[3];
@@ -1542,7 +1548,8 @@ PHP_FUNCTION(notes_find_note){
/* {{{ proto bool notes_nav_create(string database_name, string name )
Create a navigator name, in database_name */
-PHP_FUNCTION(notes_nav_create){
+PHP_FUNCTION(notes_nav_create)
+{
int argc;
pval *argv[2];
@@ -1742,7 +1749,8 @@ STATUS LNPUBLIC file_action (void *, SEARCH_MATCH *, ITEM_TABLE *);
STATUS LNPUBLIC print_file_summary (ITEM_TABLE *);
-PHP_FUNCTION(notes_search){
+PHP_FUNCTION(notes_search)
+{
int argc;
pval *argv[2];
@@ -2267,7 +2275,8 @@ char ItemText[MAX_ITEM_LEN]; /* Text rendering of item value */
char ItemName[MAX_ITEM_NAME_LEN];/* Zero terminated item name */
-PHP_FUNCTION(notes_list_msgs){
+PHP_FUNCTION(notes_list_msgs)
+{
int argc;
pval *argv[1];