Mark Radbourne / Mbed 2 deprecated iothub_client_sample_amqp

Dependencies:   EthernetInterface NTPClient iothub_amqp_transport iothub_client mbed-rtos mbed

Fork of iothub_client_sample_amqp by Azure IoT

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers string_tokenizer.h Source File

string_tokenizer.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 STRING_TOKENIZER_H
00005 #define STRING_TOKENIZER_H
00006 
00007 #include "azure_c_shared_utility/strings.h"
00008 #include "azure_c_shared_utility/umock_c_prod.h"
00009 
00010 #ifdef __cplusplus
00011 extern "C"
00012 {
00013 #else
00014 #endif
00015 
00016 typedef struct STRING_TOKEN_TAG* STRING_TOKENIZER_HANDLE;
00017 
00018 MOCKABLE_FUNCTION(, STRING_TOKENIZER_HANDLE, STRING_TOKENIZER_create, STRING_HANDLE, handle);
00019 MOCKABLE_FUNCTION(, STRING_TOKENIZER_HANDLE, STRING_TOKENIZER_create_from_char, const char*, input);
00020 MOCKABLE_FUNCTION(, int, STRING_TOKENIZER_get_next_token, STRING_TOKENIZER_HANDLE, t, STRING_HANDLE, output, const char*, delimiters);
00021 MOCKABLE_FUNCTION(, void, STRING_TOKENIZER_destroy, STRING_TOKENIZER_HANDLE, t);
00022 
00023 #ifdef __cplusplus
00024 }
00025 #else
00026 #endif
00027 
00028 #endif  /*STRING_TOKENIZER_H*/