Debian Codegraph @

src/vendor/azure-uamqp-c/deps/azure-c-shared-utility/inc/azure_c_shared_utility/sastoken.h

raw
1 // Copyright (c) Microsoft. All rights reserved.
2 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
3
4 #ifndef SASTOKEN_H
5 #define SASTOKEN_H
6
7 #include <stdint.h>
8
9 #ifdef __cplusplus
10 #else
11 #include <stdbool.h>
12 #endif
13
14 #include "azure_c_shared_utility/strings.h"
15 #include "umock_c/umock_c_prod.h"
16
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20
21 MOCKABLE_FUNCTION(, bool, SASToken_Validate, STRING_HANDLE, sasToken);
22 MOCKABLE_FUNCTION(, STRING_HANDLE, SASToken_Create, STRING_HANDLE, key, STRING_HANDLE, scope, STRING_HANDLE, keyName, uint64_t, expiry);
23 MOCKABLE_FUNCTION(, STRING_HANDLE, SASToken_CreateString, const char*, key, const char*, scope, const char*, keyName, uint64_t, expiry);
24
25 #ifdef __cplusplus
26 }
27 #endif
28
29 #endif /* SASTOKEN_H */