binary.h 375 B

12345678910111213141516
  1. #ifndef _BINARY_H
  2. # define _BINARY_H
  3. #include "conf.h"
  4. extern int checked_bin_buf;
  5. # define GET_CHECKSUM BIT0
  6. # define WRITE_CHECKSUM BIT1
  7. # define WRITE_PACK BIT2
  8. # define WRITE_CONF BIT3
  9. void check_sum(const char *, const char *);
  10. void write_settings(const char *, int, bool);
  11. void conf_to_bin(conf_t *, bool, int);
  12. #endif /* !_BINARY_H */