diff options
author | Andreas Eversberg <jolly@eversberg.eu> | 2021-08-22 18:27:33 +0200 |
---|---|---|
committer | Andreas Eversberg <jolly@eversberg.eu> | 2021-09-17 16:33:29 +0200 |
commit | 80d911e5a649b4c9cf3bb506c766b1611a8e95aa (patch) | |
tree | e8b1b1f772beb029a2e25c1da71f085fdb9505f9 /src/libosmocc/endpoint.h | |
parent | 185db11ace44e70f93f3f27cfa439d984da17a01 (diff) |
Updated libs
Diffstat (limited to 'src/libosmocc/endpoint.h')
-rw-r--r-- | src/libosmocc/endpoint.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libosmocc/endpoint.h b/src/libosmocc/endpoint.h index 7145726..4425532 100644 --- a/src/libosmocc/endpoint.h +++ b/src/libosmocc/endpoint.h @@ -45,6 +45,8 @@ typedef int16_t osmo_cc_sample_t; #define OSMO_CC_SAMPLE_MIN -32768 /* lowest level */ #define OSMO_CC_SAMPLE_MAX 32767 /* highest level */ +#include "session.h" + struct osmo_cc_call; typedef struct osmo_cc_screen_list { @@ -84,6 +86,7 @@ typedef struct osmo_cc_endpoint { osmo_cc_screen_list_t *screen_called_out; int remote_auto; /* automatic remote address */ struct timer attach_timer; /* timer to retry attachment */ + osmo_cc_session_config_t session_config; /* SDP/RTP default configuration */ } osmo_cc_endpoint_t; extern osmo_cc_endpoint_t *osmo_cc_endpoint_list; @@ -112,6 +115,7 @@ int osmo_cc_new(osmo_cc_endpoint_t *ep, const char *version, const char *name, u void osmo_cc_delete(struct osmo_cc_endpoint *ep); int osmo_cc_handle(void); osmo_cc_call_t *osmo_cc_call_by_callref(osmo_cc_endpoint_t *ep, uint32_t callref); +osmo_cc_call_t *osmo_cc_get_attached_interface(osmo_cc_endpoint_t *ep, const char *interface); void osmo_cc_ll_msg(osmo_cc_endpoint_t *ep, uint32_t callref, osmo_cc_msg_t *msg); void osmo_cc_ul_msg(void *priv, uint32_t callref, osmo_cc_msg_t *msg); osmo_cc_call_t *osmo_cc_call_new(osmo_cc_endpoint_t *ep); @@ -120,7 +124,6 @@ enum osmo_cc_session_addrtype osmo_cc_address_type(const char *address); const char *osmo_cc_host_of_address(const char *address); const char *osmo_cc_port_of_address(const char *address); -#include "session.h" #include "rtp.h" #include "sdp.h" #include "screen.h" |