]> granicus.if.org Git - php/commitdiff
Proto fixes (Friedhelm Betz <holliwell|gmx.net>)
authorMarcus Boerger <helly@php.net>
Thu, 13 Nov 2003 19:08:41 +0000 (19:08 +0000)
committerMarcus Boerger <helly@php.net>
Thu, 13 Nov 2003 19:08:41 +0000 (19:08 +0000)
ext/dba/dba.c

index 44deb75af8b399d711eeb3e470f8e68dbf58df00..72adca6f52aab8782fef74693b174f36ebdeac4d 100644 (file)
@@ -852,7 +852,7 @@ PHP_FUNCTION(dba_close)
 }
 /* }}} */
 
-/* {{{ proto bool dba_exists(string key, int handle)
+/* {{{ proto bool dba_exists(string key, resource handle)
    Checks, if the specified key exists */
 PHP_FUNCTION(dba_exists)
 {
@@ -867,7 +867,7 @@ PHP_FUNCTION(dba_exists)
 }
 /* }}} */
 
-/* {{{ proto string dba_fetch(string key, [int skip ,] int handle)
+/* {{{ proto string dba_fetch(string key, [int skip ,] resource handle)
    Fetches the data associated with key */
 PHP_FUNCTION(dba_fetch)
 {
@@ -941,7 +941,7 @@ PHP_FUNCTION(dba_key_split)
 }
 /* }}} */
 
-/* {{{ proto string dba_firstkey(int handle)
+/* {{{ proto string dba_firstkey(resource handle)
    Resets the internal key pointer and returns the first key */
 PHP_FUNCTION(dba_firstkey)
 {
@@ -956,7 +956,7 @@ PHP_FUNCTION(dba_firstkey)
 }
 /* }}} */
 
-/* {{{ proto string dba_nextkey(int handle)
+/* {{{ proto string dba_nextkey(resource handle)
    Returns the next key */
 PHP_FUNCTION(dba_nextkey)
 {
@@ -971,7 +971,7 @@ PHP_FUNCTION(dba_nextkey)
 }
 /* }}} */
 
-/* {{{ proto bool dba_delete(string key, int handle)
+/* {{{ proto bool dba_delete(string key, resource handle)
    Deletes the entry associated with key
    If inifile: remove all other key lines */
 PHP_FUNCTION(dba_delete)
@@ -990,7 +990,7 @@ PHP_FUNCTION(dba_delete)
 }
 /* }}} */
 
-/* {{{ proto bool dba_insert(string key, string value, int handle)
+/* {{{ proto bool dba_insert(string key, string value, resource handle)
    If not inifile: Insert value as key, return false, if key exists already 
    If inifile: Add vakue as key (next instance of key) */
 PHP_FUNCTION(dba_insert)
@@ -999,7 +999,7 @@ PHP_FUNCTION(dba_insert)
 }
 /* }}} */
 
-/* {{{ proto bool dba_replace(string key, string value, int handle)
+/* {{{ proto bool dba_replace(string key, string value, resource handle)
    Inserts value as key, replaces key, if key exists already
    If inifile: remove all other key lines */
 PHP_FUNCTION(dba_replace)
@@ -1008,7 +1008,7 @@ PHP_FUNCTION(dba_replace)
 }
 /* }}} */
 
-/* {{{ proto bool dba_optimize(int handle)
+/* {{{ proto bool dba_optimize(resource handle)
    Optimizes (e.g. clean up, vacuum) database */
 PHP_FUNCTION(dba_optimize)
 {
@@ -1022,7 +1022,7 @@ PHP_FUNCTION(dba_optimize)
 }
 /* }}} */
 
-/* {{{ proto bool dba_sync(int handle)
+/* {{{ proto bool dba_sync(resource handle)
    Synchronizes database */
 PHP_FUNCTION(dba_sync)
 {