Work in progress

Creating function for validateing element ID strings
This commit is contained in:
Michael Tryby
2019-04-16 14:44:06 -04:00
parent 8989be193a
commit ac56971ef2
5 changed files with 74 additions and 9 deletions
+15 -2
View File
@@ -18,8 +18,21 @@
#include <stdbool.h>
int copy_cstr(const char *source, char **destination);
bool isnullterm_cstr(const char *source);
#if defined(__cplusplus)
extern "C" {
#endif
int cstr_copy(const char *source, char **destination);
bool cstr_validate_id(const char *element_id);
bool cstr_isnullterm(const char *source);
#if defined(__cplusplus)
}
#endif
#endif /* CSTR_HELPER_H_ */