libdrizzle Developer Documentation

Typedefs
Types
Drizzle Client Interface | Drizzle Server Interface

Typedefs

typedef char * drizzle_field_t
typedef drizzle_field_tdrizzle_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 char* drizzle_field_t

Definition at line 412 of file constants.h.

Definition at line 413 of file constants.h.

typedef uint8_t drizzle_charset_t

Definition at line 414 of file constants.h.

typedef void( drizzle_context_free_fn)(drizzle_st *drizzle, void *context)

Definition at line 417 of file constants.h.

typedef void( drizzle_log_fn)(const char *line, drizzle_verbose_t verbose, void *context)

Definition at line 419 of file constants.h.

Definition at line 421 of file constants.h.

typedef void( drizzle_con_context_free_fn)(drizzle_con_st *con, void *context)

Definition at line 422 of file constants.h.

typedef void( drizzle_query_context_free_fn)(drizzle_query_st *query, void *context)

Definition at line 424 of file constants.h.

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 438 of file constants.h.