summaryrefslogtreecommitdiff
path: root/ext/pfpro/php_pfpro.h
diff options
context:
space:
mode:
authorJohn Donagher <jdonagher@php.net>2001-05-01 05:04:43 +0000
committerJohn Donagher <jdonagher@php.net>2001-05-01 05:04:43 +0000
commit0f42480b48447df34ba15e68db76aafa02037764 (patch)
tree0501c2ea4065ab9e10c878b009a4de2f97f75d11 /ext/pfpro/php_pfpro.h
parentba49860cc859bdbb83b739068018beea350d2113 (diff)
downloadphp-git-0f42480b48447df34ba15e68db76aafa02037764.tar.gz
- Remove some stale code
- Fix spelling mistakes - Add build-time version detection - Add support for v3 Verisign SDK @ pfpro extension now supports version 3 of the Verisign SDK (John Donagher)
Diffstat (limited to 'ext/pfpro/php_pfpro.h')
-rw-r--r--ext/pfpro/php_pfpro.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/ext/pfpro/php_pfpro.h b/ext/pfpro/php_pfpro.h
index 31d21c3bd0..1f97100fd0 100644
--- a/ext/pfpro/php_pfpro.h
+++ b/ext/pfpro/php_pfpro.h
@@ -12,7 +12,8 @@
| obtain it through the world-wide-web, please send a note to |
| license@php.net so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
- | Author: David Croft <david@infotrek.co.uk> |
+ | Authors: David Croft <david@infotrek.co.uk> |
+ | John Donagher <john@webmeta.com> |
+----------------------------------------------------------------------+
*/
@@ -32,6 +33,12 @@ extern zend_module_entry pfpro_module_entry;
#define PHP_PFPRO_API
#endif
+#if PFPRO_VERSION < 3
+#define pfproVersion() PNVersion()
+#define pfproInit() PNInit()
+#define pfproCleanup() PNCleanup()
+#endif
+
PHP_MINIT_FUNCTION(pfpro);
PHP_MSHUTDOWN_FUNCTION(pfpro);
PHP_RINIT_FUNCTION(pfpro);