X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_ircclient.h;h=027387d9272d5b4ab3f6e1ec05e9d7c75434edf0;hb=2aed584d2eda7ae68f375da8395daeb5e64c1edc;hp=b7c665ee1f01b66747769c0f33c0405bb47dc5b7;hpb=d28df7e956ce763677f7917c4404de6018531753;p=m6w6%2Fext-ircclient diff --git a/php_ircclient.h b/php_ircclient.h index b7c665e..027387d 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) 2011, Michael Wallner | + +--------------------------------------------------------------------+ +*/ #ifndef PHP_IRCCLIENT_H #define PHP_IRCCLIENT_H +#define PHP_IRCCLIENT_VERSION "0.2.0" + 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