Work in progress
Creating function for validateing element ID strings
This commit is contained in:
+15
-2
@@ -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_ */
|
||||
|
||||
Reference in New Issue
Block a user