summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_net.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2010-01-07 19:44:59 +0000
committerAndrey Hristov <andrey@php.net>2010-01-07 19:44:59 +0000
commit73b23fca37d6d27d703511d9a7eedad84e786f23 (patch)
tree2f47b8e985d32d184670ef663021cbeea12402ba /ext/mysqlnd/mysqlnd_net.h
parent1ee6c8277faa3f48ab8e82888a34e0e2d0a8ea1f (diff)
downloadphp-git-73b23fca37d6d27d703511d9a7eedad84e786f23.tar.gz
Change of way the packet objects are created/initialised
If the protocol gets changed, ever, we can decide at runtime easily which protocol to use by instantiating the right protocol object. But this is restricted to the structure of the packets, not the flow.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_net.h')
-rw-r--r--ext/mysqlnd/mysqlnd_net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_net.h b/ext/mysqlnd/mysqlnd_net.h
index 6f9e5d9918..01c2158336 100644
--- a/ext/mysqlnd/mysqlnd_net.h
+++ b/ext/mysqlnd/mysqlnd_net.h
@@ -24,7 +24,7 @@
#define MYSQLND_NET_H
MYSQLND_NET * mysqlnd_net_init(zend_bool persistent TSRMLS_DC);
-void mysqlnd_net_free(MYSQLND_NET * net TSRMLS_DC);
+void mysqlnd_net_free(MYSQLND_NET * const net TSRMLS_DC);
#endif /* MYSQLND_NET_H */