diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2001-06-05 13:12:10 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2001-06-05 13:12:10 +0000 |
commit | 25c3a3a39d7aebdce95825e6af2ad8c62905b7cc (patch) | |
tree | 4d8f1ff9644c880e3b7a63a361a0db2280d8058f /ext/imap/php_imap.c | |
parent | 4efe6f7e6b53496fb1c4f6990b3ad0771bd9be67 (diff) | |
download | php-git-25c3a3a39d7aebdce95825e6af2ad8c62905b7cc.tar.gz |
vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
Diffstat (limited to 'ext/imap/php_imap.c')
-rw-r--r-- | ext/imap/php_imap.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/ext/imap/php_imap.c b/ext/imap/php_imap.c index 0bc6d1fe45..164d23ce58 100644 --- a/ext/imap/php_imap.c +++ b/ext/imap/php_imap.c @@ -81,7 +81,9 @@ void mail_close_it (zend_rsrc_list_entry *rsrc); void mail_userlogout_it(zend_rsrc_list_entry *rsrc); void mail_nuke_chain(zend_rsrc_list_entry *rsrc); #endif - + +/* {{{ imap_functions[] + */ function_entry imap_functions[] = { PHP_FE(imap_open, NULL) PHP_FE(imap_popen, NULL) @@ -157,6 +159,7 @@ function_entry imap_functions[] = { PHP_FE(imap_thread, NULL) {NULL, NULL, NULL} }; +/* }}} */ #ifdef OP_RELOGIN #define IS_STREAM(ind_type) ((ind_type)==le_imap || (ind_type)==le_pimap) @@ -424,7 +427,8 @@ static void php_imap_init_globals(zend_imap_globals *imap_globals) imap_globals->folderlist_style = FLIST_ARRAY; } - +/* {{{ PHP_MINIT_FUNCTION + */ PHP_MINIT_FUNCTION(imap) { unsigned long sa_all = SA_MESSAGES | SA_RECENT | SA_UNSEEN | @@ -634,7 +638,10 @@ PHP_MINIT_FUNCTION(imap) #endif return SUCCESS; } +/* }}} */ +/* {{{ imap_do_open + */ void imap_do_open(INTERNAL_FUNCTION_PARAMETERS, int persistent) { zval **mailbox, **user, **passwd, **options; @@ -836,6 +843,7 @@ void imap_do_open(INTERNAL_FUNCTION_PARAMETERS, int persistent) RETURN_LONG(ind); } +/* }}} */ /* {{{ proto int imap_open(string mailbox, string user, string password [, int options]) Open an IMAP stream to a mailbox */ @@ -4454,4 +4462,5 @@ PHP_FUNCTION (imap_thread) mail_free_threadnode(&top); } /* }}} */ + /* end IMAP_THREAD functionality */ |