forked from Mirrors/freeswitch
Tue May 20 07:45:46 EDT 2008 Pekka.Pessi@nokia.com
* nua_dialog.h: added NUA_DIALOG_USAGE_PRIVATE() and NUA_DIALOG_USAGE_PUBLIC() Macros to use with non-NULL pointers. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8605 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
7c51545014
commit
c7fccda55c
@ -1 +1 @@
|
||||
Sat May 24 23:25:00 EDT 2008
|
||||
Sun May 25 09:50:22 EDT 2008
|
||||
|
@ -501,6 +501,9 @@ nua_dialog_usage_t *nua_dialog_usage_public(void const *p)
|
||||
#define nua_dialog_usage_public(p) ((p) ? (nua_dialog_usage_t*)(p) - 1 : NULL)
|
||||
#endif
|
||||
|
||||
#define NUA_DIALOG_USAGE_PRIVATE(du) ((void *)((du) + 1))
|
||||
#define NUA_DIALOG_USAGE_PUBLIC(pu) ((void *)((nua_dialog_usage_t *)(pu) - 1))
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
int nua_client_create(nua_owner_t *owner,
|
||||
|
Loading…
Reference in New Issue
Block a user