1 /* 2 +----------------------------------------------------------------------+ 3 | PHP Version 7 | 4 +----------------------------------------------------------------------+ 5 | Copyright (c) 1997-2018 The PHP Group | 6 +----------------------------------------------------------------------+ 7 | This source file is subject to version 3.01 of the PHP license, | 8 | that is bundled with this package in the file LICENSE, and is | 9 | available through the world-wide-web at the following url: | 10 | http://www.php.net/license/3_01.txt | 11 | If you did not receive a copy of the PHP license and are unable to | 12 | obtain it through the world-wide-web, please send a note to | 13 | license@php.net so we can mail you a copy immediately. | 14 +----------------------------------------------------------------------+ 15 | Authors: Jouni Ahto <jouni.ahto@exdec.fi> | 16 | Andrew Avdeev <andy@simgts.mv.ru> | 17 | Ard Biesheuvel <a.k.biesheuvel@its.tudelft.nl> | 18 +----------------------------------------------------------------------+ 19 */ 20 21 #ifndef PHP_INTERBASE_H 22 #define PHP_INTERBASE_H 23 24 extern zend_module_entry ibase_module_entry; 25 #define phpext_interbase_ptr &ibase_module_entry 26 27 #include "php_version.h" 28 #define PHP_INTERBASE_VERSION PHP_VERSION 29 30 PHP_MINIT_FUNCTION(ibase); 31 PHP_RINIT_FUNCTION(ibase); 32 PHP_MSHUTDOWN_FUNCTION(ibase); 33 PHP_RSHUTDOWN_FUNCTION(ibase); 34 PHP_MINFO_FUNCTION(ibase); 35 36 PHP_FUNCTION(ibase_connect); 37 PHP_FUNCTION(ibase_pconnect); 38 PHP_FUNCTION(ibase_close); 39 PHP_FUNCTION(ibase_drop_db); 40 PHP_FUNCTION(ibase_query); 41 PHP_FUNCTION(ibase_fetch_row); 42 PHP_FUNCTION(ibase_fetch_assoc); 43 PHP_FUNCTION(ibase_fetch_object); 44 PHP_FUNCTION(ibase_free_result); 45 PHP_FUNCTION(ibase_name_result); 46 PHP_FUNCTION(ibase_prepare); 47 PHP_FUNCTION(ibase_execute); 48 PHP_FUNCTION(ibase_free_query); 49 50 PHP_FUNCTION(ibase_timefmt); 51 52 PHP_FUNCTION(ibase_gen_id); 53 PHP_FUNCTION(ibase_num_fields); 54 PHP_FUNCTION(ibase_num_params); 55 #if abies_0 56 PHP_FUNCTION(ibase_num_rows); 57 #endif 58 PHP_FUNCTION(ibase_affected_rows); 59 PHP_FUNCTION(ibase_field_info); 60 PHP_FUNCTION(ibase_param_info); 61 62 PHP_FUNCTION(ibase_trans); 63 PHP_FUNCTION(ibase_commit); 64 PHP_FUNCTION(ibase_rollback); 65 PHP_FUNCTION(ibase_commit_ret); 66 PHP_FUNCTION(ibase_rollback_ret); 67 68 PHP_FUNCTION(ibase_blob_create); 69 PHP_FUNCTION(ibase_blob_add); 70 PHP_FUNCTION(ibase_blob_cancel); 71 PHP_FUNCTION(ibase_blob_open); 72 PHP_FUNCTION(ibase_blob_get); 73 PHP_FUNCTION(ibase_blob_close); 74 PHP_FUNCTION(ibase_blob_echo); 75 PHP_FUNCTION(ibase_blob_info); 76 PHP_FUNCTION(ibase_blob_import); 77 78 PHP_FUNCTION(ibase_add_user); 79 PHP_FUNCTION(ibase_modify_user); 80 PHP_FUNCTION(ibase_delete_user); 81 82 PHP_FUNCTION(ibase_service_attach); 83 PHP_FUNCTION(ibase_service_detach); 84 PHP_FUNCTION(ibase_backup); 85 PHP_FUNCTION(ibase_restore); 86 PHP_FUNCTION(ibase_maintain_db); 87 PHP_FUNCTION(ibase_db_info); 88 PHP_FUNCTION(ibase_server_info); 89 90 PHP_FUNCTION(ibase_errmsg); 91 PHP_FUNCTION(ibase_errcode); 92 93 PHP_FUNCTION(ibase_wait_event); 94 PHP_FUNCTION(ibase_set_event_handler); 95 PHP_FUNCTION(ibase_free_event_handler); 96 97 #else 98 99 #define phpext_interbase_ptr NULL 100 101 #endif /* PHP_INTERBASE_H */ 102 103 /* 104 * Local variables: 105 * tab-width: 4 106 * c-basic-offset: 4 107 * End: 108 */ 109