ast_sorcery_instance_observer Struct Reference

Interface for the sorcery instance observer. More...

#include <sorcery.h>


Data Fields

void(* instance_loaded )(const char *name, const struct ast_sorcery *sorcery, int reloaded)
 Callback after instance is loaded/reloaded.
void(* instance_loading )(const char *name, const struct ast_sorcery *sorcery, int reloaded)
 Callback before instance is loaded/reloaded.
void(* object_type_loaded )(const char *name, const struct ast_sorcery *sorcery, const char *object_type, int reloaded)
 Callback after any object_type is loaded/reloaded.
void(* object_type_loading )(const char *name, const struct ast_sorcery *sorcery, const char *object_type, int reloaded)
 Callback before any object_type is loaded/reloaded.
void(* object_type_registered )(const char *name, struct ast_sorcery *sorcery, const char *object_type)
 Callback after any object_type is registered.
void(* wizard_mapped )(const char *name, struct ast_sorcery *sorcery, const char *object_type, struct ast_sorcery_wizard *wizard, const char *wizard_args, void *wizard_data)
 Callback after a wizard is mapped to an object_type.


Detailed Description

Interface for the sorcery instance observer.

Definition at line 237 of file sorcery.h.


Field Documentation

void(* instance_loaded)(const char *name, const struct ast_sorcery *sorcery, int reloaded)

Callback after instance is loaded/reloaded.

Referenced by AST_TEST_DEFINE().

void(* instance_loading)(const char *name, const struct ast_sorcery *sorcery, int reloaded)

Callback before instance is loaded/reloaded.

Referenced by AST_TEST_DEFINE().

void(* object_type_loaded)(const char *name, const struct ast_sorcery *sorcery, const char *object_type, int reloaded)

Callback after any object_type is loaded/reloaded.

Referenced by AST_TEST_DEFINE().

void(* object_type_loading)(const char *name, const struct ast_sorcery *sorcery, const char *object_type, int reloaded)

Callback before any object_type is loaded/reloaded.

Referenced by AST_TEST_DEFINE().

void(* object_type_registered)(const char *name, struct ast_sorcery *sorcery, const char *object_type)

Callback after any object_type is registered.

void(* wizard_mapped)(const char *name, struct ast_sorcery *sorcery, const char *object_type, struct ast_sorcery_wizard *wizard, const char *wizard_args, void *wizard_data)

Callback after a wizard is mapped to an object_type.

Referenced by AST_TEST_DEFINE().


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