Drizzled Public API Documentation

Types

Typedefs

typedef struct drizzle_st drizzle_st
typedef struct drizzle_con_tcp_st drizzle_con_tcp_st
typedef struct drizzle_con_uds_st drizzle_con_uds_st
typedef struct drizzle_con_st drizzle_con_st
typedef struct drizzle_query_st drizzle_query_st
typedef struct drizzle_result_st drizzle_result_st
typedef struct drizzle_column_st drizzle_column_st
typedef char * drizzle_field_t
typedef drizzle_field_t * drizzle_row_t
typedef uint8_t drizzle_charset_t
typedef void( drizzle_context_free_fn )(drizzle_st *drizzle, void *context)
typedef void( drizzle_log_fn )(const char *line, drizzle_verbose_t verbose, void *context)
typedef drizzle_return_tdrizzle_state_fn )(drizzle_con_st *con)
typedef void( drizzle_con_context_free_fn )(drizzle_con_st *con, void *context)
typedef void( drizzle_query_context_free_fn )(drizzle_query_st *query, void *context)
typedef drizzle_return_tdrizzle_event_watch_fn )(drizzle_con_st *con, short events, void *context)

Typedef Documentation

typedef drizzle_return_t( drizzle_event_watch_fn)(drizzle_con_st *con, short events, void *context)

Custom function to register or deregister interest in file descriptor events. See drizzle_set_event_watch_fn().

Parameters:
[in]conConnection that has changed the events it is interested in. Use drizzle_con_fd() to get the file descriptor.
[in]eventsA bit mask of POLLIN | POLLOUT, specifying if the connection is waiting for read or write events.
[in]contextApplication context pointer registered with drizzle_set_event_watch_fn().
Returns:
DRIZZLE_RETURN_OK if successful.

Definition at line 483 of file constants.h.