New pri_set_message api

git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@220 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Matthew Fredrickson 2005-05-23 16:51:30 +00:00
parent 64088fe864
commit 2a263061f2

View File

@ -526,6 +526,7 @@ extern int pri_mwi_deactivate(struct pri *pri, q931_call *c, char *caller, int c
int pri_channel_bridge(q931_call *call1, q931_call *call2); int pri_channel_bridge(q931_call *call1, q931_call *call2);
/* Override message and error stuff */ /* Override message and error stuff */
#define PRI_NEW_SET_API
extern void pri_set_message(void (*__pri_error)(struct pri *pri, char *)); extern void pri_set_message(void (*__pri_error)(struct pri *pri, char *));
extern void pri_set_error(void (*__pri_error)(struct pri *pri, char *)); extern void pri_set_error(void (*__pri_error)(struct pri *pri, char *));