4.2.1 that we had on our wiki
[tclink.git] / php_tclink.h
1 /*
2 * TCLink PHP Module
3 *
4 * TCLink Copyright (c) 2002 TrustCommerce.
5 * http://www.trustcommerce.com
6 * developer@trustcommerce.com
7 * (626) 744-7700
8 *
9 * PHP Port Copyright (c) 2000
10 * Andrew Barnett <andrew@dataclarity.com>
11 * 2000-11-21
12 *
13 * This library is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Lesser General Public
15 * License as published by the Free Software Foundation; either
16 * version 2.1 of the License, or (at your option) any later version.
17 *
18 * This library is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * Lesser General Public License for more details.
22 *
23 * You should have received a copy of the GNU Lesser General Public
24 * License along with this library; if not, write to the Free Software
25 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 */
27
28 #ifndef PHP_TCLINK_H
29 #define PHP_TCLINK_H
30
31 #if HAVE_TCLINK
32
33 #include <tclink.h>
34
35 extern zend_module_entry php_tclink_module_entry;
36 #define tclink_module_ptr &php_tclink_module_entry
37
38 PHP_MINFO_FUNCTION(tclink);
39
40 PHP_FUNCTION(tclink_send);
41 PHP_FUNCTION(tclink_getversion);
42
43 #else
44 #define tclink_module_ptr NULL
45 #endif /* HAVE_TCLINK */
46
47 #define phpext_tclink_ptr tclink_module_ptr
48
49 #endif /* PHP_TCLINK_H */