#include <afsql.h>

Public Attributes | |
| LogThreadedDestDriver | super |
| gchar * | type |
| gchar * | host |
| gchar * | port |
| gchar * | user |
| gchar * | password |
| gchar * | database |
| gchar * | encoding |
| gchar * | create_statement_append |
| GList * | columns |
| GList * | values |
| GList * | indexes |
| LogTemplate * | table |
| gint | fields_len |
| AFSqlField * | fields |
| gchar * | null_value |
| gchar * | quote_as_string |
| gboolean | ignore_tns_config |
| GList * | session_statements |
| LogTemplateOptions | template_options |
| GHashTable * | dbd_options |
| GHashTable * | dbd_options_numeric |
| dbi_conn | dbi_ctx |
| gchar * | dbi_driver_dir |
| GHashTable * | syslogng_conform_tables |
| guint32 | failed_message_counter |
| gboolean | transaction_active |
This structure encapsulates an SQL destination driver. SQL insert statements are generated from a separate thread because of the blocking nature of the DBI API. It is ensured that while the thread is running, the reference count to the driver structure is increased, thus the db thread can read any of the fields in this structure. To do anything more than simple reading out a value, some kind of locking mechanism shall be used.
| GList* AFSqlDestDriver::columns |
| gchar* AFSqlDestDriver::create_statement_append |
| gchar* AFSqlDestDriver::database |
| GHashTable* AFSqlDestDriver::dbd_options |
| GHashTable* AFSqlDestDriver::dbd_options_numeric |
| dbi_conn AFSqlDestDriver::dbi_ctx |
| gchar* AFSqlDestDriver::dbi_driver_dir |
| gchar* AFSqlDestDriver::encoding |
| guint32 AFSqlDestDriver::failed_message_counter |
| AFSqlField* AFSqlDestDriver::fields |
| gint AFSqlDestDriver::fields_len |
| gchar* AFSqlDestDriver::host |
| gboolean AFSqlDestDriver::ignore_tns_config |
| GList* AFSqlDestDriver::indexes |
| gchar* AFSqlDestDriver::null_value |
| gchar* AFSqlDestDriver::password |
| gchar* AFSqlDestDriver::port |
| gchar* AFSqlDestDriver::quote_as_string |
| GList* AFSqlDestDriver::session_statements |
| LogThreadedDestDriver AFSqlDestDriver::super |
| GHashTable* AFSqlDestDriver::syslogng_conform_tables |
| LogTemplate* AFSqlDestDriver::table |
| LogTemplateOptions AFSqlDestDriver::template_options |
| gboolean AFSqlDestDriver::transaction_active |
| gchar* AFSqlDestDriver::type |
| gchar* AFSqlDestDriver::user |
| GList* AFSqlDestDriver::values |