Searched refs:sql_func (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/sqlite3/
H A Dsqlite3.c931 char *sql_func, *callback_name; local
939 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz|l", &sql_func, &sql_func_len, &callback_func, &sql_func_num_args) == FAILURE) {
956 if (sqlite3_create_function(db_obj->db, sql_func, sql_func_num_args, SQLITE_UTF8, func, php_sqlite3_callback_func, NULL, NULL) == SQLITE_OK) {
957 func->func_name = estrdup(sql_func);
981 char *sql_func, *callback_name; local
989 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "szz|l", &sql_func, &sql_func_len, &step_callback, &fini_callback, &sql_func_num_args) == FAILURE) {
1013 if (sqlite3_create_function(db_obj->db, sql_func, sql_func_num_args, SQLITE_UTF8, func, NULL, php_sqlite3_callback_step, php_sqlite3_callback_final) == SQLITE_OK) {
1014 func->func_name = estrdup(sql_func);

Completed in 5 milliseconds