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 urlencode.h Source File

urlencode.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 URLENCODE_H
00005 #define URLENCODE_H
00006 
00007 #include "azure_c_shared_utility/strings.h"
00008 
00009 #include "azure_c_shared_utility/umock_c_prod.h"
00010 
00011 #ifdef __cplusplus
00012 extern "C" {
00013 #endif
00014 
00015     MOCKABLE_FUNCTION(, STRING_HANDLE, URL_EncodeString, const char*, textEncode);
00016     MOCKABLE_FUNCTION(, STRING_HANDLE, URL_Encode, STRING_HANDLE, input);
00017 
00018 #ifdef __cplusplus
00019 }
00020 #endif
00021 
00022 #endif /* URLENCODE_H */
00023