summaryrefslogtreecommitdiff
path: root/ext/db
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2002-06-29 00:40:34 +0000
committerfoobar <sniper@php.net>2002-06-29 00:40:34 +0000
commit0ffb2c25cf462307a012dd81f3909b58e87f6f7d (patch)
treec88d7dc2341618a72e68358e38412a4012a99c2a /ext/db
parent999d9aa10f9fb43e95c93baba14feb068ade3313 (diff)
downloadphp-git-0ffb2c25cf462307a012dd81f3909b58e87f6f7d.tar.gz
Missing TSRMLS_* stuff
Diffstat (limited to 'ext/db')
-rw-r--r--ext/db/db.c8
-rw-r--r--ext/db/php_db.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/ext/db/db.c b/ext/db/db.c
index cf9c0afc91..fc9ec2d23c 100644
--- a/ext/db/db.c
+++ b/ext/db/db.c
@@ -688,14 +688,14 @@ PHP_FUNCTION(dbmexists)
RETURN_FALSE;
}
- ret = php_dbm_exists(info, Z_STRVAL_P(key));
+ ret = php_dbm_exists(info, Z_STRVAL_P(key) TSRMLS_CC);
RETURN_LONG(ret);
}
/* }}} */
/* {{{ php_dbm_exists
*/
-int php_dbm_exists(dbm_info *info, char *key) {
+int php_dbm_exists(dbm_info *info, char *key TSRMLS_DC) {
datum key_datum;
int ret;
DBM_TYPE dbf;
@@ -784,7 +784,7 @@ PHP_FUNCTION(dbmfirstkey)
RETURN_FALSE;
}
- ret = php_dbm_first_key(info);
+ ret = php_dbm_first_key(info TSRMLS_CC);
if (!ret) {
RETURN_FALSE;
} else {
@@ -795,7 +795,7 @@ PHP_FUNCTION(dbmfirstkey)
/* {{{ php_dbm_first_key
*/
-char *php_dbm_first_key(dbm_info *info) {
+char *php_dbm_first_key(dbm_info *info TSRMLS_DC) {
datum ret_datum;
char *ret;
DBM_TYPE dbf;
diff --git a/ext/db/php_db.h b/ext/db/php_db.h
index 8fc598a57f..12e06595fd 100644
--- a/ext/db/php_db.h
+++ b/ext/db/php_db.h
@@ -57,9 +57,9 @@ dbm_info *php_dbm_open(char *filename, char *mode TSRMLS_DC);
int php_dbm_insert(dbm_info *info, char *key, char *value TSRMLS_DC);
char *php_dbm_fetch(dbm_info *info, char *key TSRMLS_DC);
int php_dbm_replace(dbm_info *info, char *key, char *value TSRMLS_DC);
-int php_dbm_exists(dbm_info *info, char *key);
-int php_dbm_delete(dbm_info *info, char *key);
-char *php_dbm_first_key(dbm_info *info);
+int php_dbm_exists(dbm_info *info, char *key TSRMLS_DC);
+int php_dbm_delete(dbm_info *info, char *key TSRMLS_DC);
+char *php_dbm_first_key(dbm_info *info TSRMLS_DC);
char *php_dbm_nextkey(dbm_info *info, char *key TSRMLS_DC);
/* db file functions */