Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: c-utility/inc/azure_c_shared_utility/httpapiexsas.h
- Revision:
- 0:f7f1f0d76dd6
diff -r 000000000000 -r f7f1f0d76dd6 c-utility/inc/azure_c_shared_utility/httpapiexsas.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/c-utility/inc/azure_c_shared_utility/httpapiexsas.h Thu Aug 23 06:52:14 2018 +0000 @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +#ifndef HTTPAPIEX_SAS_H +#define HTTPAPIEX_SAS_H + +#include "azure_c_shared_utility/strings.h" +#include "azure_c_shared_utility/buffer_.h" +#include "azure_c_shared_utility/httpheaders.h" +#include "azure_c_shared_utility/httpapiex.h" +#include "azure_c_shared_utility/umock_c_prod.h" + +#ifdef __cplusplus +extern "C" { +#endif + + +typedef struct HTTPAPIEX_SAS_STATE_TAG* HTTPAPIEX_SAS_HANDLE; + +MOCKABLE_FUNCTION(, HTTPAPIEX_SAS_HANDLE, HTTPAPIEX_SAS_Create, STRING_HANDLE, key, STRING_HANDLE, uriResource, STRING_HANDLE, keyName); + +MOCKABLE_FUNCTION(, HTTPAPIEX_SAS_HANDLE, HTTPAPIEX_SAS_Create_From_String, const char*, key, const char*, uriResource, const char*, keyName); + +MOCKABLE_FUNCTION(, void, HTTPAPIEX_SAS_Destroy, HTTPAPIEX_SAS_HANDLE, handle); + +MOCKABLE_FUNCTION(, HTTPAPIEX_RESULT, HTTPAPIEX_SAS_ExecuteRequest, HTTPAPIEX_SAS_HANDLE, sasHandle, HTTPAPIEX_HANDLE, handle, HTTPAPI_REQUEST_TYPE, requestType, const char*, relativePath, HTTP_HEADERS_HANDLE, requestHttpHeadersHandle, BUFFER_HANDLE, requestContent, unsigned int*, statusCode, HTTP_HEADERS_HANDLE, responseHeadersHandle, BUFFER_HANDLE, responseContent); + +#ifdef __cplusplus +} +#endif + +#endif /* HTTPAPIEX_SAS_H */