root / trunk / ext / php / php_syck.h

Revision 266, 2.0 kB (checked in by indeyets, 14 months ago)

preparing for the first PECL-release

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1/*
2  +----------------------------------------------------------------------+
3  | PHP Version 5                                                        |
4  +----------------------------------------------------------------------+
5  | Copyright (c) 1997-2007 The PHP Group                                |
6  +----------------------------------------------------------------------+
7  | This source file is subject to version 3.01 of the PHP license,      |
8  | that is bundled with this package in the file LICENSE, and is        |
9  | available through the world-wide-web at the following url:           |
10  | http://www.php.net/license/3_01.txt                                  |
11  | If you did not receive a copy of the PHP license and are unable to   |
12  | obtain it through the world-wide-web, please send a note to          |
13  | license@php.net so we can mail you a copy immediately.               |
14  +----------------------------------------------------------------------+
15  | Authors: Why the lucky stiff                                         |
16  |          Alexey Zakhlestin <indeyets@gmail.com>                      |
17  +----------------------------------------------------------------------+
18
19  $Id$
20*/
21
22#ifndef PHP_SYCK_H
23# define PHP_SYCK_H
24
25extern zend_module_entry syck_module_entry;
26# define phpext_syck_ptr &syck_module_entry
27
28# ifdef PHP_WIN32
29#  define PHP_SYCK_API __declspec(dllexport)
30# else
31#  define PHP_SYCK_API
32# endif
33
34# ifdef ZTS
35#  include "TSRM.h"
36# endif
37
38PHP_MINIT_FUNCTION(syck);
39PHP_MINFO_FUNCTION(syck);
40
41PHP_FUNCTION(syck_load);
42PHP_FUNCTION(syck_dump);
43
44/*
45        Declare any global variables you may need between the BEGIN
46        and END macros here:     
47
48ZEND_BEGIN_MODULE_GLOBALS(syck)
49        int   global_value;
50        char *global_string;
51ZEND_END_MODULE_GLOBALS(syck)
52
53#ifdef ZTS
54# define SYCK_G(v) TSRMG(syck_globals_id, zend_syck_globals *, v)
55#else
56# define SYCK_G(v) (syck_globals.v)
57#endif
58*/
59
60#endif  /* PHP_SYCK_H */
61
62
63/*
64 * Local variables:
65 * tab-width: 4
66 * c-basic-offset: 4
67 * indent-tabs-mode: t
68 * End:
69 */
Note: See TracBrowser for help on using the browser.