X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fas3%2Futils.h;h=6abc6f8f07f49eb7f2a71b1ea6444d5ce510d812;hb=9849a561c330f39a0a130d6a7953053abb336261;hp=42511ced42d735a95a5ebcdf72dab788e03d9a08;hpb=07ed6342a97e86dd58ba30823ecf1cbf9c8ad761;p=swftools.git diff --git a/lib/as3/utils.h b/lib/as3/utils.h index 42511ce..6abc6f8 100644 --- a/lib/as3/utils.h +++ b/lib/as3/utils.h @@ -46,4 +46,16 @@ typedef struct _dict { dict_entry_t*d; } dict_t; +dict_t* dict_new(); +void dict_free(dict_t*dict); +const char*dict_getstr(dict_t*dict, int nr); +char*dict_getdata(dict_t*dict, int nr); +int dict_append(dict_t*dict, const char*name, void*data); +int dict_find(dict_t*dict, const char*name); +int dict_find2(dict_t*dict, const char*name, void*data); +int dict_update(dict_t*dict, const char*name, void*data); +int dict_update(dict_t*dict, const char*name, void*data); +int dict_append_if_new(dict_t*dict, const char*name, void*data); + + #endif