Added command type to:
gwbuf struct dcb struct This int field will hold the last command executed or sent to backend. It will be 0 for most cases, setting it with a different value could help route differently the data from backend to client or some custom error messages.
This commit is contained in:
@ -44,6 +44,7 @@ struct service;
|
||||
* and a generic lock for backend authentication
|
||||
* 12/07/2013 Massimiliano Pinto Added auth entry point
|
||||
* 15/07/2013 Massimiliano Pinto Added session entry point
|
||||
* 16/07/2013 Massimiliano Pinto Added command type for dcb
|
||||
*
|
||||
* @endverbatim
|
||||
*/
|
||||
@ -151,6 +152,7 @@ typedef struct dcb {
|
||||
struct service *service; /**< The related service */
|
||||
void *data; /**< Specific client data */
|
||||
DCBMM memdata; /**< The data related to DCB memory management */
|
||||
int command; /**< Specific client command type */
|
||||
} DCB;
|
||||
|
||||
/* DCB states */
|
||||
|
||||
Reference in New Issue
Block a user