123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200 |
- #ifndef AVUTIL_DICT_H
- #define AVUTIL_DICT_H
- #include <stdint.h>
- #include "version.h"
- #define AV_DICT_MATCH_CASE 1
- #define AV_DICT_IGNORE_SUFFIX 2
- #define AV_DICT_DONT_STRDUP_KEY 4
- #define AV_DICT_DONT_STRDUP_VAL 8
- #define AV_DICT_DONT_OVERWRITE 16
- #define AV_DICT_APPEND 32
- #define AV_DICT_MULTIKEY 64
- typedef struct AVDictionaryEntry {
- char *key;
- char *value;
- } AVDictionaryEntry;
- typedef struct AVDictionary AVDictionary;
- AVDictionaryEntry *av_dict_get(const AVDictionary *m, const char *key,
- const AVDictionaryEntry *prev, int flags);
- int av_dict_count(const AVDictionary *m);
- int av_dict_set(AVDictionary **pm, const char *key, const char *value, int flags);
- int av_dict_set_int(AVDictionary **pm, const char *key, int64_t value, int flags);
- int av_dict_parse_string(AVDictionary **pm, const char *str,
- const char *key_val_sep, const char *pairs_sep,
- int flags);
- int av_dict_copy(AVDictionary **dst, const AVDictionary *src, int flags);
- void av_dict_free(AVDictionary **m);
- int av_dict_get_string(const AVDictionary *m, char **buffer,
- const char key_val_sep, const char pairs_sep);
- #endif
|