trigger mirror
[m6w6/ext-ircclient] / php_ircclient.h
index b7c665ee1f01b66747769c0f33c0405bb47dc5b7..d9d81e2d1cec06e45d47175a31b0be6b25ca16a1 100644 (file)
@@ -1,37 +1,23 @@
+/*
+    +--------------------------------------------------------------------+
+    | PECL :: ircclient                                                  |
+    +--------------------------------------------------------------------+
+    | 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) 2014, Michael Wallner <mike@php.net>                 |
+    +--------------------------------------------------------------------+
+*/
 
 #ifndef PHP_IRCCLIENT_H
 #define PHP_IRCCLIENT_H
 
+#define PHP_IRCCLIENT_VERSION "0.3.1"
+
 extern zend_module_entry ircclient_module_entry;
 #define phpext_ircclient_ptr &ircclient_module_entry
 
-#ifdef PHP_WIN32
-#      define PHP_IRCCLIENT_API __declspec(dllexport)
-#elif defined(__GNUC__) && __GNUC__ >= 4
-#      define PHP_IRCCLIENT_API __attribute__ ((visibility("default")))
-#else
-#      define PHP_IRCCLIENT_API
-#endif
-
-#ifdef ZTS
-#include "TSRM.h"
-#endif
-
-PHP_MINIT_FUNCTION(ircclient);
-PHP_MSHUTDOWN_FUNCTION(ircclient);
-PHP_RINIT_FUNCTION(ircclient);
-PHP_RSHUTDOWN_FUNCTION(ircclient);
-PHP_MINFO_FUNCTION(ircclient);
-
-
-
-
-#ifdef ZTS
-#define IRCCLIENT_G(v) TSRMG(ircclient_globals_id, zend_ircclient_globals *, v)
-#else
-#define IRCCLIENT_G(v) (ircclient_globals.v)
-#endif
-
 #endif