diff options
| author | Andrey Hristov <andrey@php.net> | 2008-01-28 22:54:21 +0000 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 2008-01-28 22:54:21 +0000 |
| commit | 6d9fdbce50d17240341119036c01303649892ddc (patch) | |
| tree | 7da94b44ce5a367b21cc8d4df46ef454bb30e4a0 /ext/mysqlnd/mysqlnd_block_alloc.h | |
| parent | e3492e6d01a2053956fa664a0bf5f9943ce5705e (diff) | |
| download | php-git-6d9fdbce50d17240341119036c01303649892ddc.tar.gz | |
MFB:
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 + */ |
