cvs: /php3/functions imsp.c
| From: | Egon Schmid | Date: | Sun, 21 Nov 1999 09:31:37 +0000 |
| Subject: | cvs: /php3/functions imsp.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-12847@lists.php.net to get a copy of this message | ||
eschmid Sun Nov 21 04:31:37 1999 EDT
Modified files:
/php3/functions imsp.c
Log:
Reduced to two lines.
Index: php3/functions/imsp.c
diff -u php3/functions/imsp.c:1.2 php3/functions/imsp.c:1.3
--- php3/functions/imsp.c:1.2 Mon Aug 9 15:41:17 1999
+++ php3/functions/imsp.c Sun Nov 21 04:31:36 1999
@@ -26,7 +26,7 @@
| Authors: Charles Hagenbuch <chuck@horde.org> |
+----------------------------------------------------------------------+
*/
-/* $Id: imsp.c,v 1.2 1999/08/09 19:41:17 eschmid Exp $ */
+/* $Id: imsp.c,v 1.3 1999/11/21 09:31:36 eschmid Exp $ */
#ifdef ERROR
#undef ERROR
@@ -279,7 +279,6 @@
return SUCCESS;
}
-
/* {{{ proto int imsp_open(string user, string password, string hostname)
Open an IMSP stream */
void php3_imsp_open (INTERNAL_FUNCTION_PARAMETERS)
@@ -318,7 +317,6 @@
}
/* }}} */
-
/* {{{ proto int imsp_close(int stream_id)
Close an IMSP stream */
void php3_imsp_close (INTERNAL_FUNCTION_PARAMETERS)
@@ -343,11 +341,9 @@
RETURN_TRUE;
}
/* }}} */
-
-/* {{{ proto array imsp_option_get (int stream_id, string pattern)
- Retrieve options matching the pattern from the IMSP server and
- returns an associative array mapping keys => values */
+/* {{{ proto array imsp_option_get(int stream_id, string pattern)
+ Retrieve options matching the pattern from the IMSP server and returns an associative array
mapping keys => values */
void php3_imsp_option_get (INTERNAL_FUNCTION_PARAMETERS)
{
pval *streamind, *pattern;
@@ -385,8 +381,7 @@
}
/* }}} */
-
-/* {{{ proto array imsp_option_set (int stream_id, string option, string value)
+/* {{{ proto array imsp_option_set(int stream_id, string option, string value)
Sets <option> to <value> */
void php3_imsp_option_set (INTERNAL_FUNCTION_PARAMETERS)
{
@@ -422,9 +417,8 @@
}
}
/* }}} */
-
-/* {{{ proto array imsp_option_unset (int stream_id, string option)
+/* {{{ proto array imsp_option_unset(int stream_id, string option)
Unsets <option> */
void php3_imsp_option_unset (INTERNAL_FUNCTION_PARAMETERS)
{
@@ -460,7 +454,6 @@
}
/* }}} */
-
/* {{{ proto int imsp_abook_create(int stream_id, string addressbook_name)
Create an IMSP addressbook */
void php3_imsp_abook_create (INTERNAL_FUNCTION_PARAMETERS)
@@ -493,7 +486,6 @@
}
/* }}} */
-
/* {{{ proto int imsp_abook_delete(int stream_id, string addressbook_name)
Delete an IMSP addressbook */
void php3_imsp_abook_delete (INTERNAL_FUNCTION_PARAMETERS)
@@ -526,7 +518,6 @@
}
/* }}} */
-
/* {{{ proto int imsp_abook_find(int stream_id, string pattern)
List all accessible IMSP addressbooks matching "pattern" */
void php3_imsp_abook_find (INTERNAL_FUNCTION_PARAMETERS)
@@ -579,7 +570,6 @@
}
/* }}} */
-
/* {{{ proto int imsp_abook_rename(int stream_id, string old_name, string new_name)
Rename an IMSP addressbook */
void php3_imsp_abook_rename (INTERNAL_FUNCTION_PARAMETERS)
@@ -613,7 +603,6 @@
}
/* }}} */
-
/* {{{ proto int imsp_abook_getlist(int stream_id, string addressbook)
List all addresses in an IMSP addressbook */
void php3_imsp_abook_getlist (INTERNAL_FUNCTION_PARAMETERS)
@@ -666,7 +655,6 @@
}
/* }}} */
-
/* {{{ proto int imsp_abook_search(int stream_id, string addressbook, string pattern, array
criteria)
List all addresses in an IMSP addressbook */
void php3_imsp_abook_search (INTERNAL_FUNCTION_PARAMETERS)
@@ -750,7 +738,6 @@
}
/* }}} */
-
/* {{{ proto int imsp_abook_fetch(int stream_id, string addressbook, string name)
Fetch the information for "name" from the specified IMSP addressbook */
void php3_imsp_abook_fetch (INTERNAL_FUNCTION_PARAMETERS)
@@ -801,7 +788,6 @@
}
/* }}} */
-
/* {{{ proto int imsp_abook_lock(int stream_id, string addressbook, string name)
Lock the specified IMSP addressbook entry */
void php3_imsp_abook_lock (INTERNAL_FUNCTION_PARAMETERS)
@@ -841,7 +827,6 @@
}
/* }}} */
-
/* {{{ proto int imsp_abook_unlock(int stream_id, string addressbook, string name)
Unlock an address in an IMSP addressbook */
void php3_imsp_abook_unlock (INTERNAL_FUNCTION_PARAMETERS)
@@ -878,10 +863,8 @@
}
/* }}} */
-
/* {{{ proto int imsp_abook_store(int stream_id, string abook, string name, array field_data)
- Stores the address "name" with fields specified by the field_data
- array in the specified IMSP addressbook */
+ Stores the address "name" with fields specified by the field_data array in the
specified IMSP addressbook */
void php3_imsp_abook_store (INTERNAL_FUNCTION_PARAMETERS)
{
pval *streamind, *addressbook, *name, *field_data, *tmp;
@@ -949,7 +932,6 @@
}
/* }}} */
-
/* {{{ proto int imsp_abook_delete_entry(int stream_id, string addressbook, string name)
Delete specified IMSP addressbook entry */
void php3_imsp_abook_deleteent (INTERNAL_FUNCTION_PARAMETERS)
@@ -1026,19 +1008,15 @@
}
/* }}} */
-
-
/* IMSP Interfaces */
void mm_mailbox (char *string)
{
}
-
void mm_bboard (char *string)
{
}
-
void mm_addressbook(SUPPORTSTREAM *stream, char *abook_name, char sep_char)
{
ABOOKLIST *cur = NIL;
@@ -1061,7 +1039,6 @@
}
}
-
void mm_address(abook *ab, char *address_name, keyvalue *kv, int count)
{
ADDRESSLIST *cur = NIL;
@@ -1116,7 +1093,6 @@
cur->next = NIL;
}
}
-
/* Interfaces to C-client */
/* Only include these if we don't have IMAP support. Otherwise the IMAP module will cover
them. */