diff options
author | Andrey Hristov <andrey@php.net> | 2008-01-28 22:50:06 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2008-01-28 22:50:06 +0000 |
commit | 2033c1b7f2c50146c917a5769a6996f0188f5e14 (patch) | |
tree | 1b03a898c92ba2d69c39e401165318bd1e1bf17b /ext/mysqlnd/mysqlnd_block_alloc.h | |
parent | e9914e9d06b684a4b788584790767868bd7b7321 (diff) | |
download | php-git-2033c1b7f2c50146c917a5769a6996f0188f5e14.tar.gz |
some config.w32 fixes
moved mysqlnd's block allocator to a separate file and also now
it's part of the connection, no MT problems.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_block_alloc.h')
-rw-r--r-- | ext/mysqlnd/mysqlnd_block_alloc.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd_block_alloc.h b/ext/mysqlnd/mysqlnd_block_alloc.h new file mode 100644 index 0000000000..5c06a3f9d9 --- /dev/null +++ b/ext/mysqlnd/mysqlnd_block_alloc.h @@ -0,0 +1,39 @@ +/* + +----------------------------------------------------------------------+ + | PHP Version 6 | + +----------------------------------------------------------------------+ + | Copyright (c) 2006-2008 The PHP Group | + +----------------------------------------------------------------------+ + | This source file is subject to version 3.01 of the PHP license, | + | that is bundled with this package in the file LICENSE, and is | + | available through the world-wide-web at the following url: | + | http://www.php.net/license/3_01.txt | + | If you did not receive a copy of the PHP license and are unable to | + | obtain it through the world-wide-web, please send a note to | + | license@php.net so we can mail you a copy immediately. | + +----------------------------------------------------------------------+ + | Authors: Georg Richter <georg@mysql.com> | + | Andrey Hristov <andrey@mysql.com> | + | Ulf Wendel <uwendel@mysql.com> | + +----------------------------------------------------------------------+ +*/ + +/* $Id$ */ + +#ifndef MYSQLND_BLOCK_ALLOC_H +#define MYSQLND_BLOCK_ALLOC_H + +MYSQLND_MEMORY_POOL * mysqlnd_mempool_create(size_t arena_size TSRMLS_DC); +void mysqlnd_mempool_destroy(MYSQLND_MEMORY_POOL * pool TSRMLS_DC); + +#endif /* MYSQLND_BLOCK_ALLOC_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 + */ |