#ifndef _OG_REPO_H_ #define _OG_REPO_H_ #include #include "list.h" #define OG_ADDR_REPO_MAX 16 struct og_repo { struct list_head list; const char *name; uint32_t id; struct in_addr addr[OG_ADDR_REPO_MAX]; int num_ips; }; int og_repo_list(struct list_head *repo_list); void og_repo_free_list(struct list_head *repo_list); #endif