6
.. index:: object: drizzle_st
8
This is the core library structure that other structures (such as
9
connections) are created from.
11
There is no locking within a single drizzle_st structure, so for threaded
12
applications you must either ensure isolation in the application or use
13
multiple drizzle_st structures (for example, one for each thread).
18
.. c:function:: const char * drizzle_version (void)
19
.. c:function:: const char * drizzle_bugreport (void)
20
.. c:function:: const char * drizzle_verbose_name (drizzle_verbose_t verbose)
21
.. c:function:: drizzle_st * drizzle_create (drizzle_st *drizzle)
22
.. c:function:: drizzle_st * drizzle_clone (drizzle_st *drizzle, const drizzle_st *from)
23
.. c:function:: void drizzle_free (drizzle_st *drizzle)
24
.. c:function:: const char * drizzle_error (const drizzle_st *drizzle)
25
.. c:function:: int drizzle_errno (const drizzle_st *drizzle)
27
.. c:function:: uint16_t drizzle_error_code (const drizzle_st *drizzle)
29
.. c:function:: const char * drizzle_sqlstate (const drizzle_st *drizzle)
31
.. c:function:: drizzle_options_t drizzle_options (const drizzle_st *drizzle)
33
.. c:function:: void drizzle_set_options (drizzle_st *drizzle, drizzle_options_t options)
35
.. c:function:: void drizzle_add_options (drizzle_st *drizzle, drizzle_options_t options)
37
.. c:function:: void drizzle_remove_options (drizzle_st *drizzle, drizzle_options_t options)
39
.. c:function:: void * drizzle_context (const drizzle_st *drizzle)
41
.. c:function:: void drizzle_set_context (drizzle_st *drizzle, void *context)
43
.. c:function:: void drizzle_set_context_free_fn (drizzle_st *drizzle,
45
.. c:function:: drizzle_context_free_fn *function)
47
.. c:function:: int drizzle_timeout (const drizzle_st *drizzle)
49
.. c:function:: void drizzle_set_timeout (drizzle_st *drizzle, int timeout)
51
.. c:function:: drizzle_verbose_t drizzle_verbose (const drizzle_st *drizzle)
53
.. c:function:: void drizzle_set_verbose (drizzle_st *drizzle, drizzle_verbose_t verbose)
55
.. c:function:: void drizzle_set_log_fn (drizzle_st *drizzle, drizzle_log_fn *function, void *context)
57
.. c:function:: void drizzle_set_event_watch_fn (drizzle_st *drizzle,
59
.. c:function:: drizzle_event_watch_fn *function, void *context)
61
.. c:function:: drizzle_con_st * drizzle_con_create (drizzle_st *drizzle, drizzle_con_st *con)
63
.. c:function:: drizzle_con_st * drizzle_con_clone (drizzle_st *drizzle, drizzle_con_st *con, const drizzle_con_st *from)
65
.. c:function:: void drizzle_con_free (drizzle_con_st *con)
67
.. c:function:: void drizzle_con_free_all (drizzle_st *drizzle)
69
.. c:function:: drizzle_return_t drizzle_con_wait (drizzle_st *drizzle)
71
.. c:function:: drizzle_con_st * drizzle_con_ready (drizzle_st *drizzle)
73
Functions for Client Only
74
^^^^^^^^^^^^^^^^^^^^^^^^^
76
.. c:function:: drizzle_con_st * drizzle_con_add_tcp (drizzle_st *drizzle, drizzle_con_st *con, const char *host, in_port_t port, const char *user, const char *password, const char *db, drizzle_con_options_t options)
78
.. c:function:: drizzle_con_st * drizzle_con_add_uds (drizzle_st *drizzle, drizzle_con_st *con, const char *uds, const char *user, const char *password, const char *db, drizzle_con_options_t options)
80
Functions for Server Only
81
^^^^^^^^^^^^^^^^^^^^^^^^^
83
.. c:function:: drizzle_con_st * drizzle_con_add_tcp_listen (drizzle_st *drizzle, drizzle_con_st *con, const char *host, in_port_t port, int backlog, drizzle_con_options_t options)
85
.. c:function:: drizzle_con_st * drizzle_con_add_uds_listen (drizzle_st *drizzle, drizzle_con_st *con, const char *uds, int backlog, drizzle_con_options_t options)
87
.. c:function:: drizzle_con_st * drizzle_con_ready_listen (drizzle_st *drizzle)
89
.. c:function:: drizzle_con_st * drizzle_con_accept (drizzle_st *drizzle, drizzle_con_st *con, drizzle_return_t *ret_ptr)