split off pecl_http
[m6w6/ext-apfd] / php_apfd.h
diff --git a/php_apfd.h b/php_apfd.h
new file mode 100644 (file)
index 0000000..e248688
--- /dev/null
@@ -0,0 +1,43 @@
+/*
+    +--------------------------------------------------------------------+
+    | PECL :: apfd                                                       |
+    +--------------------------------------------------------------------+
+    | Redistribution and use in source and binary forms, with or without |
+    | modification, are permitted provided that the conditions mentioned |
+    | in the accompanying LICENSE file are met.                          |
+    +--------------------------------------------------------------------+
+    | Copyright (c) 2015, Michael Wallner <mike@php.net>                 |
+    +--------------------------------------------------------------------+
+*/
+
+#ifndef PHP_APFD_H
+#define PHP_APFD_H
+
+extern zend_module_entry apfd_module_entry;
+#define phpext_apfd_ptr &apfd_module_entry
+
+#define PHP_APFD_VERSION "1.0.0"
+
+#ifdef PHP_WIN32
+#      define PHP_APFD_API __declspec(dllexport)
+#elif defined(__GNUC__) && __GNUC__ >= 4
+#      define PHP_APFD_API extern __attribute__ ((visibility("default")))
+#else
+#      define PHP_APFD_API extern
+#endif
+
+#ifdef ZTS
+#      include "TSRM.h"
+#endif
+
+#endif /* PHP_APFD_H */
+
+
+/*
+ * Local variables:
+ * tab-width: 4
+ * c-basic-offset: 4
+ * End:
+ * vim600: noet sw=4 ts=4 fdm=marker
+ * vim<600: noet sw=4 ts=4
+ */