diff options
author | Kai Vehmanen <first.surname@nokia.com> | 2007-05-21 15:30:00 +0000 |
---|---|---|
committer | Kai Vehmanen <first.surname@nokia.com> | 2007-05-21 15:30:00 +0000 |
commit | 355dafd011162bd6c5adceed7fe3125899ac1d51 (patch) | |
tree | 8e87bc87531490b952e6115fedc155992ef5b6a0 /agent/stream.h | |
parent | 91d4e0a1c66a7dbc0938f83eb78c71d3e8d96e13 (diff) | |
download | libnice-355dafd011162bd6c5adceed7fe3125899ac1d51.tar.gz |
Major update to the nice/agent interface: Added full-mode API and initial implementation using the new nice/stun interface. Added unit test test-fullmode.c to cover the added functionality. Some public APIs of nice/agent/agent.h have been modified, making this change API/ABI incompatible.
darcs-hash:20070521153033-77cd4-c76ab583d06839e601f46b6734355dd8b66f7494.gz
Diffstat (limited to 'agent/stream.h')
-rw-r--r-- | agent/stream.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/agent/stream.h b/agent/stream.h index 4eee40e..fb95e9a 100644 --- a/agent/stream.h +++ b/agent/stream.h @@ -44,13 +44,24 @@ G_BEGIN_DECLS +/* Following do not including the terminating NULL */ + +#define NICE_STREAM_MAX_UFRAG_LEN 4 +#define NICE_STREAM_MAX_PWD_LEN 22 + typedef struct _Stream Stream; struct _Stream { guint id; + guint n_components; + gboolean initial_binding_request_received; /* XXX: streams can have multiple components */ Component *component; + gchar local_ufrag[NICE_STREAM_MAX_UFRAG_LEN + 1]; + gchar local_password[NICE_STREAM_MAX_PWD_LEN + 1]; + gchar remote_ufrag[NICE_STREAM_MAX_UFRAG_LEN + 1]; + gchar remote_password[NICE_STREAM_MAX_PWD_LEN + 1]; }; Stream * |