summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2016-12-28 18:36:17 +0100
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2016-12-28 18:36:17 +0100
commitefcf895bfcee006488d305b5344e49f87c6fd460 (patch)
tree6e8b7f0b5d6170942af2972b119f460deeb3e0a3 /include
parentd9ecc198453a41cf92acee37b1696a057558190c (diff)
menc: make it re-entrant
Diffstat (limited to 'include')
-rw-r--r--include/baresip.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/baresip.h b/include/baresip.h
index 41bfd6a..9984834 100644
--- a/include/baresip.h
+++ b/include/baresip.h
@@ -473,9 +473,9 @@ struct menc {
menc_media_h *mediah;
};
-void menc_register(struct menc *menc);
+void menc_register(struct list *mencl, struct menc *menc);
void menc_unregister(struct menc *menc);
-const struct menc *menc_find(const char *id);
+const struct menc *menc_find(const struct list *mencl, const char *id);
/*
@@ -1113,6 +1113,7 @@ struct contacts *baresip_contacts(void);
struct commands *baresip_commands(void);
struct player *baresip_player(void);
struct list *baresip_mnatl(void);
+struct list *baresip_mencl(void);
#ifdef __cplusplus