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