PipeWire 1.6.5

Loading...
Searching...
No Matches
dict-types.h
Go to the documentation of this file.
1/* Simple Plugin API */
2/* SPDX-FileCopyrightText: Copyright © 2018 Wim Taymans */
3/* SPDX-License-Identifier: MIT */
4
5#ifndef SPA_PARAM_DICT_TYPES_H
6#define SPA_PARAM_DICT_TYPES_H
7
8#include <spa/utils/enum-types.h>
9#include <spa/param/param-types.h>
10#include <spa/param/dict.h>
11
12#ifdef __cplusplus
13 extern "C" {
14#endif
15
20
21#define SPA_TYPE_INFO_PARAM_Dict SPA_TYPE_INFO_PARAM_BASE "Dict"
22#define SPA_TYPE_INFO_PARAM_DICT_BASE SPA_TYPE_INFO_PARAM_Dict ":"
23
24 static const struct spa_type_info spa_type_param_dict[] = {
25 { SPA_PARAM_DICT_START, SPA_TYPE_Id, SPA_TYPE_INFO_PARAM_DICT_BASE, spa_type_param, },
26 { SPA_PARAM_DICT_info, SPA_TYPE_Struct, SPA_TYPE_INFO_PARAM_DICT_BASE "info", NULL, },
27 { 0, 0, NULL, NULL },
28};
29
31 * \}
32 */
33
34#ifdef __cplusplus
35} /* extern "C" */
36#endif
37
38#endif /* SPA_PARAM_DICT_TYPES_H */
enum-types.h
spa/utils/enum-types.h
SPA_TYPE_INFO_PARAM_DICT_BASE
#define SPA_TYPE_INFO_PARAM_DICT_BASE
Definition dict-types.h:29
spa_type_param
static const struct spa_type_info spa_type_param[]
Definition param-types.h:32
spa_type_param_dict
static const struct spa_type_info spa_type_param_dict[]
Definition dict-types.h:31
SPA_PARAM_DICT_info
@ SPA_PARAM_DICT_info
Struct( Int: n_items (String: key ...
Definition dict.h:27
SPA_PARAM_DICT_START
@ SPA_PARAM_DICT_START
Definition dict.h:26
SPA_TYPE_Id
@ SPA_TYPE_Id
Definition type.h:44
SPA_TYPE_Struct
@ SPA_TYPE_Struct
Definition type.h:55
param-types.h
spa/param/param-types.h
dict.h
spa/param/dict.h
spa_type_info
Definition type.h:156