text: /*
   * Copyright (c) 2017 Joe Watkins
   * All rights reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   * 1. Redistributions of source code must retain the above copyright
   *	notice, this list of conditions and the following disclaimer.
   * 2. Redistributions in binary form must reproduce the above copyright
   *	notice, this list of conditions and the following disclaimer in the
   *	documentation and/or other materials provided with the distribution.
   *
   * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
   * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
   * ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
   * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
   * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
   * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
   * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
   * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
   * SUCH DAMAGE.
   *
   */
  
  /* $Id$ */
  
  #ifndef PHP_WKHTMLTOX_H
  #define PHP_WKHTMLTOX_H
  
  extern zend_module_entry wkhtmltox_module_entry;
  #define phpext_wkhtmltox_ptr &wkhtmltox_module_entry
  
  #define PHP_WKHTMLTOX_VERSION "0.3.2-dev"
  
  #ifdef PHP_WIN32
  #	define PHP_WKHTMLTOX_API __declspec(dllexport)
  #elif defined(__GNUC__) && __GNUC__ >= 4
  #	define PHP_WKHTMLTOX_API __attribute__ ((visibility("default")))
  #else
  #	define PHP_WKHTMLTOX_API
  #endif
  
  #ifdef ZTS
  #include "TSRM.h"
  #endif
  
  #if defined(ZTS) && defined(COMPILE_DL_WKHTMLTOX)
  ZEND_TSRMLS_CACHE_EXTERN()
  #endif
  
  ZEND_BEGIN_MODULE_GLOBALS(wkhtmltox)
  	zend_bool graphics;
  ZEND_END_MODULE_GLOBALS(wkhtmltox)
  
  ZEND_EXTERN_MODULE_GLOBALS(wkhtmltox);
  
  #ifdef ZTS
  #define WG(v) TSRMG(wkhtmltox_globals_id, zend_wkhtmltox_globals *, v)
  #else
  #define WG(v) (wkhtmltox_globals.v)
  #endif
  
  #endif	/* PHP_WKHTMLTOX_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
   */
  