files.h 287 B

1234567891011121314151617
  1. /* files.h */
  2. #ifndef _FILES_H
  3. #define _FILES_H
  4. struct config_keyword {
  5. const char *keyword;
  6. int (* const handler)(const char *line, void *var);
  7. void *var;
  8. const char *def;
  9. };
  10. int read_config(const char *file);
  11. void write_leases(void);
  12. void read_leases(const char *file);
  13. #endif