/usr/share/vala-0.30/vapi/gstreamer-dataprotocol-0.10.vapi is in valac-0.30-vapi 0.30.1-1.
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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | /* gstreamer-dataprotocol-0.10.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
namespace Gst {
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h")]
[Compact]
public class DPPacketizer {
public weak Gst.DPHeaderFromBufferFunction header_from_buffer;
public weak Gst.DPPacketFromCapsFunction packet_from_caps;
public weak Gst.DPPacketFromEventFunction packet_from_event;
public Gst.DPVersion version;
[CCode (has_construct_function = false)]
public DPPacketizer (Gst.DPVersion version);
}
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h", cprefix = "GST_DP_HEADER_FLAG_", has_type_id = false)]
public enum DPHeaderFlag {
NONE,
CRC_HEADER,
CRC_PAYLOAD,
CRC
}
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h", cprefix = "GST_DP_PAYLOAD_", has_type_id = false)]
public enum DPPayloadType {
NONE,
BUFFER,
CAPS,
EVENT_NONE
}
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h", cprefix = "GST_DP_VERSION_")]
public enum DPVersion {
@0_2,
@1_0
}
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h", has_target = false)]
public delegate bool DPHeaderFromBufferFunction (Gst.Buffer buffer, Gst.DPHeaderFlag flags, uint length, uchar header);
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h", has_target = false)]
public delegate bool DPPacketFromCapsFunction (Gst.Caps caps, Gst.DPHeaderFlag flags, uint length, uchar header, uchar payload);
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h", has_target = false)]
public delegate bool DPPacketFromEventFunction (Gst.Event event, Gst.DPHeaderFlag flags, uint length, uchar header, uchar payload);
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h")]
public const int DP_HEADER_LENGTH;
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h")]
public const int DP_VERSION_MAJOR;
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h")]
public const int DP_VERSION_MINOR;
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h")]
public static unowned Gst.Buffer dp_buffer_from_header (uint header_length, uchar header);
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h")]
public static unowned Gst.Caps dp_caps_from_packet (uint header_length, uchar header, uchar payload);
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h")]
public static uint16 dp_crc (uchar buffer, uint length);
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h")]
public static unowned Gst.Event dp_event_from_packet (uint header_length, uchar header, uchar payload);
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h")]
public static bool dp_header_from_buffer (Gst.Buffer buffer, Gst.DPHeaderFlag flags, uint length, uchar header);
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h")]
public static uint32 dp_header_payload_length (uchar header);
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h")]
public static Gst.DPPayloadType dp_header_payload_type (uchar header);
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h")]
public static void dp_init ();
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h")]
public static bool dp_packet_from_caps (Gst.Caps caps, Gst.DPHeaderFlag flags, uint length, uchar header, uchar payload);
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h")]
public static bool dp_packet_from_event (Gst.Event event, Gst.DPHeaderFlag flags, uint length, uchar header, uchar payload);
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h")]
public static bool dp_validate_header (uint header_length, uchar header);
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h")]
public static bool dp_validate_packet (uint header_length, uchar header, uchar payload);
[CCode (cheader_filename = "gst/dataprotocol/dataprotocol.h")]
public static bool dp_validate_payload (uint header_length, uchar header, uchar payload);
}
|