ast_sorcery_observer Struct Reference

Interface for a sorcery object type observer. More...

#include <sorcery.h>


Data Fields

void(* created )(const void *object)
 Callback for when an object is created.
void(* deleted )(const void *object)
 Callback for when an object is deleted.
void(* loaded )(const char *object_type)
 Callback for when an object type is loaded/reloaded.
void(* updated )(const void *object)
 Callback for when an object is updated.


Detailed Description

Interface for a sorcery object type observer.

Definition at line 318 of file sorcery.h.


Field Documentation

void(* created)(const void *object)

Callback for when an object is created.

Referenced by sorcery_observer_notify_create().

void(* deleted)(const void *object)

Callback for when an object is deleted.

Referenced by sorcery_observer_notify_delete().

void(* loaded)(const char *object_type)

Callback for when an object type is loaded/reloaded.

Referenced by sorcery_observer_notify_loaded().

void(* updated)(const void *object)

Callback for when an object is updated.

Referenced by sorcery_observer_notify_update().


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

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