Restructure the client configuration struct

- Groups configuration fields by context.
- Removes user_context in favor of the event loop.
This commit is contained in:
Euripedes Rocha
2022-05-03 14:13:23 -03:00
parent 9a56b2f086
commit ae53d799da
3 changed files with 435 additions and 310 deletions

View File

@@ -71,7 +71,6 @@ typedef struct {
char *scheme;
int port;
bool auto_reconnect;
void *user_context;
int network_timeout_ms;
int refresh_connection_after_ms;
int reconnect_timeout_ms;