X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=php_ircclient.h;h=d9d81e2d1cec06e45d47175a31b0be6b25ca16a1;hb=HEAD;hp=b7c665ee1f01b66747769c0f33c0405bb47dc5b7;hpb=d28df7e956ce763677f7917c4404de6018531753;p=m6w6%2Fext-ircclient diff --git a/php_ircclient.h b/php_ircclient.h index b7c665e..d9d81e2 100644 --- a/php_ircclient.h +++ b/php_ircclient.h @@ -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 | + +--------------------------------------------------------------------+ +*/ #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