upipe/upipe_helper_uref_mgr.h header reference
Upipe helper functions for uref manager More
Header inclusion
Members
Macro
Description
Members detail
This macro is declared in upipe/upipe_helper_uref_mgr.h source file, line 83.
This macro declares four functions dealing with the uref manager.
You must add one pointer to your private upipe structure, for instance:
You must also declare UPIPE_HELPER_UPIPE prior to using this macro.
Supposing the name of your structure is upipe_foo, it declares:
Typically called in your upipe_foo_alloc() function.
Typically called from your upipe_foo_control() handler, such as:
case UPIPE_ATTACH_UREF_MGR: {
return upipe_foo_attach_uref_mgr(upipe);
}Checks if the uref manager is available, and asks for it otherwise.
Typically called from your upipe_foo_free() function.
Parameters list:
- STRUCTURE: name of your private upipe structure
- UREF_MGR: name of the struct uref_mgr * field of your private upipe structure
This macro is declared in upipe/upipe_helper_uref_mgr.h source file, line 31.