]> git.ozlabs.org Git - ccan/blob - tools/read_config_header.h
ccanlint: make depends_accurate test more accurate.
[ccan] / tools / read_config_header.h
1 #ifndef CCAN_TOOLS_READ_CONFIG_HEADER_H
2 #define CCAN_TOOLS_READ_CONFIG_HEADER_H
3 #include <stdbool.h>
4
5 /* Get token if it's equal to token. */
6 bool get_token(const char **line, const char *token);
7
8 /* Get an identifier token. */
9 char *get_symbol_token(void *ctx, const char **line);
10
11 /* Read config header from config_dir/config.h: set compiler/cflags. */
12 char *read_config_header(const char *config_dir,
13                          const char **compiler, const char **cflags,
14                          bool verbose);
15
16 #endif /* CCAN_TOOLS_READ_CONFIG_HEADER_H */