From 5125fc4191998ab13529ee59706f95116fc1725a Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Thu, 2 Feb 2006 19:16:07 +0000 Subject: Added SDP negotiator and changed SDP structs (tested) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@129 74dad513-b988-da41-8d7b-12977e46ad98 --- pjmedia/src/test/main.c | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'pjmedia/src/test/main.c') diff --git a/pjmedia/src/test/main.c b/pjmedia/src/test/main.c index 31ca3c32..31acaec7 100644 --- a/pjmedia/src/test/main.c +++ b/pjmedia/src/test/main.c @@ -16,27 +16,17 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include -#include -#include - -pj_status_t session_test (pj_pool_factory *pf); -pj_status_t rtp_test (pj_pool_factory *pf); -pj_status_t sdp_test(pj_pool_factory *pf); -int jbuf_main(pj_pool_factory *pf); +#include "test.h" int main() { - pj_caching_pool caching_pool; + int rc; + char s[10]; - pj_init(); - pj_caching_pool_init(&caching_pool, &pj_pool_factory_default_policy, 0); + rc = test_main(); - sdp_test (&caching_pool.factory); - rtp_test(&caching_pool.factory); - session_test (&caching_pool.factory); - //jbuf_main(&caching_pool.factory); + puts("\nPress to quit"); + fgets(s, sizeof(s), stdin); - pj_caching_pool_destroy(&caching_pool); - return 0; + return rc; } -- cgit v1.2.3