summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_structs.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2015-10-16 16:40:44 +0200
committerAndrey Hristov <andrey@php.net>2015-11-12 16:19:16 +0100
commitf6ec3df8950e88e3bdbc5d4be68ff6f8ca534ff7 (patch)
tree0dccdc6fafd247074ad1e527197fd7378c6ca970 /ext/mysqlnd/mysqlnd_structs.h
parent2a44cee4d5ca375011d13cc1a93b1282b9081c3e (diff)
downloadphp-git-f6ec3df8950e88e3bdbc5d4be68ff6f8ca534ff7.tar.gz
MNDR:
- Switch for directly executing a command over the wire to creating a command object which is then executed.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_structs.h')
-rw-r--r--ext/mysqlnd/mysqlnd_structs.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd_structs.h b/ext/mysqlnd/mysqlnd_structs.h
index 36342706ca..05c5821694 100644
--- a/ext/mysqlnd/mysqlnd_structs.h
+++ b/ext/mysqlnd/mysqlnd_structs.h
@@ -1183,6 +1183,12 @@ typedef struct st_mysqlnd_string
size_t l;
} MYSQLND_STRING;
+typedef struct st_mysqlnd_const_string
+{
+ const char *s;
+ size_t l;
+} MYSQLND_CSTRING;
+
struct st_mysqlnd_plugin_header
{
@@ -1237,4 +1243,10 @@ struct st_mysqlnd_authentication_plugin
};
+struct st_mysqlnd_protocol_command
+{
+ enum_func_status (*run)(void *cmd);
+ void (*free_command)(void * cmd);
+};
+
#endif /* MYSQLND_STRUCTS_H */