upipe/uref_attr.h header reference
Upipe uref attributes handling More
Header inclusion [link]
Members [link]
Functions [link]
- int uref_attr_cmp_priv(struct uref *uref1, struct uref *uref2)
- int uref_attr_copy_bool(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name)
- int uref_attr_copy_bool_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...)
- int uref_attr_copy_float(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name)
- int uref_attr_copy_float_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...)
- int uref_attr_copy_int(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name)
- int uref_attr_copy_int_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...)
- int uref_attr_copy_list(struct uref *uref, struct uref *uref_src, int (*list[])(struct ::uref *,struct ::uref *) , size_t list_size)
- int uref_attr_copy_opaque(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name)
- int uref_attr_copy_opaque_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...)
- void uref_attr_copy_priv(struct uref *uref, struct uref *uref_src)
- int uref_attr_copy_rational(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name)
- int uref_attr_copy_rational_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...)
- int uref_attr_copy_small_int(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name)
- int uref_attr_copy_small_int_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...)
- int uref_attr_copy_small_unsigned(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name)
- int uref_attr_copy_small_unsigned_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...)
- int uref_attr_copy_string(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name)
- int uref_attr_copy_string_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...)
- int uref_attr_copy_unsigned(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name)
- int uref_attr_copy_unsigned_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...)
- int uref_attr_copy_void(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name)
- int uref_attr_copy_void_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...)
- int uref_attr_delete(struct uref *uref, enum udict_type type, const char *name)
- int uref_attr_delete_list(struct uref *uref, int (*list[])(struct ::uref *) , size_t list_size)
- void uref_attr_delete_priv(struct uref *uref)
- int uref_attr_delete_va(struct uref *uref, enum udict_type type, const char *format, ...)
- int uref_attr_get_bool(struct uref *uref, bool *p, enum udict_type type, const char *name)
- int uref_attr_get_bool_va(struct uref *uref, bool *p, enum udict_type type, const char *format, ...)
- int uref_attr_get_float(struct uref *uref, double *p, enum udict_type type, const char *name)
- int uref_attr_get_float_va(struct uref *uref, double *p, enum udict_type type, const char *format, ...)
- int uref_attr_get_int(struct uref *uref, int64_t *p, enum udict_type type, const char *name)
- int uref_attr_get_int_va(struct uref *uref, int64_t *p, enum udict_type type, const char *format, ...)
- int uref_attr_get_opaque(struct uref *uref, struct udict_opaque *p, enum udict_type type, const char *name)
- int uref_attr_get_opaque_va(struct uref *uref, struct udict_opaque *p, enum udict_type type, const char *format, ...)
- int uref_attr_get_priv(struct uref *uref, uint64_t *p)
- int uref_attr_get_rational(struct uref *uref, struct urational *p, enum udict_type type, const char *name)
- int uref_attr_get_rational_va(struct uref *uref, struct urational *p, enum udict_type type, const char *format, ...)
- int uref_attr_get_small_int(struct uref *uref, int8_t *p, enum udict_type type, const char *name)
- int uref_attr_get_small_int_va(struct uref *uref, int8_t *p, enum udict_type type, const char *format, ...)
- int uref_attr_get_small_unsigned(struct uref *uref, uint8_t *p, enum udict_type type, const char *name)
- int uref_attr_get_small_unsigned_va(struct uref *uref, uint8_t *p, enum udict_type type, const char *format, ...)
- int uref_attr_get_string(struct uref *uref, const char **p, enum udict_type type, const char *name)
- int uref_attr_get_string_va(struct uref *uref, const char **p, enum udict_type type, const char *format, ...)
- int uref_attr_get_unsigned(struct uref *uref, uint64_t *p, enum udict_type type, const char *name)
- int uref_attr_get_unsigned_va(struct uref *uref, uint64_t *p, enum udict_type type, const char *format, ...)
- int uref_attr_get_void(struct uref *uref, void **p, enum udict_type type, const char *name)
- int uref_attr_get_void_va(struct uref *uref, void **p, enum udict_type type, const char *format, ...)
- int uref_attr_import(struct uref *uref, struct uref *uref_attr)
- int uref_attr_match_priv(struct uref *uref, uint8_t min, uint8_t max)
- int uref_attr_set_bool(struct uref *uref, bool v, enum udict_type type, const char *name)
- int uref_attr_set_bool_va(struct uref *uref, bool v, enum udict_type type, const char *format, ...)
- int uref_attr_set_float(struct uref *uref, double v, enum udict_type type, const char *name)
- int uref_attr_set_float_va(struct uref *uref, double v, enum udict_type type, const char *format, ...)
- int uref_attr_set_int(struct uref *uref, int64_t v, enum udict_type type, const char *name)
- int uref_attr_set_int_va(struct uref *uref, int64_t v, enum udict_type type, const char *format, ...)
- int uref_attr_set_opaque(struct uref *uref, struct udict_opaque v, enum udict_type type, const char *name)
- int uref_attr_set_opaque_from_hex(struct uref *uref, const char *v, enum udict_type type, const char *name)
- int uref_attr_set_opaque_from_hex_va(struct uref *uref, const char *v, enum udict_type type, const char *format, ...)
- int uref_attr_set_opaque_va(struct uref *uref, struct udict_opaque v, enum udict_type type, const char *format, ...)
- void uref_attr_set_priv(struct uref *uref, uint64_t v)
- int uref_attr_set_rational(struct uref *uref, struct urational v, enum udict_type type, const char *name)
- int uref_attr_set_rational_va(struct uref *uref, struct urational v, enum udict_type type, const char *format, ...)
- int uref_attr_set_small_int(struct uref *uref, int8_t v, enum udict_type type, const char *name)
- int uref_attr_set_small_int_va(struct uref *uref, int8_t v, enum udict_type type, const char *format, ...)
- int uref_attr_set_small_unsigned(struct uref *uref, uint8_t v, enum udict_type type, const char *name)
- int uref_attr_set_small_unsigned_va(struct uref *uref, uint8_t v, enum udict_type type, const char *format, ...)
- int uref_attr_set_string(struct uref *uref, const char *v, enum udict_type type, const char *name)
- int uref_attr_set_string_va(struct uref *uref, const char *v, enum udict_type type, const char *format, ...)
- int uref_attr_set_unsigned(struct uref *uref, uint64_t v, enum udict_type type, const char *name)
- int uref_attr_set_unsigned_va(struct uref *uref, uint64_t v, enum udict_type type, const char *format, ...)
- int uref_attr_set_void(struct uref *uref, void *v, enum udict_type type, const char *name)
- int uref_attr_set_void_va(struct uref *uref, void *v, enum udict_type type, const char *format, ...)
Description [link]
Upipe uref attributes handling
Members detail [link]
#define UREF_ATTR_BOOL(group, attr, name, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 1024.
#define UREF_ATTR_BOOL_SH(group, attr, type, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 1091.
#define UREF_ATTR_FLOAT(group, attr, name, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 1988.
#define UREF_ATTR_FLOAT_SH(group, attr, type, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 2055.
#define UREF_ATTR_FLOAT_VA(group, attr, format, desc, args_decl, args) [link]
This macro is declared in upipe/uref_attr.h source file, line 2105.
#define UREF_ATTR_INT(group, attr, name, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 1777.
#define UREF_ATTR_INT_SH(group, attr, type, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 1845.
#define UREF_ATTR_INT_VA(group, attr, format, desc, args_decl, args) [link]
This macro is declared in upipe/uref_attr.h source file, line 1913.
#define UREF_ATTR_OPAQUE(group, attr, name, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 293.
#define UREF_ATTR_OPAQUE_SH(group, attr, type, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 369.
#define UREF_ATTR_OPAQUE_VA(group, attr, format, desc, args_decl, args) [link]
This macro is declared in upipe/uref_attr.h source file, line 431.
#define UREF_ATTR_RATIONAL(group, attr, name, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 2163.
#define UREF_ATTR_RATIONAL_SH(group, attr, type, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 2215.
#define UREF_ATTR_RATIONAL_VA(group, attr, format, desc, args_decl, args) [link]
This macro is declared in upipe/uref_attr.h source file, line 2267.
#define UREF_ATTR_SMALL_UNSIGNED(group, attr, name, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 1163.
#define UREF_ATTR_SMALL_UNSIGNED_SH(group, attr, type, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 1248.
#define UREF_ATTR_SMALL_UNSIGNED_VA(group, attr, format, desc, args_decl, args) [link]
This macro is declared in upipe/uref_attr.h source file, line 1331.
#define UREF_ATTR_STRING(group, attr, name, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 502.
#define UREF_ATTR_STRING_SH(group, attr, type, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 599.
#define UREF_ATTR_STRING_VA(group, attr, format, desc, args_decl, args) [link]
This macro is declared in upipe/uref_attr.h source file, line 682.
#define UREF_ATTR_TEMPLATE(utype, ctype) [link]
This macro is declared in upipe/uref_attr.h source file, line 123.
#define UREF_ATTR_UNSIGNED(group, attr, name, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 1428.
#define UREF_ATTR_UNSIGNED_SH(group, attr, type, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 1512.
#define UREF_ATTR_UNSIGNED_UREF(group, attr, member, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 1684.
#define UREF_ATTR_UNSIGNED_VA(group, attr, format, desc, args_decl, args) [link]
This macro is declared in upipe/uref_attr.h source file, line 1595.
#define UREF_ATTR_VOID(group, attr, name, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 774.
#define UREF_ATTR_VOID_SH(group, attr, type, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 838.
#define UREF_ATTR_VOID_UREF(group, attr, flag, desc) [link]
This macro is declared in upipe/uref_attr.h source file, line 972.
#define UREF_ATTR_VOID_VA(group, attr, format, desc, args_decl, args) [link]
This macro is declared in upipe/uref_attr.h source file, line 903.
#define _UPIPE_UREF_ATTR_H_ [link]
This macro is declared in upipe/uref_attr.h source file, line 31.
This function is declared in upipe/uref_attr.h source file, line 2316.
This function compares the private (internal pipe use) attribute in two urefs.
Parameter list:
- uref1: pointer to the first uref
- uref2: pointer to the second uref
The return value is 0 if both attributes are absent or identical
int uref_attr_copy_bool(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 235.
This function copies the desc attribute from an uref to another.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_copy_bool_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 235.
This function copies the desc attribute of an uref to another, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_copy_float(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 240.
This function copies the desc attribute from an uref to another.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_copy_float_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 240.
This function copies the desc attribute of an uref to another, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_copy_int(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 239.
This function copies the desc attribute from an uref to another.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_copy_int_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 239.
This function copies the desc attribute of an uref to another, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_copy_list(struct uref *uref, struct uref *uref_src, int (*list[])(struct ::uref *,struct ::uref *) , size_t list_size) [link]
This function is declared in upipe/uref_attr.h source file, line 70.
This function copies multiple attributes from an uref to another.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- list: array of copy function to apply
- list_size: size of the array
The return value is an error code
int uref_attr_copy_opaque(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 232.
This function copies the desc attribute from an uref to another.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_copy_opaque_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 232.
This function copies the desc attribute of an uref to another, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
This function is declared in upipe/uref_attr.h source file, line 2316.
This function copies the private (internal pipe use) attribute from an uref to another.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
The return value is an error code
int uref_attr_copy_rational(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 241.
This function copies the desc attribute from an uref to another.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_copy_rational_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 241.
This function copies the desc attribute of an uref to another, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_copy_small_int(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 237.
This function copies the desc attribute from an uref to another.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_copy_small_int_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 237.
This function copies the desc attribute of an uref to another, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_copy_small_unsigned(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 236.
This function copies the desc attribute from an uref to another.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_copy_small_unsigned_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 236.
This function copies the desc attribute of an uref to another, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_copy_string(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 233.
This function copies the desc attribute from an uref to another.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_copy_string_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 233.
This function copies the desc attribute of an uref to another, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_copy_unsigned(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 238.
This function copies the desc attribute from an uref to another.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_copy_unsigned_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 238.
This function copies the desc attribute of an uref to another, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_copy_void(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 234.
This function copies the desc attribute from an uref to another.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_copy_void_va(struct uref *uref, struct uref *uref_src, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 234.
This function copies the desc attribute of an uref to another, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- uref_src: pointer to the source uref
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_delete(struct uref *uref, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 86.
This function deletes an attribute.
Parameter list:
- uref: pointer to the uref
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_delete_list(struct uref *uref, int (*list[])(struct ::uref *) , size_t list_size) [link]
This function is declared in upipe/uref_attr.h source file, line 117.
This function deletes multiple attributes.
Parameter list:
- uref: pointer to the uref
- list: array of delete function to apply
- list_size: size of the array
The return value is an error code
This function is declared in upipe/uref_attr.h source file, line 2316.
This function deletes the private (internal pipe use) attribute of a uref.
Parameter list:
- uref: pointer to the uref
int uref_attr_delete_va(struct uref *uref, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 103.
This function deletes an attribute, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_get_bool(struct uref *uref, bool *p, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 235.
This function returns the value of a bool attribute.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_get_bool_va(struct uref *uref, bool *p, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 235.
This function returns the value of a bool attribute, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_get_float(struct uref *uref, double *p, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 240.
This function returns the value of a float attribute.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_get_float_va(struct uref *uref, double *p, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 240.
This function returns the value of a float attribute, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_get_int(struct uref *uref, int64_t *p, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 239.
This function returns the value of a int attribute.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_get_int_va(struct uref *uref, int64_t *p, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 239.
This function returns the value of a int attribute, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_get_opaque(struct uref *uref, struct udict_opaque *p, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 232.
This function returns the value of a opaque attribute.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_get_opaque_va(struct uref *uref, struct udict_opaque *p, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 232.
This function returns the value of a opaque attribute, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
This function is declared in upipe/uref_attr.h source file, line 2316.
This function returns the private (internal pipe use) attribute of a uref.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
The return value is an error code
int uref_attr_get_rational(struct uref *uref, struct urational *p, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 241.
This function returns the value of a rational attribute.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_get_rational_va(struct uref *uref, struct urational *p, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 241.
This function returns the value of a rational attribute, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_get_small_int(struct uref *uref, int8_t *p, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 237.
This function returns the value of a small_int attribute.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_get_small_int_va(struct uref *uref, int8_t *p, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 237.
This function returns the value of a small_int attribute, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_get_small_unsigned(struct uref *uref, uint8_t *p, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 236.
This function returns the value of a small_unsigned attribute.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_get_small_unsigned_va(struct uref *uref, uint8_t *p, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 236.
This function returns the value of a small_unsigned attribute, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_get_string(struct uref *uref, const char **p, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 233.
This function returns the value of a string attribute.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_get_string_va(struct uref *uref, const char **p, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 233.
This function returns the value of a string attribute, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_get_unsigned(struct uref *uref, uint64_t *p, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 238.
This function returns the value of a unsigned attribute.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_get_unsigned_va(struct uref *uref, uint64_t *p, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 238.
This function returns the value of a unsigned attribute, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_get_void(struct uref *uref, void **p, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 234.
This function returns the value of a void attribute.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_get_void_va(struct uref *uref, void **p, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 234.
This function returns the value of a void attribute, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- p: pointer to the retrieved value (modified during execution)
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
This function is declared in upipe/uref_attr.h source file, line 48.
This function imports all attributes from a uref into another uref (see also udict_import).
Parameter list:
- uref: overwritten uref
- uref_attr: uref containing attributes to fetch
The return value is an error code
This function is declared in upipe/uref_attr.h source file, line 2316.
This function compares the private (internal pipe use) attribute to given values.
Parameter list:
- uref: pointer to the uref
- min: minimum value
- max: maximum value
The return value is an error code
int uref_attr_set_bool(struct uref *uref, bool v, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 235.
This function sets the value of a bool attribute, optionally creating it.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_set_bool_va(struct uref *uref, bool v, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 235.
This function sets the value of a bool attribute, optionally creating it, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_set_float(struct uref *uref, double v, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 240.
This function sets the value of a float attribute, optionally creating it.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_set_float_va(struct uref *uref, double v, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 240.
This function sets the value of a float attribute, optionally creating it, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_set_int(struct uref *uref, int64_t v, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 239.
This function sets the value of a int attribute, optionally creating it.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_set_int_va(struct uref *uref, int64_t v, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 239.
This function sets the value of a int attribute, optionally creating it, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_set_opaque(struct uref *uref, struct udict_opaque v, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 232.
This function sets the value of a opaque attribute, optionally creating it.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_set_opaque_from_hex(struct uref *uref, const char *v, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 255.
This function sets the value of an opaque attribute, optionally creating it, from an hexadecimal string.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_set_opaque_from_hex_va(struct uref *uref, const char *v, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 277.
This function sets the value of an opaque attribute, optionally creating it, from an hexadecimal string, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_set_opaque_va(struct uref *uref, struct udict_opaque v, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 232.
This function sets the value of a opaque attribute, optionally creating it, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
This function is declared in upipe/uref_attr.h source file, line 2316.
This function sets the private (internal pipe use) attribute of a uref.
Parameter list:
- uref: pointer to the uref
- v: value to set
int uref_attr_set_rational(struct uref *uref, struct urational v, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 241.
This function sets the value of a rational attribute, optionally creating it.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_set_rational_va(struct uref *uref, struct urational v, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 241.
This function sets the value of a rational attribute, optionally creating it, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_set_small_int(struct uref *uref, int8_t v, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 237.
This function sets the value of a small_int attribute, optionally creating it.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_set_small_int_va(struct uref *uref, int8_t v, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 237.
This function sets the value of a small_int attribute, optionally creating it, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_set_small_unsigned(struct uref *uref, uint8_t v, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 236.
This function sets the value of a small_unsigned attribute, optionally creating it.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_set_small_unsigned_va(struct uref *uref, uint8_t v, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 236.
This function sets the value of a small_unsigned attribute, optionally creating it, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_set_string(struct uref *uref, const char *v, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 233.
This function sets the value of a string attribute, optionally creating it.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_set_string_va(struct uref *uref, const char *v, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 233.
This function sets the value of a string attribute, optionally creating it, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_set_unsigned(struct uref *uref, uint64_t v, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 238.
This function sets the value of a unsigned attribute, optionally creating it.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_set_unsigned_va(struct uref *uref, uint64_t v, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 238.
This function sets the value of a unsigned attribute, optionally creating it, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code
int uref_attr_set_void(struct uref *uref, void *v, enum udict_type type, const char *name) [link]
This function is declared in upipe/uref_attr.h source file, line 234.
This function sets the value of a void attribute, optionally creating it.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- name: name of the attribute
The return value is an error code
int uref_attr_set_void_va(struct uref *uref, void *v, enum udict_type type, const char *format, ...) [link]
This function is declared in upipe/uref_attr.h source file, line 234.
This function sets the value of a void attribute, optionally creating it, with printf-style name generation.
Parameter list:
- uref: pointer to the uref
- v: value to set
- type: type of the attribute (potentially a shorthand)
- format: printf-style format of the attribute, followed by a variable list of arguments
The return value is an error code