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 CONNECTION_STRING_PARSER_H
|
---|
5 | #define CONNECTION_STRING_PARSER_H
|
---|
6 |
|
---|
7 | #include "azure_c_shared_utility/map.h"
|
---|
8 | #include "azure_c_shared_utility/strings.h"
|
---|
9 |
|
---|
10 | #include "umock_c/umock_c_prod.h"
|
---|
11 |
|
---|
12 | #ifdef __cplusplus
|
---|
13 | extern "C"
|
---|
14 | {
|
---|
15 | #endif
|
---|
16 |
|
---|
17 | MOCKABLE_FUNCTION(, MAP_HANDLE, connectionstringparser_parse_from_char, const char*, connection_string);
|
---|
18 | MOCKABLE_FUNCTION(, MAP_HANDLE, connectionstringparser_parse, STRING_HANDLE, connection_string);
|
---|
19 | MOCKABLE_FUNCTION(, int, connectionstringparser_splitHostName_from_char, const char*, hostName, STRING_HANDLE, nameString, STRING_HANDLE, suffixString);
|
---|
20 | MOCKABLE_FUNCTION(, int, connectionstringparser_splitHostName, STRING_HANDLE, hostNameString, STRING_HANDLE, nameString, STRING_HANDLE, suffixString);
|
---|
21 |
|
---|
22 | #ifdef __cplusplus
|
---|
23 | }
|
---|
24 | #endif
|
---|
25 |
|
---|
26 | #endif /* CONNECTION_STRING_PARSER_H */
|
---|