source: azure_iot_hub/trunk/azure_iohub/c-utility/inc/azure_c_shared_utility/sastoken.h@ 388

Last change on this file since 388 was 388, checked in by coas-nagasima, 5 years ago

Azure IoT Hub Device C SDK を使ったサンプルの追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-chdr
File size: 753 bytes
Line 
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 "azure_c_shared_utility/strings.h"
8#include <stdbool.h>
9#include "azure_c_shared_utility/umock_c_prod.h"
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15 MOCKABLE_FUNCTION(, bool, SASToken_Validate, STRING_HANDLE, sasToken);
16 MOCKABLE_FUNCTION(, STRING_HANDLE, SASToken_Create, STRING_HANDLE, key, STRING_HANDLE, scope, STRING_HANDLE, keyName, size_t, expiry);
17 MOCKABLE_FUNCTION(, STRING_HANDLE, SASToken_CreateString, const char*, key, const char*, scope, const char*, keyName, size_t, expiry);
18
19#ifdef __cplusplus
20}
21#endif
22
23#endif /* SASTOKEN_H */
Note: See TracBrowser for help on using the repository browser.