cvs: php4 /ext/hyperwave hw.c
| From: | Egon Schmid | Date: | Fri, 01 Dec 2000 15:03:15 +0000 |
| Subject: | cvs: php4 /ext/hyperwave hw.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-2846@lists.php.net to get a copy of this message | ||
eschmid Fri Dec 1 07:03:15 2000 EDT
Modified files:
/php4/ext/hyperwave hw.c
Log:
Fixed some protos.
Index: php4/ext/hyperwave/hw.c
diff -u php4/ext/hyperwave/hw.c:1.68 php4/ext/hyperwave/hw.c:1.69
--- php4/ext/hyperwave/hw.c:1.68 Thu Nov 23 06:44:09 2000
+++ php4/ext/hyperwave/hw.c Fri Dec 1 07:03:15 2000
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: hw.c,v 1.68 2000/11/23 14:44:09 steinm Exp $ */
+/* $Id: hw.c,v 1.69 2000/12/01 15:03:15 eschmid Exp $ */
#include <stdlib.h>
#include <errno.h>
@@ -1313,7 +1313,7 @@
/* }}} */
/* {{{ proto string hw_getobject(int link, int objid [, string linkroot])
- Returns object record */
+ Returns object record */
PHP_FUNCTION(hw_getobject) {
pval **argv[3];
int argc, link, id, type, multi;
@@ -2278,12 +2278,14 @@
}
/* }}} */
-/* {{{ proto hwdoc hw_pipedocument(int link, int objid [, array urlprefixes ] )
- Returns document with links inserted. Optionally a array with five urlprefixes
- may be passed, which will be inserted for the different types of anchors. This should
- be a named array with the following keys: HW_DEFAULT_LINK, HW_IMAGE_LINK, HW_BACKGROUND_LINK,
- HW_INTAG_LINK, and HW_APPLET_LINK.
-*/
+/* {{{ proto hwdoc hw_pipedocument(int link, int objid [, array urlprefixes])
+ Returns document with links inserted */
+
+/* Optionally a array with five urlprefixes may be passed, which will be
+ inserted for the different types of anchors. This should be a named
+ array with the following keys: HW_DEFAULT_LINK, HW_IMAGE_LINK,
+ HW_BACKGROUND_LINK, HW_INTAG_LINK, and HW_APPLET_LINK. */
+
PHP_FUNCTION(hw_pipedocument) {
pval *arg1, *arg2, *arg3;
int i, link, id, type, argc, mode;
@@ -2584,7 +2586,7 @@
/* }}} */
/* {{{ proto hwdoc hw_new_document(string objrec, string data, int size)
- Create a new document */
+ Creates a new document */
PHP_FUNCTION(hw_new_document) {
pval *arg1, *arg2, *arg3;
char *ptr;
@@ -2673,7 +2675,7 @@
/* }}} */
/* {{{ proto string hw_document_bodytag(hwdoc doc [, string prefix])
- Return bodytag prefixed by prefix */
+ Returns bodytag prefixed by prefix */
PHP_FUNCTION(hw_document_bodytag) {
pval *argv[2];
int id, type, argc;
@@ -3177,7 +3179,7 @@
/* }}} */
/* {{{ proto array hw_getobjectbyqueryobj(int link, string query, int maxhits)
- Search for query and return maxhits object records */
+ Searches for query and returns maxhits object records */
PHP_FUNCTION(hw_getobjectbyqueryobj) {
pval **arg1, **arg2, **arg3;
int link, type, maxhits;
@@ -3215,7 +3217,7 @@
/* }}} */
/* {{{ proto array hw_getobjectbyquerycoll(int link, int collid, string query, int maxhits)
- Search for query in collection and return maxhits objids */
+ Searches for query in collection and returns maxhits objids */
PHP_FUNCTION(hw_getobjectbyquerycoll) {
pval **arg1, **arg2, **arg3, **arg4;
int link, id, type, maxhits;
@@ -3260,7 +3262,7 @@
/* }}} */
/* {{{ proto array hw_getobjectbyquerycollobj(int link, int collid, string query, int maxhits)
- Search for query in collection and return maxhits object records */
+ Searches for query in collection and returns maxhits object records */
PHP_FUNCTION(hw_getobjectbyquerycollobj) {
pval **arg1, **arg2, **arg3, **arg4;
int link, id, type, maxhits;
@@ -3300,7 +3302,7 @@
/* }}} */
/* {{{ proto array hw_getobjectbyftquery(int link, string query, int maxhits)
- Search for query as fulltext and return maxhits objids */
+ Searches for query as fulltext and returns maxhits objids */
PHP_FUNCTION(hw_getobjectbyftquery) {
pval **arg1, **arg2, **arg3;
int link, type, maxhits;
@@ -3344,7 +3346,7 @@
/* }}} */
/* {{{ proto array hw_getobjectbyftqueryobj(int link, string query, int maxhits)
- Search for query as fulltext and return maxhits object records */
+ Searches for query as fulltext and returns maxhits object records */
PHP_FUNCTION(hw_getobjectbyftqueryobj) {
pval **arg1, **arg2, **arg3;
int link, type, maxhits;
@@ -3383,7 +3385,7 @@
/* }}} */
/* {{{ proto array hw_getobjectbyftquerycoll(int link, int collid, string query, int maxhits)
- Search for fulltext query in collection and return maxhits objids */
+ Searches for fulltext query in collection and returns maxhits objids */
PHP_FUNCTION(hw_getobjectbyftquerycoll) {
pval **arg1, **arg2, **arg3, **arg4;
int link, id, type, maxhits;
@@ -3429,7 +3431,7 @@
/* }}} */
/* {{{ proto array hw_getobjectbyftquerycollobj(int link, int collid, string query, int maxhits)
- Search for fulltext query in collection and return maxhits object records */
+ Searches for fulltext query in collection and returns maxhits object records */
PHP_FUNCTION(hw_getobjectbyftquerycollobj) {
pval **arg1, **arg2, **arg3, **arg4;
int link, id, type, maxhits;
@@ -3544,7 +3546,7 @@
/* }}} */
/* {{{ proto array hw_getanchors(int link, int objid)
- Return all anchors of object */
+ Returns all anchors of object */
PHP_FUNCTION(hw_getanchors) {
pval **arg1, **arg2;
int link, id, type;
@@ -3583,7 +3585,7 @@
/* }}} */
/* {{{ proto array hw_getanchorsobj(int link, int objid)
- Return all object records of anchors of object */
+ Returns all object records of anchors of object */
PHP_FUNCTION(hw_getanchorsobj) {
pval **arg1, **arg2;
int link, id, type;
@@ -3689,7 +3691,7 @@
}
/* }}} */
-/* {{{ proto array hw_objrec2array(string objrec, [array format])
+/* {{{ proto array hw_objrec2array(string objrec [, array format])
Returns object array of object record */
PHP_FUNCTION(hw_objrec2array) {
zval **arg1, **arg2;
@@ -3941,7 +3943,7 @@
/* }}} */
/* {{{ proto string hw_getrellink(int link, int rootid, int sourceid, int destid)
- Get link from source to dest relative to rootid */
+ Gets link from source to dest relative to rootid */
PHP_FUNCTION(hw_getrellink) {
pval **arg1, **arg2, **arg3, **arg4;
int link, type;