~ubuntu-branches/ubuntu/quantal/linphone/quantal

« back to all changes in this revision

Viewing changes to oRTP/src/rtptimer.h

  • Committer: Bazaar Package Importer
  • Author(s): Samuel Mimram
  • Date: 2006-11-15 10:34:50 UTC
  • mfrom: (1.2.1 upstream) (2.1.8 feisty)
  • Revision ID: james.westby@ubuntu.com-20061115103450-qgafwcks2lkhctlj
* New upstream release.
* Enable video support.
* Fix mismatched #endif in mscommon.h, closes: #398307.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
  The oRTP library is an RTP (Realtime Transport Protocol - rfc1889) stack.
 
2
  The oRTP library is an RTP (Realtime Transport Protocol - rfc3550) stack.
3
3
  Copyright (C) 2001  Simon MORLAT simon.morlat@linphone.org
4
4
 
5
5
  This library is free software; you can redistribute it and/or
20
20
#ifndef RTPTIMER_H
21
21
#define RTPTIMER_H
22
22
 
23
 
#ifndef _WIN32
 
23
#if     !defined(_WIN32) && !defined(_WIN32_WCE)
24
24
#include <sys/time.h>
25
25
#else
26
26
#include <time.h>
27
27
#include "winsock2.h"
28
28
#endif
29
29
 
30
 
#include "rtpport.h"
 
30
#include <ortp/port.h>
31
31
 
32
32
 
33
33
typedef void (*RtpTimerFunc)(void);
34
34
        
35
35
struct _RtpTimer
36
36
{
37
 
        gint state;
 
37
        int state;
38
38
#define RTP_TIMER_RUNNING 1
39
39
#define RTP_TIMER_STOPPED 0
40
40
        RtpTimerFunc timer_init;
50
50
extern RtpTimer posix_timer;
51
51
 
52
52
#endif
53
 
 
54