Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ast_sorcery_global_observer Struct Reference

Interface for the global sorcery observer. More...

#include <sorcery.h>

Data Fields

void(* instance_created )(const char *name, struct ast_sorcery *sorcery)
 Callback after an instance is created. More...
 
void(* instance_destroying )(const char *name, struct ast_sorcery *sorcery)
 Callback before an instance is destroyed. More...
 
void(* wizard_registered )(const char *name, const struct ast_sorcery_wizard *wizard)
 Callback after an wizard is registered. More...
 
void(* wizard_unregistering )(const char *name, const struct ast_sorcery_wizard *wizard)
 Callback before a wizard is unregistered. More...
 

Detailed Description

Interface for the global sorcery observer.

Definition at line 220 of file sorcery.h.

Field Documentation

◆ instance_created

void(* instance_created) (const char *name, struct ast_sorcery *sorcery)

Callback after an instance is created.

Definition at line 222 of file sorcery.h.

◆ instance_destroying

void(* instance_destroying) (const char *name, struct ast_sorcery *sorcery)

Callback before an instance is destroyed.

Definition at line 229 of file sorcery.h.

◆ wizard_registered

void(* wizard_registered) (const char *name, const struct ast_sorcery_wizard *wizard)

Callback after an wizard is registered.

Definition at line 225 of file sorcery.h.

Referenced by AST_TEST_DEFINE().

◆ wizard_unregistering

void(* wizard_unregistering) (const char *name, const struct ast_sorcery_wizard *wizard)

Callback before a wizard is unregistered.

Definition at line 232 of file sorcery.h.


The documentation for this struct was generated from the following file: