File: ipset_binary.h

package info (click to toggle)
iprange 1.0.4%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 272 kB
  • sloc: ansic: 2,050; makefile: 74; sh: 1
file content (9 lines) | stat: -rw-r--r-- 290 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#ifndef IPRANGE_IPSET_LOAD_SAVE_H
#define IPRANGE_IPSET_LOAD_SAVE_H

#define BINARY_HEADER_V10 "iprange binary format v1.0\n"

extern int ipset_load_binary_v10(FILE *fp, ipset *ips, int first_line_missing);
extern void ipset_save_binary_v10(ipset *ips);

#endif //IPRANGE_IPSET_LOAD_SAVE_H