upipe-modules/upipe_probe_uref.h header reference
Upipe module - probe uref More
Header inclusion [link]
Members [link]
Type [link]
Functions [link]
- struct upipe_mgr * upipe_probe_uref_mgr_alloc(void )
- bool uprobe_probe_uref_check(int event, va_list args, struct uref **uref_p, struct upump ***upump_pp, bool **drop_p)
Macro [link]
Description [link]
This linear module sends a probe for each uref. It can also drop uref on demand using the second probe va_arg element.
Members detail [link]
#define UPIPE_PROBE_UREF_SIGNATURE [link]
This macro is declared in upipe-modules/upipe_probe_uref.h source file, line 41.
#define _UPIPE_MODULES_UPIPE_PROBE_UREF_H_ [link]
This macro is declared in upipe-modules/upipe_probe_uref.h source file, line 33.
This function is declared in upipe-modules/upipe_probe_uref.h source file, line 90.
This function returns the management structure for probe pipes.
The return value is pointer to manager
bool uprobe_probe_uref_check(int event, va_list args, struct uref **uref_p, struct upump ***upump_pp, bool **drop_p) [link]
This function is declared in upipe-modules/upipe_probe_uref.h source file, line 70.
This function checks if an event is the extended probe_uref event.
Parameter list:
- event: event triggered by the pipe
- args: arguments of the event
- uref_p: filled with the first argument
- upump_pp: filled with the second argument
- drop_p: filled with the third argument
The return value is true if the event is the expected extended event, false otherwise
#define uprobe_probe_uref_check_extended(event, args, expected_event) [link]
This macro is declared in upipe-modules/upipe_probe_uref.h source file, line 52.
This macro defines a helper to check probe_uref extended events.
enum uprobe_probe_uref_event [link]
This enum is declared in upipe-modules/upipe_probe_uref.h source file, line 45.
This enum extends uprobe_event with specific events for probe_uref.
| Identifier | Value | Description |
|---|---|---|
| UPROBE_PROBE_SENTINEL | 0x8000 | |
| UPROBE_PROBE_UREF | 1 | received uref event (struct uref *, struct upump **, bool *drop) |