read_config_header.h 517 B

12345678910111213141516
  1. #ifndef CCAN_TOOLS_READ_CONFIG_HEADER_H
  2. #define CCAN_TOOLS_READ_CONFIG_HEADER_H
  3. #include <stdbool.h>
  4. /* Get token if it's equal to token. */
  5. bool get_token(const char **line, const char *token);
  6. /* Get an identifier token. */
  7. char *get_symbol_token(void *ctx, const char **line);
  8. /* Read config header from config_dir/config.h: set compiler/cflags. */
  9. char *read_config_header(const char *config_dir,
  10. const char **compiler, const char **cflags,
  11. bool verbose);
  12. #endif /* CCAN_TOOLS_READ_CONFIG_HEADER_H */