Nigel Rantor / azure_c_shared_utility

Fork of azure_c_shared_utility by Azure IoT

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers connection_string_parser.h Source File

connection_string_parser.h

00001 // Copyright (c) Microsoft. All rights reserved.
00002 // Licensed under the MIT license. See LICENSE file in the project root for full license information.
00003 
00004 #ifndef CONNECTION_STRING_PARSER_H
00005 #define CONNECTION_STRING_PARSER_H
00006 
00007 #include "azure_c_shared_utility/umock_c_prod.h"
00008 #include "azure_c_shared_utility/map.h" 
00009 #include "azure_c_shared_utility/strings.h"
00010 
00011 #ifdef __cplusplus
00012 extern "C" 
00013 {
00014 #endif
00015 
00016     MOCKABLE_FUNCTION(, MAP_HANDLE, connectionstringparser_parse_from_char, const char*, connection_string);
00017     MOCKABLE_FUNCTION(, MAP_HANDLE, connectionstringparser_parse, STRING_HANDLE, connection_string);
00018     MOCKABLE_FUNCTION(, int, connectionstringparser_splitHostName_from_char, const char*, hostName, STRING_HANDLE, nameString, STRING_HANDLE, suffixString);
00019     MOCKABLE_FUNCTION(, int, connectionstringparser_splitHostName, STRING_HANDLE, hostNameString, STRING_HANDLE, nameString, STRING_HANDLE, suffixString);
00020 
00021 #ifdef __cplusplus
00022 }
00023 #endif
00024 
00025 #endif /* CONNECTION_STRING_PARSER_H */