LICK
 All Data Structures Files Functions Variables Enumerations Enumerator
file-utils.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include <stdio.h>
9 
15 char *read_line(FILE *f);
21 char *file_to_str(FILE *f);
37 void conf_option(char *ln, char **keyword_start, char **item_start);
43 int is_conf_path(const char *name);
int is_conf_path(const char *name)
determine if a file is a configuration file, from the file name
Definition: file-utils.c:82
char * read_line(FILE *f)
read a line of any size from a file
Definition: file-utils.c:7
void conf_option(char *ln, char **keyword_start, char **item_start)
extract info from a line of a configuration file
Definition: file-utils.c:51
char * file_to_str(FILE *f)
read a file into a string
Definition: file-utils.c:30