File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / ntp / sntp / kod_management.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:08:38 2012 UTC (12 years, 5 months ago) by misho
Branches: ntp, MAIN
CVS tags: v4_2_6p5p0, v4_2_6p5, HEAD
ntp 4.2.6p5

    1: #ifndef KOD_MANAGEMENT_H
    2: #define KOD_MANAGEMENT_H
    3: 
    4: #include <time.h>
    5: 
    6: struct kod_entry {
    7: 	char hostname[255];
    8: 	time_t timestamp;
    9: 	char type[5];
   10: };
   11: 
   12: int search_entry(char *hostname, struct kod_entry **dst);
   13: 
   14: void add_entry(char *hostname, char *type);
   15: void delete_entry(char *hostname, char *type);
   16: void kod_init_kod_db(const char *db_file);
   17: void write_kod_db(void);
   18: 
   19: 
   20: #endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>