X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fcfg.h;h=e159244ebbf5bf8e705ebdd6d1c96bf1bd353df0;hb=67a4917b07031b387beafaedce413b4207214059;hp=f548de27f75da6d7aa1e869fad6e63910620732d;hpb=34e63086edddcae06d7c1a4fa84fec0861e50758;p=openvswitch diff --git a/lib/cfg.h b/lib/cfg.h index f548de27..e159244e 100644 --- a/lib/cfg.h +++ b/lib/cfg.h @@ -26,6 +26,7 @@ struct svec; struct ofpbuf; +void cfg_init(void); int cfg_set_file(const char *file_name); int cfg_read(void); int cfg_lock(uint8_t *cookie, int timeout); @@ -63,6 +64,8 @@ void cfg_add_entry(const char *key, ...) PRINTF_FORMAT(1, 2); void cfg_del_entry(const char *key, ...) PRINTF_FORMAT(1, 2); void cfg_del_section(const char *key, ...) PRINTF_FORMAT(1, 2); void cfg_del_match(const char *pattern, ...) PRINTF_FORMAT(1, 2); +void cfg_get_matches(struct svec *svec, const char *pattern, ...) + PRINTF_FORMAT(2, 3); void cfg_get_section(struct svec *svec, const char *key, ...) PRINTF_FORMAT(2, 3);