diff options
author | Andrey Hristov <andrey@php.net> | 2015-10-16 16:40:44 +0200 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2015-11-12 16:19:16 +0100 |
commit | f6ec3df8950e88e3bdbc5d4be68ff6f8ca534ff7 (patch) | |
tree | 0dccdc6fafd247074ad1e527197fd7378c6ca970 /ext/mysqlnd/mysqlnd_structs.h | |
parent | 2a44cee4d5ca375011d13cc1a93b1282b9081c3e (diff) | |
download | php-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.h | 12 |
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 */ |