prototype.c | 137 protolib_init(struct protolib *plib) 139 DICT_INIT(&plib->prototypes, char *, struct prototype, 142 DICT_INIT(&plib->named_types, char *, struct named_type, 145 VECT_INIT(&plib->imports, struct protolib *); 147 plib->refs = 0; 163 protolib_destroy(struct protolib *plib) 165 assert(plib->refs == 0); 167 VECT_DESTROY(&plib->imports, struct prototype *, NULL, NULL); 169 DICT_DESTROY(&plib->prototypes, const char *, struct prototype, 172 DICT_DESTROY(&plib->named_types, const char *, struct named_type 392 struct protolib *plib = consider_config_dir(cache, *dirs, key); local 406 struct protolib *plib = protolib_cache_file(cache, *fnp, 1); local 490 struct protolib *plib = data; local 586 struct protolib *plib; local 607 struct protolib *plib = build_default_config(cache, key); local 621 struct protolib *plib; local [all...] |