xref: /PHP-5.6/ext/interbase/php_interbase.h (revision 49493a2d)
1 /*
2    +----------------------------------------------------------------------+
3    | PHP Version 5                                                        |
4    +----------------------------------------------------------------------+
5    | Copyright (c) 1997-2016 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 PHP_MINIT_FUNCTION(ibase);
28 PHP_RINIT_FUNCTION(ibase);
29 PHP_MSHUTDOWN_FUNCTION(ibase);
30 PHP_RSHUTDOWN_FUNCTION(ibase);
31 PHP_MINFO_FUNCTION(ibase);
32 
33 PHP_FUNCTION(ibase_connect);
34 PHP_FUNCTION(ibase_pconnect);
35 PHP_FUNCTION(ibase_close);
36 PHP_FUNCTION(ibase_drop_db);
37 PHP_FUNCTION(ibase_query);
38 PHP_FUNCTION(ibase_fetch_row);
39 PHP_FUNCTION(ibase_fetch_assoc);
40 PHP_FUNCTION(ibase_fetch_object);
41 PHP_FUNCTION(ibase_free_result);
42 PHP_FUNCTION(ibase_name_result);
43 PHP_FUNCTION(ibase_prepare);
44 PHP_FUNCTION(ibase_execute);
45 PHP_FUNCTION(ibase_free_query);
46 
47 PHP_FUNCTION(ibase_timefmt);
48 
49 PHP_FUNCTION(ibase_gen_id);
50 PHP_FUNCTION(ibase_num_fields);
51 PHP_FUNCTION(ibase_num_params);
52 #if abies_0
53 PHP_FUNCTION(ibase_num_rows);
54 #endif
55 PHP_FUNCTION(ibase_affected_rows);
56 PHP_FUNCTION(ibase_field_info);
57 PHP_FUNCTION(ibase_param_info);
58 
59 PHP_FUNCTION(ibase_trans);
60 PHP_FUNCTION(ibase_commit);
61 PHP_FUNCTION(ibase_rollback);
62 PHP_FUNCTION(ibase_commit_ret);
63 PHP_FUNCTION(ibase_rollback_ret);
64 
65 PHP_FUNCTION(ibase_blob_create);
66 PHP_FUNCTION(ibase_blob_add);
67 PHP_FUNCTION(ibase_blob_cancel);
68 PHP_FUNCTION(ibase_blob_open);
69 PHP_FUNCTION(ibase_blob_get);
70 PHP_FUNCTION(ibase_blob_close);
71 PHP_FUNCTION(ibase_blob_echo);
72 PHP_FUNCTION(ibase_blob_info);
73 PHP_FUNCTION(ibase_blob_import);
74 
75 PHP_FUNCTION(ibase_add_user);
76 PHP_FUNCTION(ibase_modify_user);
77 PHP_FUNCTION(ibase_delete_user);
78 
79 PHP_FUNCTION(ibase_service_attach);
80 PHP_FUNCTION(ibase_service_detach);
81 PHP_FUNCTION(ibase_backup);
82 PHP_FUNCTION(ibase_restore);
83 PHP_FUNCTION(ibase_maintain_db);
84 PHP_FUNCTION(ibase_db_info);
85 PHP_FUNCTION(ibase_server_info);
86 
87 PHP_FUNCTION(ibase_errmsg);
88 PHP_FUNCTION(ibase_errcode);
89 
90 PHP_FUNCTION(ibase_wait_event);
91 PHP_FUNCTION(ibase_set_event_handler);
92 PHP_FUNCTION(ibase_free_event_handler);
93 
94 #else
95 
96 #define phpext_interbase_ptr NULL
97 
98 #endif /* PHP_INTERBASE_H */
99 
100 /*
101  * Local variables:
102  * tab-width: 4
103  * c-basic-offset: 4
104  * End:
105  */
106