MXS-2196: Remove listen entry point from protocol
The entry point was useless as all of the modules called the same function.
This commit is contained in:
@ -301,7 +301,7 @@ uint64_t dcb_get_session_id(DCB* dcb);
|
||||
char* dcb_role_name(DCB*); /* Return the name of a role */
|
||||
int dcb_accept_SSL(DCB* dcb);
|
||||
int dcb_connect_SSL(DCB* dcb);
|
||||
int dcb_listen(DCB* listener, const char* config, const char* protocol_name);
|
||||
int dcb_listen(DCB* listener, const char* config);
|
||||
void dcb_enable_session_timeouts();
|
||||
void dcb_process_idle_sessions(int thr);
|
||||
|
||||
|
||||
@ -118,16 +118,6 @@ typedef struct mxs_protocol
|
||||
*/
|
||||
int32_t (* close)(struct dcb* dcb);
|
||||
|
||||
/**
|
||||
* Listen on a network socket, only for client side protocol modules
|
||||
*
|
||||
* @param dcb DCB to listen with
|
||||
* @param address Address to listen on in `address|port` format
|
||||
*
|
||||
* @return 1 on success, 0 on error
|
||||
*/
|
||||
int32_t (* listen)(struct dcb* dcb, char* address);
|
||||
|
||||
/**
|
||||
* Perform user re-authentication
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user