summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-03-04 15:28:51 +0100
committerGitHub <noreply@github.com>2017-03-04 15:28:51 +0100
commit4f43acb07de88433ce513079233040e3e7c2b9d6 (patch)
tree2b0f010a5cc0c0009b345310a13dd14db4263573 /include
parent5992d4e01e401b7913dc0a9f95229260fa388fe1 (diff)
aucodec: move list of aucodec to struct baresip (#221)
Diffstat (limited to 'include')
-rw-r--r--include/baresip.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/baresip.h b/include/baresip.h
index 9502497..7f3ea3e 100644
--- a/include/baresip.h
+++ b/include/baresip.h
@@ -817,11 +817,11 @@ struct aucodec {
sdp_fmtp_cmp_h *fmtp_cmph;
};
-void aucodec_register(struct aucodec *ac);
+void aucodec_register(struct list *aucodecl, struct aucodec *ac);
void aucodec_unregister(struct aucodec *ac);
-const struct aucodec *aucodec_find(const char *name, uint32_t srate,
+const struct aucodec *aucodec_find(const struct list *aucodecl,
+ const char *name, uint32_t srate,
uint8_t ch);
-struct list *aucodec_list(void);
/*
@@ -1122,6 +1122,7 @@ struct player *baresip_player(void);
struct message *baresip_message(void);
struct list *baresip_mnatl(void);
struct list *baresip_mencl(void);
+struct list *baresip_aucodecl(void);
#ifdef __cplusplus