axl_bool myqtt_conf_set ( MyQttCtx ctx,
MyQttConfItem  item,
int  value,
const char *  str_value 
)

Allows to configure the provided item, with either the integer or the string value, according to the item configuration documentation.

Parameters
ctxThe context where the configuration will take place.
itemThe item configuration to be set.
valueThe integer value to be configured if applies.
str_valueThe string value to be configured if applies.
Returns
axl_true if the configuration was done properly, otherwise axl_false is returned.

References MYQTT_HARD_SOCK_LIMIT, MYQTT_LISTENER_BACKLOG, MYQTT_SKIP_THREAD_POOL_WAIT, and MYQTT_SOFT_SOCK_LIMIT.

Referenced by myqtt_init_ctx().