]> granicus.if.org Git - php/commitdiff
proto fixes
authorHartmut Holzgraefe <hholzgra@php.net>
Wed, 5 Dec 2001 22:38:49 +0000 (22:38 +0000)
committerHartmut Holzgraefe <hholzgra@php.net>
Wed, 5 Dec 2001 22:38:49 +0000 (22:38 +0000)
ext/com/COM.c
ext/cyrus/cyrus.c
ext/rpc/com/com_wrapper.c

index b3af8730a211ba3616e3c3ce033309c930d920c8..a1636892325dca753ac9e36c7918257c1cbfca04 100644 (file)
@@ -945,7 +945,7 @@ PHP_FUNCTION(com_invoke)
 /* }}} */
 
 
-/* {{{ proto mixed com_invoke(int module)
+/* {{{ proto mixed com_release(int module)
    Releases a COM object */
 PHP_FUNCTION(com_release)
 {
index cd58dcc2032f21e1a26a68b88076edb14adc8ca5..ead3dff2b527926b5a14c30c2f8e119ddeab0293 100644 (file)
@@ -111,6 +111,8 @@ extern void fatal(char *s, int exit)
        php_error(E_ERROR, s);
 }
 
+/* {{{ proto resource cyrus_connect([ string host [, string port [, int flags]]])
+   Connect to a Cyrus IMAP server */
 PHP_FUNCTION(cyrus_connect)
 {
        zval            **z_host;
@@ -176,6 +178,8 @@ PHP_FUNCTION(cyrus_connect)
        ZEND_REGISTER_RESOURCE(return_value, conn, le_cyrus);
        conn->id = Z_LVAL_P(return_value);
 }
+/* }}} */
+
 
 static void cyrus_capable_callback(struct imclient *client, void *rock, 
                                    struct imclient_reply *reply)
@@ -197,6 +201,9 @@ static void cyrus_capable_callback(struct imclient *client, void *rock,
        }
 }
 
+
+/* {{{ proto bool cyrus_authenticate( resource connection [, string mechlist [, string service [, string user [, int minssf [, int maxssf]]]]])
+   Authenticate agaings a Cyrus IMAP server */
 PHP_FUNCTION(cyrus_authenticate)
 {
        zval        **z_conn;
@@ -314,6 +321,8 @@ PHP_FUNCTION(cyrus_authenticate)
        efree(service);
        efree(user);
 }
+/* }}} */
+
 
 static void cyrus_generic_callback(struct imclient *client, 
                                    void *rock, 
@@ -366,7 +375,8 @@ static void cyrus_generic_callback(struct imclient *client,
 }
 
        
-
+/* {{{ proto bool cyrus_bind( resource connection, array callbacks) 
+ Bind callbacks to a Cyrus IMAP connection */
 PHP_FUNCTION(cyrus_bind)
 {
        zval                  **z_conn;
@@ -431,7 +441,10 @@ PHP_FUNCTION(cyrus_bind)
 
        RETURN_TRUE;
 }
+/* }}} */
 
+/* proto bool cyrus_unbind( resource connection, string trigger_name)
+   Unbind ... */
 PHP_FUNCTION(cyrus_unbind)
 {
        zval        **z_conn;
@@ -450,7 +463,10 @@ PHP_FUNCTION(cyrus_unbind)
 
        RETURN_TRUE;
 }
+/* }}} */
 
+/* {{{ proto bool cyrus_qzuery( resource connection, string query) 
+   Send a query to a Cyrus IMAP server */
 PHP_FUNCTION(cyrus_query)
 {
        zval               **z_conn;
@@ -468,8 +484,10 @@ PHP_FUNCTION(cyrus_query)
 
        RETURN_TRUE;
 }
+/* }}} */
 
-
+/* {{{ proto bool cyrus_close( resource connection)
+   Close connection to a cyrus server */
 PHP_FUNCTION(cyrus_close)
 {
        zval      **z_conn;
@@ -485,7 +503,7 @@ PHP_FUNCTION(cyrus_close)
 
        RETURN_TRUE;
 }
-
+/* }}} */
 #endif
 
 
index b3af8730a211ba3616e3c3ce033309c930d920c8..a1636892325dca753ac9e36c7918257c1cbfca04 100644 (file)
@@ -945,7 +945,7 @@ PHP_FUNCTION(com_invoke)
 /* }}} */
 
 
-/* {{{ proto mixed com_invoke(int module)
+/* {{{ proto mixed com_release(int module)
    Releases a COM object */
 PHP_FUNCTION(com_release)
 {