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