Files
EPANET/src/util/cstr_helper.h
T
Michael Tryby ac56971ef2 Work in progress
Creating function for validateing element ID strings
2019-04-16 14:44:06 -04:00

39 lines
733 B
C

/*
******************************************************************************
Project: OWA EPANET
Version: 2.2
Module: util/cstr_helper.h
Description: Provides C string helper functions
Authors: see AUTHORS
Copyright: see AUTHORS
License: see LICENSE
Last Updated: 04/02/2019
******************************************************************************
*/
#ifndef CSTR_HELPER_H_
#define CSTR_HELPER_H_
#include <stdbool.h>
#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_ */