Miam-Player  0.8.0
A nice music player
dict.h File Reference
#include <stdint.h>
#include "version.h"

Go to the source code of this file.

Classes

struct  AVDictionaryEntry
 

Macros

#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
 Don't overwrite existing entries. More...
 
#define AV_DICT_APPEND   32
 
#define AV_DICT_MULTIKEY   64
 

Typedefs

typedef struct AVDictionaryEntry AVDictionaryEntry
 
typedef struct AVDictionary AVDictionary
 

Functions

AVDictionaryEntryav_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)
 

Detailed Description

Public dictionary API.

Deprecated:
AVDictionary is provided for compatibility with libav. It is both in implementation as well as API inefficient. It does not scale and is extremely slow with large dictionaries. It is recommended that new code uses our tree container from tree.c/h where applicable, which uses AVL trees to achieve O(log n) performance.