-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathphp_chdb.h
More file actions
32 lines (25 loc) · 793 Bytes
/
php_chdb.h
File metadata and controls
32 lines (25 loc) · 793 Bytes
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
/* This module exposes to PHP the equivalent of:
* // Creates a chdb file containing the key-value pairs specified in the
* // array $data, or throws an exception in case of error.
* function chdb_create($pathname, $data);
*
* // Represents a loaded chdb file.
* class chdb
* {
* // Loads a chdb file, or throws an exception in case of error.
* public function __construct($pathname);
*
* // Returns the value of the given $key, or null if not found.
* public function get($key);
* }
*/
#ifndef PHP_CHDB_H
#define PHP_CHDB_H
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <php.h>
#define PHP_CHDB_VERSION "1.0.1"
extern zend_module_entry chdb_module_entry;
#define phpext_chdb_ptr &chdb_module_entry
#endif