read_config_header.h 466 B

1234567891011121314
  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: sets compiler/cflags. */
  9. char *read_config_header(const char *config_dir, bool verbose);
  10. #endif /* CCAN_TOOLS_READ_CONFIG_HEADER_H */