StreamLinkforC
7.0.3-308369
|
![]() |
Definition of the interface that StreamLink uses to obtain credentials information. More...
#include <sl4c.h>
Data Fields | |
void(* | dealloc )(sl_credentialsprovider *provider) |
Deallocate the entire sl_credentialsprovider structure. More... | |
sl_credentials *(* | get_credentials )(streamlink *client, sl_credentialsprovider *provider) |
Get the credentials to login to the Liberator. More... | |
void(* | free_credentials )(sl_credentialsprovider *provider, sl_credentials *credentials) |
Deallocate the returned credentials. More... | |
void * | context |
User context. | |
Definition of the interface that StreamLink uses to obtain credentials information.
If your StreamLink application does not use one of the credentials providers supplied with StreamLink then you must implement this interface within your program
void(* sl_credentialsprovider_s::dealloc) (sl_credentialsprovider *provider) |
Deallocate the entire sl_credentialsprovider structure.
provider | - The provider instance to deallocate |
void(* sl_credentialsprovider_s::free_credentials) (sl_credentialsprovider *provider, sl_credentials *credentials) |
Deallocate the returned credentials.
provider | |
credentials | - Credentials to deallocate |
sl_credentials*(* sl_credentialsprovider_s::get_credentials) (streamlink *client, sl_credentialsprovider *provider) |
Get the credentials to login to the Liberator.
provider |