live
rtcp_from_spec.h File Reference
#include <stdlib.h>
Include dependency graph for rtcp_from_spec.h:

Go to the source code of this file.

Macros

#define _ANSI_ARGS_(x)
#define EXTERN   extern
#define EVENT_UNKNOWN   0
#define EVENT_REPORT   1
#define EVENT_BYE   2
#define PACKET_UNKNOWN_TYPE   0
#define PACKET_RTP   1
#define PACKET_RTCP_REPORT   2
#define PACKET_BYE   3
#define PACKET_RTCP_APP   4
#define drand48   drand30
#define exit(n)
#define FALSE   0
#define TRUE   1

Typedefs

typedef void * event
typedef double time_tp
typedef void * packet

Functions

EXTERN void OnExpire _ANSI_ARGS_ ((event, int, int, double, int, double *, int *, time_tp, time_tp *, int *))
EXTERN void OnReceive _ANSI_ARGS_ ((packet, event, int *, int *, int *, double *, double *, double, double))
EXTERN void Schedule _ANSI_ARGS_ ((double, event))
EXTERN void SendRTCPReport _ANSI_ARGS_ ((event))
EXTERN double drand30 _ANSI_ARGS_ ((void))

Macro Definition Documentation

◆ _ANSI_ARGS_

#define _ANSI_ARGS_ ( x)
Value:
()

Definition at line 36 of file rtcp_from_spec.h.

Referenced by _ANSI_ARGS_(), _ANSI_ARGS_(), _ANSI_ARGS_(), _ANSI_ARGS_(), and _ANSI_ARGS_().

◆ drand48

#define drand48   drand30

Definition at line 64 of file rtcp_from_spec.h.

◆ EVENT_BYE

#define EVENT_BYE   2

Definition at line 49 of file rtcp_from_spec.h.

◆ EVENT_REPORT

#define EVENT_REPORT   1

Definition at line 48 of file rtcp_from_spec.h.

◆ EVENT_UNKNOWN

#define EVENT_UNKNOWN   0

Definition at line 47 of file rtcp_from_spec.h.

◆ exit

#define exit ( n)
Value:
do {} while (0)

Definition at line 67 of file rtcp_from_spec.h.

◆ EXTERN

#define EXTERN   extern

Definition at line 41 of file rtcp_from_spec.h.

Referenced by _ANSI_ARGS_(), _ANSI_ARGS_(), _ANSI_ARGS_(), _ANSI_ARGS_(), and _ANSI_ARGS_().

◆ FALSE

#define FALSE   0

Definition at line 70 of file rtcp_from_spec.h.

◆ PACKET_BYE

#define PACKET_BYE   3

Definition at line 60 of file rtcp_from_spec.h.

◆ PACKET_RTCP_APP

#define PACKET_RTCP_APP   4

Definition at line 61 of file rtcp_from_spec.h.

◆ PACKET_RTCP_REPORT

#define PACKET_RTCP_REPORT   2

Definition at line 59 of file rtcp_from_spec.h.

◆ PACKET_RTP

#define PACKET_RTP   1

Definition at line 58 of file rtcp_from_spec.h.

◆ PACKET_UNKNOWN_TYPE

#define PACKET_UNKNOWN_TYPE   0

Definition at line 57 of file rtcp_from_spec.h.

◆ TRUE

#define TRUE   1

Definition at line 73 of file rtcp_from_spec.h.

Typedef Documentation

◆ event

typedef void* event

Definition at line 45 of file rtcp_from_spec.h.

◆ packet

typedef void* packet

Definition at line 55 of file rtcp_from_spec.h.

◆ time_tp

typedef double time_tp

Definition at line 52 of file rtcp_from_spec.h.

Function Documentation

◆ _ANSI_ARGS_() [1/5]

EXTERN void Reschedule _ANSI_ARGS_ ( (double, event) )

References _ANSI_ARGS_, and EXTERN.

◆ _ANSI_ARGS_() [2/5]

EXTERN void RemoveSender _ANSI_ARGS_ ( (event) )

References _ANSI_ARGS_, and EXTERN.

◆ _ANSI_ARGS_() [3/5]

EXTERN void OnExpire _ANSI_ARGS_ ( (event, int, int, double, int, double *, int *, time_tp, time_tp *, int *) )

References _ANSI_ARGS_, and EXTERN.

◆ _ANSI_ARGS_() [4/5]

EXTERN void OnReceive _ANSI_ARGS_ ( (packet, event, int *, int *, int *, double *, double *, double, double) )

References _ANSI_ARGS_, and EXTERN.

◆ _ANSI_ARGS_() [5/5]

EXTERN double drand30 _ANSI_ARGS_ ( (void) )

References _ANSI_ARGS_, and EXTERN.