Annotation of pkgsrc/multimedia/libnms/patches/patch-rtp_rtp__transport__wrappers.c, Revision 1.1
1.1 ! joerg 1: $NetBSD$
! 2:
! 3: --- rtp/rtp_transport_wrappers.c.orig 2012-10-26 16:04:56.000000000 +0000
! 4: +++ rtp/rtp_transport_wrappers.c
! 5: @@ -34,7 +34,7 @@ inline char *rtp_get_spec(rtp_session *
! 6: return rtp_sess->transport.spec;
! 7: }
! 8:
! 9: -inline enum deliveries rtp_get_delivery(rtp_session * rtp_sess)
! 10: +enum deliveries rtp_get_delivery(rtp_session * rtp_sess)
! 11: {
! 12: return rtp_sess->transport.delivery;
! 13: }
! 14: @@ -63,22 +63,22 @@ inline nms_addr *rtp_get_dstaddr(rtp_ses
! 15: return &rtp_sess->transport.RTP.u.udp.dstaddr;
! 16: }
! 17:
! 18: -inline enum modes rtp_get_mode(rtp_session * rtp_sess)
! 19: +enum modes rtp_get_mode(rtp_session * rtp_sess)
! 20: {
! 21: return rtp_sess->transport.mode;
! 22: }
! 23:
! 24: -inline int rtp_get_layers(rtp_session * rtp_sess)
! 25: +int rtp_get_layers(rtp_session * rtp_sess)
! 26: {
! 27: return rtp_sess->transport.layers;
! 28: }
! 29:
! 30: -inline int rtp_get_append(rtp_session * rtp_sess)
! 31: +int rtp_get_append(rtp_session * rtp_sess)
! 32: {
! 33: return rtp_sess->transport.append;
! 34: }
! 35:
! 36: -inline int rtp_get_ttl(rtp_session * rtp_sess)
! 37: +int rtp_get_ttl(rtp_session * rtp_sess)
! 38: {
! 39: return rtp_sess->transport.ttl;
! 40: }
! 41: @@ -93,7 +93,7 @@ inline in_port_t rtp_get_mcsrtcpport(rtp
! 42: return rtp_sess->transport.RTCP.multicast_port;
! 43: }
! 44:
! 45: -inline int rtp_get_mcsports(rtp_session * rtp_sess, in_port_t ports[2])
! 46: +int rtp_get_mcsports(rtp_session * rtp_sess, in_port_t ports[2])
! 47: {
! 48: return rtp_transport_get(rtp_sess, RTP_TRANSPORT_MCSPORTS, ports,
! 49: sizeof(ports));
! 50: @@ -125,7 +125,7 @@ inline in_port_t rtp_get_clirtcpport(rtp
! 51: return rtp_sess->transport.RTCP.local_port;
! 52: }
! 53:
! 54: -inline int rtp_get_cliports(rtp_session * rtp_sess, in_port_t ports[2])
! 55: +int rtp_get_cliports(rtp_session * rtp_sess, in_port_t ports[2])
! 56: {
! 57: return rtp_transport_get(rtp_sess, RTP_TRANSPORT_CLIPORTS, ports,
! 58: sizeof(ports));
! 59: @@ -141,7 +141,7 @@ inline uint8 rtp_get_ilvdrtcp(rtp_sessio
! 60: return rtp_sess->transport.RTCP.u.tcp.ilvd;
! 61: }
! 62:
! 63: -inline int rtp_get_interleaved(rtp_session * rtp_sess, uint8 ilvds[2])
! 64: +int rtp_get_interleaved(rtp_session * rtp_sess, uint8 ilvds[2])
! 65: {
! 66: return rtp_transport_get(rtp_sess, RTP_TRANSPORT_INTERLEAVED, ilvds,
! 67: sizeof(ilvds));
! 68: @@ -163,7 +163,7 @@ inline int rtp_get_streams(rtp_session *
! 69: sizeof(streams));
! 70: }
! 71:
! 72: -inline uint32 rtp_get_ssrc(rtp_session * rtp_sess)
! 73: +uint32 rtp_get_ssrc(rtp_session * rtp_sess)
! 74: {
! 75: return rtp_sess->transport.ssrc;
! 76: }
CVSweb <webmaster@jp.NetBSD.org>