mirror of https://github.com/sipwise/rtpengine.git
59 lines
1.5 KiB
59 lines
1.5 KiB
#ifndef __TYPES__H__
|
|
#define __TYPES__H__
|
|
|
|
#include <glib.h>
|
|
|
|
typedef struct sdp_ng_flags sdp_ng_flags;
|
|
typedef struct stats_metric stats_metric;
|
|
typedef struct ng_buffer ng_buffer;
|
|
typedef struct call call_t;
|
|
typedef struct stream_fd stream_fd;
|
|
typedef struct rtp_payload_type rtp_payload_type;
|
|
|
|
union sdp_attr_print_arg {
|
|
struct call_media *cm;
|
|
struct call_monologue *ml;
|
|
} __attribute__ ((__transparent_union__));
|
|
typedef void sdp_attr_print_f(GString *, union sdp_attr_print_arg, const sdp_ng_flags *flags);
|
|
|
|
#include "containers.h"
|
|
|
|
struct sdp_session;
|
|
TYPED_GQUEUE(sdp_sessions, struct sdp_session)
|
|
|
|
struct stream_params;
|
|
TYPED_GQUEUE(sdp_streams, struct stream_params)
|
|
|
|
struct ice_candidate;
|
|
TYPED_GQUEUE(candidate, struct ice_candidate)
|
|
G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(candidate_q, candidate_q_clear)
|
|
|
|
struct ice_candidate_pair;
|
|
TYPED_GQUEUE(candidate_pair, struct ice_candidate_pair)
|
|
|
|
struct codec_handler;
|
|
TYPED_GHASHTABLE_PROTO(codec_handlers_ht, struct codec_handler, struct codec_handler)
|
|
TYPED_GQUEUE(codec_handlers, struct codec_handler)
|
|
|
|
struct codec_packet;
|
|
TYPED_GQUEUE(codec_packet, struct codec_packet)
|
|
|
|
struct packet_stream;
|
|
TYPED_GQUEUE(packet_stream, struct packet_stream)
|
|
|
|
struct sink_handler;
|
|
TYPED_GQUEUE(sink_handler, struct sink_handler)
|
|
|
|
struct dtmf_event;
|
|
TYPED_GQUEUE(dtmf_event, struct dtmf_event)
|
|
|
|
struct codec_stats;
|
|
TYPED_GHASHTABLE_PROTO(codec_stats_ht, char, struct codec_stats)
|
|
|
|
TYPED_GQUEUE(call, call_t)
|
|
|
|
struct sdp_attr;
|
|
TYPED_GQUEUE(sdp_attr, struct sdp_attr)
|
|
|
|
#endif
|