php-src/ext/ovrimos/php_ovrimos.h
Andi Gutmans a0d3c5a88e - Finally rename modules.h to zend_modules.h for consistency (first try
was 2000-03-11).
- Remove the first_arg_force_ref[]; and friends extern from php.h as they
  are included via zend_API.h
2001-02-26 18:14:50 +00:00

46 lines
1.1 KiB
C

#ifndef PHP_OVRIMOS_H
#define PHP_OVRIMOS_H
#if HAVE_LIBSQLCLI
#if PHP_API_VERSION < 19990421
#define zend_module_entry zend_module_entry
#include "zend_modules.h"
#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_close_all);
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);
PHP_FUNCTION(ovrimos_autocommit);
PHP_FUNCTION(ovrimos_commit);
PHP_FUNCTION(ovrimos_rollback);
PHP_FUNCTION(ovrimos_setoption);
#else
#define ovrimos_module_ptr NULL
#endif
#define phpext_ovrimos_ptr ovrimos_module_ptr
#endif