Add ContentRedirection_DeInitLibrary

This commit is contained in:
Maschell 2022-09-03 17:58:17 +02:00
parent 14576d207c
commit d6de8b7504
2 changed files with 6 additions and 0 deletions

View File

@ -74,6 +74,8 @@ const char *ContentRedirection_GetStatusStr(ContentRedirectionStatus status);
*/ */
ContentRedirectionStatus ContentRedirection_InitLibrary(); ContentRedirectionStatus ContentRedirection_InitLibrary();
ContentRedirectionStatus ContentRedirection_DeInitLibrary();
/** /**
* Retrieves the API Version of the loaded ContentRedirectionModule.<br> * Retrieves the API Version of the loaded ContentRedirectionModule.<br>
* <br> * <br>

View File

@ -83,6 +83,10 @@ ContentRedirectionStatus ContentRedirection_InitLibrary() {
return CONTENT_REDIRECTION_RESULT_SUCCESS; return CONTENT_REDIRECTION_RESULT_SUCCESS;
} }
ContentRedirectionStatus ContentRedirection_DeInitLibrary() {
return CONTENT_REDIRECTION_RESULT_SUCCESS;
}
ContentRedirectionApiErrorType GetVersion(ContentRedirectionVersion *); ContentRedirectionApiErrorType GetVersion(ContentRedirectionVersion *);
ContentRedirectionStatus ContentRedirection_GetVersion(ContentRedirectionVersion *outVariable) { ContentRedirectionStatus ContentRedirection_GetVersion(ContentRedirectionVersion *outVariable) {
if (sCRGetVersion == nullptr) { if (sCRGetVersion == nullptr) {