
Functions | |
| sql_t * | sql_Create (vlc_object_t *p_this, const char *psz_name, const char *psz_host, int i_port, const char *psz_user, const char *psz_pass) |
| Create a new SQL object. | |
| void | sql_Destroy (vlc_object_t *obj) |
| Destructor for p_sql object. | |
| sql_t* sql_Create | ( | vlc_object_t * | p_this, | |
| const char * | psz_name, | |||
| const char * | psz_host, | |||
| int | i_port, | |||
| const char * | psz_user, | |||
| const char * | psz_pass | |||
| ) |
Create a new SQL object.
| p_this | Parent object to attach the SQL object to. | |
| psz_host | URL to the database | |
| i_port | Port on which the database is running | |
| psz_user | Username to access the database | |
| psz_pass | Password for the database |
References sql_t::i_port, module_need, msg_Err, sql_t::p_module, sql_t::psz_host, sql_t::psz_pass, sql_t::psz_user, strdup(), vlc_custom_create, and vlc_object_release.
| void sql_Destroy | ( | vlc_object_t * | obj | ) |
Destructor for p_sql object.
| obj | This p_sql object |
References module_unneed, sql_t::p_module, sql_t::psz_host, sql_t::psz_pass, sql_t::psz_user, and vlc_object_release.
1.7.1