Revision ba723a34d6f6e8d23bf39b8fd2bef7308d4f974b authored by Glen Barber on 12 August 2015, 14:17:41 UTC, committed by Glen Barber on 12 August 2015, 14:17:41 UTC
10.2-RELEASE builds.

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
1 parent e1a0e62
Raw File
kod_management.h
#ifndef KOD_MANAGEMENT_H
#define KOD_MANAGEMENT_H

#include <time.h>

struct kod_entry {
	char hostname[255];
	time_t timestamp;
	char type[5];
};

int search_entry(const char *hostname, struct kod_entry **dst);
void add_entry(const char *hostname, const char *type);
void delete_entry(const char *hostname, const char *type);
void kod_init_kod_db(const char *db_file, int readonly);
int  write_kod_db(void);
void atexit_write_kod_db(void);


#endif
back to top