[utils] adding tab and comma constants to file_utils for parsing CSV/TSV files
This commit is contained in:
@@ -24,6 +24,12 @@ extern "C" {
|
|||||||
|
|
||||||
#define PATH_SEPERATOR_LEN strlen(PATH_SEPERATOR)
|
#define PATH_SEPERATOR_LEN strlen(PATH_SEPERATOR)
|
||||||
|
|
||||||
|
#define TAB_SEPARATOR "\t"
|
||||||
|
#define TAB_SEPARATOR_LEN strlen(TAB_SEPARATOR)
|
||||||
|
|
||||||
|
#define COMMA_SEPARATOR ","
|
||||||
|
#define COMMA_SEPARATOR_LEN strlen(COMMA_SEPARATOR)
|
||||||
|
|
||||||
char *file_getline(FILE * f);
|
char *file_getline(FILE * f);
|
||||||
|
|
||||||
bool is_relative_path(struct dirent *ent);
|
bool is_relative_path(struct dirent *ent);
|
||||||
|
|||||||
Reference in New Issue
Block a user