diff options
author | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2009-12-15 03:24:11 +0000 |
---|---|---|
committer | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2009-12-15 03:24:11 +0000 |
commit | 2886b3c6f7d50f479f74796ce9f8c6ba0356070c (patch) | |
tree | b634717ab61b117a867d8971cdae95addd62fa00 /Protocols/IAX/lib/iaxclient/iaxclient.h | |
parent | e2e650d26dad9ff91860aeb0b3b999c5e78e98fe (diff) |
iax: start of processing code
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@180 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Protocols/IAX/lib/iaxclient/iaxclient.h')
-rw-r--r-- | Protocols/IAX/lib/iaxclient/iaxclient.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Protocols/IAX/lib/iaxclient/iaxclient.h b/Protocols/IAX/lib/iaxclient/iaxclient.h index 9d602e2..92e8f72 100644 --- a/Protocols/IAX/lib/iaxclient/iaxclient.h +++ b/Protocols/IAX/lib/iaxclient/iaxclient.h @@ -599,13 +599,14 @@ typedef struct iaxc_event_struct { \return The result of processing the event; > 0 if successfully handled the event, 0 if not handled, < 0 to indicate an error occurred processing the event.
*/
-typedef int (*iaxc_event_callback_t)(iaxc_event e);
+typedef int (*iaxc_event_callback_t)(iaxc_event e, void *param);
/*!
Sets the callback to call with IAXClient events
\param func The callback function to call with events
+ \param param User data to pass to the callback function
*/
-EXPORT void iaxc_set_event_callback(iaxc_event_callback_t func);
+EXPORT void iaxc_set_event_callback(iaxc_event_callback_t func, void *param);
/*!
Sets iaxclient to post a pointer to a copy of event using o/s specific Post method
|