blob: 0f061c36c0f2416fccecf1c7098988f431b80214 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*
* file : export.c
*
* this file is used when building the oRTP stack as a dynamic loadable library
* on win32 OS. Indeed, structures cannot been exported 'as is' using the .def
* file. Since we want to use the av_profile and telephone_event instances as defined
* in the original source code, We have to implement those 2 functions to retrieve
* pointers on them.
*
*/
#include "export.h"
RtpProfile * get_av_profile( void )
{
return &av_profile;
}
PayloadType * get_telephone_event( void )
{
return &telephone_event;
}
|