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.
void(* instance_destroying )(const char *name, struct ast_sorcery *sorcery)
 Callback before an instance is destroyed.
void(* wizard_registered )(const char *name, const struct ast_sorcery_wizard *wizard)
 Callback after an wizard is registered.
void(* wizard_unregistering )(const char *name, const struct ast_sorcery_wizard *wizard)
 Callback before a wizard is unregistered.


Detailed Description

Interface for the global sorcery observer.

Definition at line 220 of file sorcery.h.


Field Documentation

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

Callback after an instance is created.

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

Callback before an instance is destroyed.

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

Callback after an wizard is registered.

Referenced by AST_TEST_DEFINE().

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

Callback before a wizard is unregistered.


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

Generated on Thu Apr 16 06:35:39 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6