Functions | |
DRIZZLE_LOCAL void | drizzle_con_reset_addrinfo (drizzle_con_st *con) |
static bool | drizzle_state_none (drizzle_con_st *con) |
static void | drizzle_state_push (drizzle_con_st *con, drizzle_state_fn *function) |
static void | drizzle_state_pop (drizzle_con_st *con) |
static void | drizzle_state_reset (drizzle_con_st *con) |
DRIZZLE_LOCAL void drizzle_con_reset_addrinfo | ( | drizzle_con_st * | con | ) |
Clear address info, freeing structs if needed.
[in] | con | Connection structure previously initialized with drizzle_con_create(), drizzle_con_clone(), or related functions. |
static bool drizzle_state_none | ( | drizzle_con_st * | con | ) | [inline, static] |
Check if state stack is empty.
[in] | con | Connection structure previously initialized with drizzle_con_create(), drizzle_con_clone(), or related functions. |
Definition at line 45 of file conn_local.h.
static void drizzle_state_push | ( | drizzle_con_st * | con, |
drizzle_state_fn * | function | ||
) | [inline, static] |
Push a function onto the stack.
[in] | con | Connection structure previously initialized with drizzle_con_create(), drizzle_con_clone(), or related functions. |
[in] | function | Function to push. |
Definition at line 57 of file conn_local.h.
static void drizzle_state_pop | ( | drizzle_con_st * | con | ) | [inline, static] |
Pop a function off of the stack.
[in] | con | Connection structure previously initialized with drizzle_con_create(), drizzle_con_clone(), or related functions. |
Definition at line 73 of file conn_local.h.
static void drizzle_state_reset | ( | drizzle_con_st * | con | ) | [inline, static] |
Reset the stack so it is empty.
[in] | con | Connection structure previously initialized with drizzle_con_create(), drizzle_con_clone(), or related functions. |
Definition at line 84 of file conn_local.h.