summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_protocol_frame_codec.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2015-11-10 11:53:19 +0100
committerAndrey Hristov <andrey@php.net>2015-11-12 16:19:16 +0100
commita530ecff978cbf2e67a774cae40899d3934c163a (patch)
tree05f7626849f498bb8736fc7779a9f8ac04741992 /ext/mysqlnd/mysqlnd_protocol_frame_codec.h
parent654d1a7caf068c67560fd49c86cf6f6354322d6f (diff)
downloadphp-git-a530ecff978cbf2e67a774cae40899d3934c163a.tar.gz
MNDR:
- better name for MYSQLND_PPEC - MYSQLND_PFC (protocol frame codec)
Diffstat (limited to 'ext/mysqlnd/mysqlnd_protocol_frame_codec.h')
-rw-r--r--ext/mysqlnd/mysqlnd_protocol_frame_codec.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd_protocol_frame_codec.h b/ext/mysqlnd/mysqlnd_protocol_frame_codec.h
new file mode 100644
index 0000000000..4e40f4a74c
--- /dev/null
+++ b/ext/mysqlnd/mysqlnd_protocol_frame_codec.h
@@ -0,0 +1,35 @@
+/*
+ +----------------------------------------------------------------------+
+ | PHP Version 7 |
+ +----------------------------------------------------------------------+
+ | Copyright (c) 2006-2015 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: Andrey Hristov <andrey@mysql.com> |
+ | Ulf Wendel <uwendel@mysql.com> |
+ +----------------------------------------------------------------------+
+*/
+
+#ifndef MYSQLND_PROTOCOL_FRAME_CODEC_H
+#define MYSQLND_PROTOCOL_FRAME_CODEC_H
+
+PHPAPI MYSQLND_PFC * mysqlnd_pfc_init(zend_bool persistent, MYSQLND_STATS * stats, MYSQLND_ERROR_INFO * error_info);
+PHPAPI void mysqlnd_pfc_free(MYSQLND_PFC * const net, MYSQLND_STATS * stats, MYSQLND_ERROR_INFO * error_info);
+
+#endif /* MYSQLND_PROTOCOL_FRAME_CODEC_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
+ */