2000-10-11 16:54:23 +00:00
|
|
|
#ifndef PHP_OVRIMOS_H
|
|
|
|
#define PHP_OVRIMOS_H
|
|
|
|
|
|
|
|
#if HAVE_LIBSQLCLI
|
|
|
|
|
|
|
|
#if PHP_API_VERSION < 19990421
|
|
|
|
#define zend_module_entry zend_module_entry
|
2001-02-26 18:14:50 +00:00
|
|
|
#include "zend_modules.h"
|
2000-10-11 16:54:23 +00:00
|
|
|
#include "internal_functions.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern zend_module_entry ovrimos_module_entry;
|
|
|
|
#define ovrimos_module_ptr &ovrimos_module_entry
|
|
|
|
|
|
|
|
PHP_FUNCTION(ovrimos_connect);
|
|
|
|
PHP_FUNCTION(ovrimos_close);
|
|
|
|
PHP_FUNCTION(ovrimos_longreadlen);
|
|
|
|
PHP_FUNCTION(ovrimos_prepare);
|
|
|
|
PHP_FUNCTION(ovrimos_execute);
|
|
|
|
PHP_FUNCTION(ovrimos_cursor);
|
|
|
|
PHP_FUNCTION(ovrimos_exec);
|
|
|
|
PHP_FUNCTION(ovrimos_fetch_into);
|
|
|
|
PHP_FUNCTION(ovrimos_fetch_row);
|
|
|
|
PHP_FUNCTION(ovrimos_result);
|
|
|
|
PHP_FUNCTION(ovrimos_result_all);
|
|
|
|
PHP_FUNCTION(ovrimos_free_result);
|
|
|
|
PHP_FUNCTION(ovrimos_num_rows);
|
|
|
|
PHP_FUNCTION(ovrimos_num_fields);
|
|
|
|
PHP_FUNCTION(ovrimos_field_name);
|
|
|
|
PHP_FUNCTION(ovrimos_field_type);
|
|
|
|
PHP_FUNCTION(ovrimos_field_len);
|
|
|
|
PHP_FUNCTION(ovrimos_field_num);
|
2001-07-26 10:11:35 +00:00
|
|
|
/*PHP_FUNCTION(ovrimos_autocommit);*/
|
2000-10-11 16:54:23 +00:00
|
|
|
PHP_FUNCTION(ovrimos_commit);
|
|
|
|
PHP_FUNCTION(ovrimos_rollback);
|
2001-07-26 10:11:35 +00:00
|
|
|
/*PHP_FUNCTION(ovrimos_setoption);*/
|
2000-10-11 16:54:23 +00:00
|
|
|
|
|
|
|
#else
|
|
|
|
#define ovrimos_module_ptr NULL
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define phpext_ovrimos_ptr ovrimos_module_ptr
|
|
|
|
|
|
|
|
#endif
|