1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
/**
* PHP bindings to the rrdtool
*
* This source file is subject to the BSD license that is bundled
* with this package in the file LICENSE.
* ---------------------------------------------------------------
* Author: Miroslav Kubelik <koubel@php.net>
* ---------------------------------------------------------------
*/
#ifndef PHP_RRD_H
#define PHP_RRD_H
extern zend_module_entry rrd_module_entry;
#define phpext_rrd_ptr &rrd_module_entry
#define PHP_RRD_VERSION "1.1.3"
#ifdef ZTS
#include "TSRM.h"
#endif
#ifndef zend_parse_parameters_none
# define zend_parse_parameters_none() zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "")
#endif
typedef struct _rrd_args {
int count;
char **args;
} rrd_args;
extern rrd_args *rrd_args_init_by_phparray(const char *command_name, const char *filename,
const zval *options TSRMLS_DC);
extern void rrd_args_free(rrd_args *args);
#endif /* PHP_RRD_H */
|