diff options
author | Alfred E. Heggestad <alfred.heggestad@gmail.com> | 2016-12-26 20:26:20 +0100 |
---|---|---|
committer | Alfred E. Heggestad <alfred.heggestad@gmail.com> | 2016-12-26 20:26:20 +0100 |
commit | 53712434c0f7b6d34523540ad766aa27c2cc9501 (patch) | |
tree | e40f9b195764aa9ec406d00a9d5729e66959028f /include/baresip.h | |
parent | db040d4ea167f23139d571662e79a4478700025e (diff) |
mnat: make it re-entrant
Diffstat (limited to 'include/baresip.h')
-rw-r--r-- | include/baresip.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/baresip.h b/include/baresip.h index 1b0343a..41bfd6a 100644 --- a/include/baresip.h +++ b/include/baresip.h @@ -971,7 +971,8 @@ typedef int (mnat_media_h)(struct mnat_media **mp, struct mnat_sess *sess, typedef int (mnat_update_h)(struct mnat_sess *sess); -int mnat_register(struct mnat **mnatp, const char *id, const char *ftag, +int mnat_register(struct mnat **mnatp, struct list *mnatl, + const char *id, const char *ftag, mnat_sess_h *sessh, mnat_media_h *mediah, mnat_update_h *updateh); @@ -1111,6 +1112,7 @@ struct network *baresip_network(void); struct contacts *baresip_contacts(void); struct commands *baresip_commands(void); struct player *baresip_player(void); +struct list *baresip_mnatl(void); #ifdef __cplusplus |