Back to home page

Enduro/X

 
 

    


0001 #ifndef CGREEN_STRING_COMPARISON_H
0002 #define CGREEN_STRING_COMPARISON_H
0003 
0004 #ifndef __cplusplus
0005 #include <stdbool.h>
0006 #endif
0007 #include <string.h>
0008 
0009 #ifdef __cplusplus
0010 namespace cgreen {
0011     extern "C" {
0012 #endif
0013 
0014 bool strings_are_equal(const char *tried, const char *expected);
0015 bool string_contains(const char *actual, const char *expected);
0016 
0017 #ifdef __cplusplus
0018     }
0019 }
0020 #endif
0021 
0022 #endif