/usr/share/vala-0.14/vapi/gstreamer-net-0.10.vapi is in valac-0.14 0.14.2-2ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | /* gstreamer-net-0.10.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
namespace Gst {
[CCode (cheader_filename = "gst/net/gstnet.h")]
public class NetClientClock : Gst.SystemClock {
[CCode (array_length = false)]
public weak int[] control_sock;
public Gst.ClockTime current_timeout;
public void* servaddr;
public int sock;
public weak GLib.Thread thread;
[CCode (has_construct_function = false, type = "GstClock*")]
public NetClientClock (string name, string remote_address, int remote_port, Gst.ClockTime base_time);
[NoAccessorMethod]
public string address { owned get; set; }
[NoAccessorMethod]
public int port { get; set; }
}
[CCode (cheader_filename = "gst/net/gstnet.h")]
[Compact]
public class NetTimePacket {
public Gst.ClockTime local_time;
public Gst.ClockTime remote_time;
[CCode (has_construct_function = false)]
public NetTimePacket (uchar buffer);
public static unowned Gst.NetTimePacket receive (int fd, void* addr, uint32 len);
public int send (int fd, void* addr, uint32 len);
public uchar serialize ();
}
[CCode (cheader_filename = "gst/net/gstnet.h")]
public class NetTimeProvider : Gst.Object {
[CCode (array_length = false)]
public weak int[] control_sock;
public int sock;
public weak GLib.Thread thread;
[CCode (has_construct_function = false)]
public NetTimeProvider (Gst.Clock clock, string? address, int port);
[NoAccessorMethod]
public bool active { get; set; }
[NoAccessorMethod]
public string address { owned get; set; }
[NoAccessorMethod]
public Gst.Clock clock { owned get; set; }
[NoAccessorMethod]
public int port { get; set; }
}
[CCode (cheader_filename = "gst/net/gstnet.h")]
public const int NET_TIME_PACKET_SIZE;
}
|