#include <glib.h>
#include <ngf/core-hooks.h>
#include <ngf/hook.h>
#include <ngf/sinkinterface.h>
#include <ngf/context.h>
Go to the source code of this file.
|
| typedef struct _NCore | NCore |
| | Internal core structure. More...
|
| |
◆ NCore
| typedef struct _NCore NCore |
◆ n_core_connect()
Connect callback function to hook.
- Parameters
-
| core | Core. |
| hook | Hook to connect callback to. |
| priority | Priority of callback function. |
| callback | Callback function. |
| userdata | Userdata. |
- Returns
- TRUE if successful.
- See also
- _NCoreHook
-
_NHookPriority
-
NHookCallback
◆ n_core_disconnect()
Disconnect callback function from hook.
- Parameters
-
| core | Core. |
| hook | Hook to connect callback to. |
| callback | Callback function. |
| userdata | Userdata. |
- See also
- _NCoreHook
-
NHookCallback
◆ n_core_get_context()
Get context structure associated with core.
- Parameters
-
- Returns
- NContext structure.
◆ n_core_get_events()
| GList * n_core_get_events |
( |
NCore * |
core | ) |
|
Get list of known events.
- Parameters
-
- Returns
- GList of events.
◆ n_core_get_requests()
| GList * n_core_get_requests |
( |
NCore * |
core | ) |
|
Get list of active requests.
- Parameters
-
- Returns
- Requests in GList type.
◆ n_core_get_sinks()
Get list of registered sinks.
- Parameters
-
- Returns
- Array of NSinkInterfaces