|
VLC
2.1.0-git
|

Data Fields | |
| module_t * | p_module |
| Module properties. | |
| char * | psz_host |
| Connection Data. | |
| char * | psz_user |
| Username used to connect to database. | |
| char * | psz_pass |
| Password used to connect to database. | |
| int | i_port |
| Port on which database is running. | |
| sql_sys_t * | p_sys |
| Internal data. | |
| int(* | pf_query_callback )(sql_t *, const char *, sql_query_callback_t, void *) |
| All the functions are implemented as threadsafe functions. | |
| int(* | pf_query )(sql_t *, const char *, char ***, int *, int *) |
| Perform a query and return result directly. | |
| int(* | pf_get_tables )(sql_t *, char ***) |
| Get database tables. | |
| void(* | pf_free )(sql_t *, char **) |
| Free result of a call to sql_Query or sql_GetTables. | |
| char *(* | pf_vmprintf )(const char *, va_list args) |
| vmprintf replacement for SQL | |
| int(* | pf_begin )(sql_t *) |
| Begin transaction. | |
| int(* | pf_commit )(sql_t *) |
| Commit transaction. | |
| void(* | pf_rollback )(sql_t *) |
| Rollback transaction. | |
| sql_stmt_t *(* | pf_prepare )(sql_t *p_sql, const char *p_fmt, int i_length) |
| Create a statement object. | |
| int(* | pf_bind )(sql_t *p_sql, sql_stmt_t *p_stmt, int i_pos, unsigned int type, const sql_value_t *p_value) |
| Bind parameters to a statement. | |
| int(* | pf_run )(sql_t *p_sql, sql_stmt_t *p_stmt) |
| Run the prepared statement. | |
| int(* | pf_reset )(sql_t *p_sql, sql_stmt_t *p_stmt) |
| Reset the prepared statement. | |
| int(* | pf_finalize )(sql_t *p_sql, sql_stmt_t *p_stmt) |
| Destroy the statement object. | |
| int(* | pf_gettype )(sql_t *p_sql, sql_stmt_t *p_stmt, int i_col, int *type) |
| Get the datatype for a specified column. | |
| int(* | pf_getcolumn )(sql_t *p_sql, sql_stmt_t *p_stmt, int i_col, int type, sql_value_t *p_res) |
| Get the data from a specified column. | |
| int(* | pf_getcolumnsize )(sql_t *p_sql, sql_stmt_t *p_stmt, int i_col) |
| Get column size of a specified column. | |
VLC_COMMON_MEMBERS \ * these members are common for all vlc objects \ | |
| const char * | psz_object_type |
| char * | psz_header |
| int | i_flags |
| bool | b_force |
| set by the outside (eg. | |
| libvlc_int_t * | p_libvlc |
| (root of all evil) - 1 | |
| vlc_object_t * | p_parent |
| our parent | |
| bool sql_t::b_force |
set by the outside (eg.
| int sql_t::i_flags |
| int sql_t::i_port |
Port on which database is running.
Referenced by sql_Create().
| libvlc_int_t* sql_t::p_libvlc |
(root of all evil) - 1
| module_t* sql_t::p_module |
Module properties.
Referenced by sql_Create(), and sql_Destroy().
| vlc_object_t* sql_t::p_parent |
our parent
| sql_sys_t* sql_t::p_sys |
Internal data.
| int(* sql_t::pf_begin)(sql_t *) |
Begin transaction.
Referenced by sql_BeginTransaction().
| int(* sql_t::pf_bind)(sql_t *p_sql, sql_stmt_t *p_stmt, int i_pos, unsigned int type, const sql_value_t *p_value) |
Bind parameters to a statement.
Referenced by sql_BindGeneric().
| int(* sql_t::pf_commit)(sql_t *) |
Commit transaction.
Referenced by sql_CommitTransaction().
| int(* sql_t::pf_finalize)(sql_t *p_sql, sql_stmt_t *p_stmt) |
Destroy the statement object.
Referenced by sql_Finalize().
| void(* sql_t::pf_free)(sql_t *, char **) |
Free result of a call to sql_Query or sql_GetTables.
Referenced by sql_Free().
| int(* sql_t::pf_get_tables)(sql_t *, char ***) |
Get database tables.
Referenced by sql_GetTables().
| int(* sql_t::pf_getcolumn)(sql_t *p_sql, sql_stmt_t *p_stmt, int i_col, int type, sql_value_t *p_res) |
Get the data from a specified column.
Referenced by sql_GetColumn(), sql_GetColumnBlob(), sql_GetColumnDouble(), sql_GetColumnInteger(), and sql_GetColumnText().
| int(* sql_t::pf_getcolumnsize)(sql_t *p_sql, sql_stmt_t *p_stmt, int i_col) |
Get column size of a specified column.
Referenced by sql_GetColumnSize().
| int(* sql_t::pf_gettype)(sql_t *p_sql, sql_stmt_t *p_stmt, int i_col, int *type) |
Get the datatype for a specified column.
Referenced by sql_GetColumnType().
| sql_stmt_t*(* sql_t::pf_prepare)(sql_t *p_sql, const char *p_fmt, int i_length) |
Create a statement object.
Referenced by sql_Prepare().
| int(* sql_t::pf_query)(sql_t *, const char *, char ***, int *, int *) |
Perform a query and return result directly.
Referenced by sql_Query().
| int(* sql_t::pf_query_callback)(sql_t *, const char *, sql_query_callback_t, void *) |
All the functions are implemented as threadsafe functions.
Perform a query with a row-by-row callback function
Referenced by sql_QueryCallback().
| int(* sql_t::pf_reset)(sql_t *p_sql, sql_stmt_t *p_stmt) |
Reset the prepared statement.
Referenced by sql_Reset().
| void(* sql_t::pf_rollback)(sql_t *) |
Rollback transaction.
Referenced by sql_RollbackTransaction().
| int(* sql_t::pf_run)(sql_t *p_sql, sql_stmt_t *p_stmt) |
Run the prepared statement.
Referenced by sql_Run().
| char*(* sql_t::pf_vmprintf)(const char *, va_list args) |
vmprintf replacement for SQL
Referenced by sql_Printf(), and sql_VPrintf().
| char* sql_t::psz_header |
| char* sql_t::psz_host |
| const char* sql_t::psz_object_type |
| char* sql_t::psz_pass |
Password used to connect to database.
Referenced by sql_Create(), and sql_Destroy().
| char* sql_t::psz_user |
Username used to connect to database.
Referenced by sql_Create(), and sql_Destroy().
1.8.1.2