Public dictionary API. More...

Go to the source code of this file.

Data Structures

struct  AVDictionaryEntry
 

Macros

#define AVUTIL_DICT_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_MATCH_CASE   1
 
#define AV_DICT_IGNORE_SUFFIX   2
 
#define AV_DICT_DONT_STRDUP_KEY   4
 Take ownership of a key that's been allocated with av_malloc() and children. More...
 
#define AV_DICT_DONT_STRDUP_VAL   8
 Take ownership of a value that's been allocated with av_malloc() and chilren. More...
 
#define AV_DICT_DONT_OVERWRITE   16
 Don't overwrite existing entries. More...
 
#define AV_DICT_APPEND   32
 If the entry already exists, append to it. More...
 

Typedefs

typedef struct AVDictionaryEntry AVDictionaryEntry
 
typedef struct AVDictionary AVDictionary
 

Functions

AVDictionaryEntryav_dict_get (AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags)
 Get a dictionary entry with matching key. More...
 
int av_dict_count (const AVDictionary *m)
 Get number of entries in dictionary. More...
 
int av_dict_set (AVDictionary **pm, const char *key, const char *value, int flags)
 Set the given entry in *pm, overwriting an existing entry. More...
 
void av_dict_copy (AVDictionary **dst, AVDictionary *src, int flags)
 Copy entries from one AVDictionary struct into another. More...
 
void av_dict_free (AVDictionary **m)
 Free all the memory allocated for an AVDictionary struct and all keys and values. More...
 

Detailed Description

Public dictionary API.

Definition in file dict.h.

Macro Definition Documentation

#define AV_DICT_APPEND   32

Referenced by av_dict_set().

#define AV_DICT_DONT_OVERWRITE   16
#define AV_DICT_DONT_STRDUP_KEY   4
#define AV_DICT_MATCH_CASE   1

Referenced by av_dict_get(), and get_date_tag().

#define AVUTIL_DICT_H