Asterisk - The Open Source Telephony Project GIT-master-0644429
Data Fields
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. More...
 
void(* deleted )(const void *object)
 Callback for when an object is deleted. More...
 
void(* loaded )(const char *object_type)
 Callback for when an object type is loaded/reloaded. More...
 
void(* updated )(const void *object)
 Callback for when an object is updated. More...
 

Detailed Description

Interface for a sorcery object type observer.

Definition at line 332 of file sorcery.h.

Field Documentation

◆ created

void(* created) (const void *object)

Callback for when an object is created.

Definition at line 334 of file sorcery.h.

◆ deleted

void(* deleted) (const void *object)

Callback for when an object is deleted.

Definition at line 340 of file sorcery.h.

◆ loaded

void(* loaded) (const char *object_type)

Callback for when an object type is loaded/reloaded.

Definition at line 343 of file sorcery.h.

◆ updated

void(* updated) (const void *object)

Callback for when an object is updated.

Definition at line 337 of file sorcery.h.


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