~ubuntu-branches/debian/stretch/libnice/stretch

« back to all changes in this revision

Viewing changes to agent/discovery.h

  • Committer: Package Import Robot
  • Author(s): Simon McVittie
  • Date: 2014-05-14 12:00:13 UTC
  • mfrom: (1.2.9) (5.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20140514120013-fi5mh9bexrjnwnd8
Tags: 0.1.7-1
* New upstream release 0.1.6, 0.1.7
  - fixes various compiler warnings that were mistakenly fatal in 0.1.5
    (Closes: #743232, #743233)
  - update symbols file for new API
* Explicitly disable -Werror, even if we package a non-release in future
* Don't run tests during the build. We were ignoring failures already,
  and they sometimes hang until the buildd terminates them.
  Upstream (Olivier Crête) says they are stable enough to be useful
  for developers, but not for integration testing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
  Component *component;
58
58
  TurnServer *turn;
59
59
  StunAgent stun_agent;
60
 
  uint8_t *msn_turn_username;
61
 
  uint8_t *msn_turn_password;
62
60
  StunTimer timer;
63
61
  uint8_t stun_buffer[STUN_MAX_MESSAGE_SIZE];
64
62
  StunMessage stun_message;
70
68
{
71
69
  NiceAgent *agent;         /**< back pointer to owner */
72
70
  NiceSocket *nicesock;     /**< existing socket to use */
73
 
  NiceSocket *relay_socket; /**< relay socket from which we receive */
74
71
  NiceAddress server;       /**< STUN/TURN server address */
 
72
  NiceCandidate *candidate; /**< candidate to refresh */
75
73
  Stream *stream;
76
74
  Component *component;
77
 
  TurnServer *turn;
78
75
  StunAgent stun_agent;
79
76
  GSource *timer_source;
80
77
  GSource *tick_source;
81
 
  uint8_t *msn_turn_username;
82
 
  uint8_t *msn_turn_password;
83
78
  StunTimer timer;
84
79
  uint8_t stun_buffer[STUN_MAX_MESSAGE_SIZE];
85
80
  StunMessage stun_message;
87
82
  StunMessage stun_resp_msg;
88
83
} CandidateRefresh;
89
84
 
90
 
void refresh_free_item (gpointer data, gpointer user_data);
91
85
void refresh_free (NiceAgent *agent);
92
86
void refresh_prune_stream (NiceAgent *agent, guint stream_id);
 
87
void refresh_prune_candidate (NiceAgent *agent, NiceCandidate *candidate);
93
88
void refresh_cancel (CandidateRefresh *refresh);
94
89
 
95
90
 
96
 
void discovery_free_item (gpointer data, gpointer user_data);
97
91
void discovery_free (NiceAgent *agent);
98
92
void discovery_prune_stream (NiceAgent *agent, guint stream_id);
99
93
void discovery_schedule (NiceAgent *agent);