~leon-pegg/+junk/nice-vapi

« back to all changes in this revision

Viewing changes to nice.vapi

  • Committer: Leon Pegg
  • Date: 2013-04-06 15:39:48 UTC
  • Revision ID: leon.pegg@gmail.com-20130406153948-tehu5gufjr6btiqu
added gi, modded vapi :S, added testing script

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
namespace Nice {
4
4
        [CCode (cheader_filename = "nice.h")]
5
5
        [Compact]
6
 
        public class Address {
 
6
        public struct Address {
7
7
                public void* s;
8
8
                [CCode (has_construct_function = false)]
9
9
                public Address ();
29
29
                public uint add_stream (uint n_components);
30
30
                public bool attach_recv (uint stream_id, uint component_id, GLib.MainContext ctx, Nice.AgentRecvFunc func);
31
31
                public bool gather_candidates (uint stream_id);
32
 
                public unowned GLib.SList get_local_candidates (uint stream_id, uint component_id);
 
32
                public unowned GLib.List<Candidate?> get_local_candidates (uint stream_id, uint component_id);
33
33
                public bool get_local_credentials (uint stream_id, char** ufrag, char** pwd);
34
34
                public unowned GLib.SList get_remote_candidates (uint stream_id, uint component_id);
35
35
                [CCode (has_construct_function = false)]
90
90
                public weak Nice.Address base_addr;
91
91
                public uint component_id;
92
92
                [CCode (array_length = false)]
93
 
                public weak char[] foundation;
 
93
                public weak string foundation;
94
94
                public weak string password;
95
95
                public uint32 priority;
96
96
                public void* sockptr;