Release 1.22.7
[platform/upstream/gstreamer.git] / subprojects / gstreamer-sharp / sources / generated / Gst / Pad.cs
1 // This file was generated by the Gtk# code generator.
2 // Any changes made will be lost if regenerated.
3
4 namespace Gst {
5
6         using System;
7         using System.Collections;
8         using System.Collections.Generic;
9         using System.Runtime.InteropServices;
10
11 #region Autogenerated code
12         public partial class Pad : Gst.Object {
13
14                 public Pad (IntPtr raw) : base(raw) {}
15
16                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
17                 static extern IntPtr gst_pad_new(IntPtr name, int direction);
18
19                 public Pad (string name, Gst.PadDirection direction) : base (IntPtr.Zero)
20                 {
21                         if (GetType () != typeof (Pad)) {
22                                 var vals = new List<GLib.Value> ();
23                                 var names = new List<string> ();
24                                 names.Add ("name");
25                                 vals.Add (new GLib.Value (name));
26                                 names.Add ("direction");
27                                 vals.Add (new GLib.Value (direction));
28                                 CreateNativeObject (names.ToArray (), vals.ToArray ());
29                                 return;
30                         }
31                         IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name);
32                         Raw = gst_pad_new(native_name, (int) direction);
33                         GLib.Marshaller.Free (native_name);
34                 }
35
36                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
37                 static extern IntPtr gst_pad_new_from_static_template(IntPtr templ, IntPtr name);
38
39                 public Pad (Gst.StaticPadTemplate templ, string name) : base (IntPtr.Zero)
40                 {
41                         if (GetType () != typeof (Pad)) {
42                                 var vals = new List<GLib.Value> ();
43                                 var names = new List<string> ();
44                                 names.Add ("name");
45                                 vals.Add (new GLib.Value (name));
46                                 CreateNativeObject (names.ToArray (), vals.ToArray ());
47                                 return;
48                         }
49                         IntPtr native_templ = GLib.Marshaller.StructureToPtrAlloc (templ);
50                         IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name);
51                         Raw = gst_pad_new_from_static_template(native_templ, native_name);
52                         Marshal.FreeHGlobal (native_templ);
53                         GLib.Marshaller.Free (native_name);
54                 }
55
56                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
57                 static extern IntPtr gst_pad_new_from_template(IntPtr templ, IntPtr name);
58
59                 public Pad (Gst.PadTemplate templ, string name) : base (IntPtr.Zero)
60                 {
61                         if (GetType () != typeof (Pad)) {
62                                 var vals = new List<GLib.Value> ();
63                                 var names = new List<string> ();
64                                 if (templ != null) {
65                                         names.Add ("name");
66                                         vals.Add (new GLib.Value (name));
67                                 }
68                                 CreateNativeObject (names.ToArray (), vals.ToArray ());
69                                 return;
70                         }
71                         IntPtr native_name = GLib.Marshaller.StringToPtrGStrdup (name);
72                         Raw = gst_pad_new_from_template(templ == null ? IntPtr.Zero : templ.Handle, native_name);
73                         GLib.Marshaller.Free (native_name);
74                 }
75
76                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
77                 static extern int gst_pad_get_direction(IntPtr raw);
78
79                 [GLib.Property ("direction")]
80                 public Gst.PadDirection Direction {
81                         get  {
82                                 int raw_ret = gst_pad_get_direction(Handle);
83                                 Gst.PadDirection ret = (Gst.PadDirection) raw_ret;
84                                 return ret;
85                         }
86                 }
87
88                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
89                 static extern long gst_pad_get_offset(IntPtr raw);
90
91                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
92                 static extern void gst_pad_set_offset(IntPtr raw, long offset);
93
94                 [GLib.Property ("offset")]
95                 public long Offset {
96                         get  {
97                                 long raw_ret = gst_pad_get_offset(Handle);
98                                 long ret = raw_ret;
99                                 return ret;
100                         }
101                         set  {
102                                 gst_pad_set_offset(Handle, value);
103                         }
104                 }
105
106                 [GLib.Property ("template")]
107                 public Gst.PadTemplate Template {
108                         get {
109                                 GLib.Value val = GetProperty ("template");
110                                 Gst.PadTemplate ret = (Gst.PadTemplate) val;
111                                 val.Dispose ();
112                                 return ret;
113                         }
114                         set {
115                                 GLib.Value val = new GLib.Value(value);
116                                 SetProperty("template", val);
117                                 val.Dispose ();
118                         }
119                 }
120
121                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
122                 static extern IntPtr gst_pad_get_element_private(IntPtr raw);
123
124                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
125                 static extern void gst_pad_set_element_private(IntPtr raw, IntPtr priv);
126
127                 public IntPtr ElementPrivate {
128                         get  {
129                                 IntPtr raw_ret = gst_pad_get_element_private(Handle);
130                                 IntPtr ret = raw_ret;
131                                 return ret;
132                         }
133                         set  {
134                                 gst_pad_set_element_private(Handle, value);
135                         }
136                 }
137
138                 public Gst.PadTemplate Padtemplate {
139                         get {
140                                 unsafe {
141                                         IntPtr* raw_ptr = (IntPtr*)(((byte*)Handle) + abi_info.GetFieldOffset("padtemplate"));
142                                         return GLib.Object.GetObject((*raw_ptr)) as Gst.PadTemplate;
143                                 }
144                         }
145                 }
146
147                 public Gst.PadDirection DirectionField {
148                         get {
149                                 unsafe {
150                                         int* raw_ptr = (int*)(((byte*)Handle) + abi_info.GetFieldOffset("direction"));
151                                         return (Gst.PadDirection) (*raw_ptr);
152                                 }
153                         }
154                 }
155
156                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
157                 static extern IntPtr gst_pad_get_peer(IntPtr raw);
158
159                 public Gst.Pad Peer {
160                         get  {
161                                 IntPtr raw_ret = gst_pad_get_peer(Handle);
162                                 Gst.Pad ret = GLib.Object.GetObject(raw_ret, true) as Gst.Pad;
163                                 return ret;
164                         }
165                 }
166
167                 [GLib.Signal("unlinked")]
168                 public event Gst.UnlinkedHandler Unlinked {
169                         add {
170                                 this.AddSignalHandler ("unlinked", value, typeof (Gst.UnlinkedArgs));
171                         }
172                         remove {
173                                 this.RemoveSignalHandler ("unlinked", value);
174                         }
175                 }
176
177                 [GLib.Signal("linked")]
178                 public event Gst.LinkedHandler Linked {
179                         add {
180                                 this.AddSignalHandler ("linked", value, typeof (Gst.LinkedArgs));
181                         }
182                         remove {
183                                 this.RemoveSignalHandler ("linked", value);
184                         }
185                 }
186
187                 static LinkedNativeDelegate Linked_cb_delegate;
188                 static LinkedNativeDelegate LinkedVMCallback {
189                         get {
190                                 if (Linked_cb_delegate == null)
191                                         Linked_cb_delegate = new LinkedNativeDelegate (Linked_cb);
192                                 return Linked_cb_delegate;
193                         }
194                 }
195
196                 static void OverrideLinked (GLib.GType gtype)
197                 {
198                         OverrideLinked (gtype, LinkedVMCallback);
199                 }
200
201                 static void OverrideLinked (GLib.GType gtype, LinkedNativeDelegate callback)
202                 {
203                         unsafe {
204                                 IntPtr* raw_ptr = (IntPtr*)(((long) gtype.GetClassPtr()) + (long) class_abi.GetFieldOffset("linked"));
205                                 *raw_ptr = Marshal.GetFunctionPointerForDelegate((Delegate) callback);
206                         }
207                 }
208
209                 [UnmanagedFunctionPointer (CallingConvention.Cdecl)]
210                 delegate void LinkedNativeDelegate (IntPtr inst, IntPtr peer);
211
212                 static void Linked_cb (IntPtr inst, IntPtr peer)
213                 {
214                         try {
215                                 Pad __obj = GLib.Object.GetObject (inst, false) as Pad;
216                                 __obj.OnLinked (GLib.Object.GetObject(peer) as Gst.Pad);
217                         } catch (Exception e) {
218                                 GLib.ExceptionManager.RaiseUnhandledException (e, false);
219                         }
220                 }
221
222                 [GLib.DefaultSignalHandler(Type=typeof(Gst.Pad), ConnectionMethod="OverrideLinked")]
223                 protected virtual void OnLinked (Gst.Pad peer)
224                 {
225                         InternalLinked (peer);
226                 }
227
228                 private void InternalLinked (Gst.Pad peer)
229                 {
230                         LinkedNativeDelegate unmanaged = null;
231                         unsafe {
232                                 IntPtr* raw_ptr = (IntPtr*)(((long) this.LookupGType().GetThresholdType().GetClassPtr()) + (long) class_abi.GetFieldOffset("linked"));
233                                 unmanaged = (LinkedNativeDelegate) Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(LinkedNativeDelegate));
234                         }
235                         if (unmanaged == null) return;
236
237                         unmanaged (this.Handle, peer == null ? IntPtr.Zero : peer.Handle);
238                 }
239
240                 static UnlinkedNativeDelegate Unlinked_cb_delegate;
241                 static UnlinkedNativeDelegate UnlinkedVMCallback {
242                         get {
243                                 if (Unlinked_cb_delegate == null)
244                                         Unlinked_cb_delegate = new UnlinkedNativeDelegate (Unlinked_cb);
245                                 return Unlinked_cb_delegate;
246                         }
247                 }
248
249                 static void OverrideUnlinked (GLib.GType gtype)
250                 {
251                         OverrideUnlinked (gtype, UnlinkedVMCallback);
252                 }
253
254                 static void OverrideUnlinked (GLib.GType gtype, UnlinkedNativeDelegate callback)
255                 {
256                         unsafe {
257                                 IntPtr* raw_ptr = (IntPtr*)(((long) gtype.GetClassPtr()) + (long) class_abi.GetFieldOffset("unlinked"));
258                                 *raw_ptr = Marshal.GetFunctionPointerForDelegate((Delegate) callback);
259                         }
260                 }
261
262                 [UnmanagedFunctionPointer (CallingConvention.Cdecl)]
263                 delegate void UnlinkedNativeDelegate (IntPtr inst, IntPtr peer);
264
265                 static void Unlinked_cb (IntPtr inst, IntPtr peer)
266                 {
267                         try {
268                                 Pad __obj = GLib.Object.GetObject (inst, false) as Pad;
269                                 __obj.OnUnlinked (GLib.Object.GetObject(peer) as Gst.Pad);
270                         } catch (Exception e) {
271                                 GLib.ExceptionManager.RaiseUnhandledException (e, false);
272                         }
273                 }
274
275                 [GLib.DefaultSignalHandler(Type=typeof(Gst.Pad), ConnectionMethod="OverrideUnlinked")]
276                 protected virtual void OnUnlinked (Gst.Pad peer)
277                 {
278                         InternalUnlinked (peer);
279                 }
280
281                 private void InternalUnlinked (Gst.Pad peer)
282                 {
283                         UnlinkedNativeDelegate unmanaged = null;
284                         unsafe {
285                                 IntPtr* raw_ptr = (IntPtr*)(((long) this.LookupGType().GetThresholdType().GetClassPtr()) + (long) class_abi.GetFieldOffset("unlinked"));
286                                 unmanaged = (UnlinkedNativeDelegate) Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(UnlinkedNativeDelegate));
287                         }
288                         if (unmanaged == null) return;
289
290                         unmanaged (this.Handle, peer == null ? IntPtr.Zero : peer.Handle);
291                 }
292
293
294                 // Internal representation of the wrapped structure ABI.
295                 static GLib.AbiStruct _class_abi = null;
296                 static public new GLib.AbiStruct class_abi {
297                         get {
298                                 if (_class_abi == null)
299                                         _class_abi = new GLib.AbiStruct (new List<GLib.AbiField>{ 
300                                                 new GLib.AbiField("linked"
301                                                         , Gst.Object.class_abi.Fields
302                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // linked
303                                                         , null
304                                                         , "unlinked"
305                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
306                                                         , 0
307                                                         ),
308                                                 new GLib.AbiField("unlinked"
309                                                         , -1
310                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // unlinked
311                                                         , "linked"
312                                                         , "_gst_reserved"
313                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
314                                                         , 0
315                                                         ),
316                                                 new GLib.AbiField("_gst_reserved"
317                                                         , -1
318                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) * 4 // _gst_reserved
319                                                         , "unlinked"
320                                                         , null
321                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
322                                                         , 0
323                                                         ),
324                                         });
325
326                                 return _class_abi;
327                         }
328                 }
329
330
331                 // End of the ABI representation.
332
333                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
334                 static extern IntPtr gst_pad_get_type();
335
336                 public static new GLib.GType GType { 
337                         get {
338                                 IntPtr raw_ret = gst_pad_get_type();
339                                 GLib.GType ret = new GLib.GType(raw_ret);
340                                 return ret;
341                         }
342                 }
343
344                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
345                 static extern IntPtr gst_pad_link_get_name(int _ret);
346
347                 public static string LinkGetName(Gst.PadLinkReturn _ret) {
348                         IntPtr raw_ret = gst_pad_link_get_name((int) _ret);
349                         string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
350                         return ret;
351                 }
352
353                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
354                 static extern bool gst_pad_activate_mode(IntPtr raw, int mode, bool active);
355
356                 public bool ActivateMode(Gst.PadMode mode, bool active) {
357                         bool raw_ret = gst_pad_activate_mode(Handle, (int) mode, active);
358                         bool ret = raw_ret;
359                         return ret;
360                 }
361
362                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
363                 static extern UIntPtr gst_pad_add_probe(IntPtr raw, int mask, GstSharp.PadProbeCallbackNative cb, IntPtr user_data, GLib.DestroyNotify destroy_data);
364
365                 public ulong AddProbe(Gst.PadProbeType mask, Gst.PadProbeCallback cb) {
366                         GstSharp.PadProbeCallbackWrapper cb_wrapper = new GstSharp.PadProbeCallbackWrapper (cb);
367                         IntPtr user_data;
368                         GLib.DestroyNotify destroy_data;
369                         if (cb == null) {
370                                 user_data = IntPtr.Zero;
371                                 destroy_data = null;
372                         } else {
373                                 user_data = (IntPtr) GCHandle.Alloc (cb_wrapper);
374                                 destroy_data = GLib.DestroyHelper.NotifyHandler;
375                         }
376                         UIntPtr raw_ret = gst_pad_add_probe(Handle, (int) mask, cb_wrapper.NativeDelegate, user_data, destroy_data);
377                         ulong ret = (ulong) raw_ret;
378                         return ret;
379                 }
380
381                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
382                 static extern bool gst_pad_can_link(IntPtr raw, IntPtr sinkpad);
383
384                 public bool CanLink(Gst.Pad sinkpad) {
385                         bool raw_ret = gst_pad_can_link(Handle, sinkpad == null ? IntPtr.Zero : sinkpad.Handle);
386                         bool ret = raw_ret;
387                         return ret;
388                 }
389
390                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
391                 static extern int gst_pad_chain(IntPtr raw, IntPtr buffer);
392
393                 public Gst.FlowReturn Chain(Gst.Buffer buffer) {
394                         buffer.Owned = false;
395                         int raw_ret = gst_pad_chain(Handle, buffer == null ? IntPtr.Zero : buffer.Handle);
396                         Gst.FlowReturn ret = (Gst.FlowReturn) raw_ret;
397                         return ret;
398                 }
399
400                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
401                 static extern int gst_pad_chain_list(IntPtr raw, IntPtr list);
402
403                 public Gst.FlowReturn ChainList(Gst.BufferList list) {
404                         list.Owned = false;
405                         int raw_ret = gst_pad_chain_list(Handle, list == null ? IntPtr.Zero : list.Handle);
406                         Gst.FlowReturn ret = (Gst.FlowReturn) raw_ret;
407                         return ret;
408                 }
409
410                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
411                 static extern bool gst_pad_check_reconfigure(IntPtr raw);
412
413                 public bool CheckReconfigure() {
414                         bool raw_ret = gst_pad_check_reconfigure(Handle);
415                         bool ret = raw_ret;
416                         return ret;
417                 }
418
419                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
420                 static extern IntPtr gst_pad_create_stream_id(IntPtr raw, IntPtr parent, IntPtr stream_id);
421
422                 public string CreateStreamId(Gst.Element parent, string stream_id) {
423                         IntPtr native_stream_id = GLib.Marshaller.StringToPtrGStrdup (stream_id);
424                         IntPtr raw_ret = gst_pad_create_stream_id(Handle, parent == null ? IntPtr.Zero : parent.Handle, native_stream_id);
425                         string ret = GLib.Marshaller.PtrToStringGFree(raw_ret);
426                         GLib.Marshaller.Free (native_stream_id);
427                         return ret;
428                 }
429
430                 public string CreateStreamId(Gst.Element parent) {
431                         return CreateStreamId (parent, null);
432                 }
433
434                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
435                 static extern bool gst_pad_event_default(IntPtr raw, IntPtr parent, IntPtr evnt);
436
437                 public bool EventDefault(Gst.Object parent, Gst.Event evnt) {
438                         evnt.Owned = false;
439                         bool raw_ret = gst_pad_event_default(Handle, parent == null ? IntPtr.Zero : parent.Handle, evnt == null ? IntPtr.Zero : evnt.Handle);
440                         bool ret = raw_ret;
441                         return ret;
442                 }
443
444                 public bool EventDefault(Gst.Event evnt) {
445                         return EventDefault (null, evnt);
446                 }
447
448                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
449                 static extern bool gst_pad_forward(IntPtr raw, GstSharp.PadForwardFunctionNative forward, IntPtr user_data);
450
451                 public bool Forward(Gst.PadForwardFunction forward) {
452                         GstSharp.PadForwardFunctionWrapper forward_wrapper = new GstSharp.PadForwardFunctionWrapper (forward);
453                         bool raw_ret = gst_pad_forward(Handle, forward_wrapper.NativeDelegate, IntPtr.Zero);
454                         bool ret = raw_ret;
455                         return ret;
456                 }
457
458                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
459                 static extern IntPtr gst_pad_get_allowed_caps(IntPtr raw);
460
461                 public Gst.Caps AllowedCaps { 
462                         get {
463                                 IntPtr raw_ret = gst_pad_get_allowed_caps(Handle);
464                                 Gst.Caps ret = raw_ret == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Caps), true);
465                                 return ret;
466                         }
467                 }
468
469                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
470                 static extern IntPtr gst_pad_get_current_caps(IntPtr raw);
471
472                 public Gst.Caps CurrentCaps { 
473                         get {
474                                 IntPtr raw_ret = gst_pad_get_current_caps(Handle);
475                                 Gst.Caps ret = raw_ret == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Caps), true);
476                                 return ret;
477                         }
478                 }
479
480                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
481                 static extern int gst_pad_get_last_flow_return(IntPtr raw);
482
483                 public Gst.FlowReturn LastFlowReturn { 
484                         get {
485                                 int raw_ret = gst_pad_get_last_flow_return(Handle);
486                                 Gst.FlowReturn ret = (Gst.FlowReturn) raw_ret;
487                                 return ret;
488                         }
489                 }
490
491                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
492                 static extern IntPtr gst_pad_get_pad_template(IntPtr raw);
493
494                 public Gst.PadTemplate PadTemplate { 
495                         get {
496                                 IntPtr raw_ret = gst_pad_get_pad_template(Handle);
497                                 Gst.PadTemplate ret = GLib.Object.GetObject(raw_ret, true) as Gst.PadTemplate;
498                                 return ret;
499                         }
500                 }
501
502                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
503                 static extern IntPtr gst_pad_get_pad_template_caps(IntPtr raw);
504
505                 public Gst.Caps PadTemplateCaps { 
506                         get {
507                                 IntPtr raw_ret = gst_pad_get_pad_template_caps(Handle);
508                                 Gst.Caps ret = raw_ret == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Caps), true);
509                                 return ret;
510                         }
511                 }
512
513                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
514                 static extern IntPtr gst_pad_get_parent_element(IntPtr raw);
515
516                 public Gst.Element ParentElement { 
517                         get {
518                                 IntPtr raw_ret = gst_pad_get_parent_element(Handle);
519                                 Gst.Element ret = GLib.Object.GetObject(raw_ret, true) as Gst.Element;
520                                 return ret;
521                         }
522                 }
523
524                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
525                 static extern int gst_pad_get_range(IntPtr raw, ulong offset, uint size, out IntPtr buffer);
526
527                 public Gst.FlowReturn GetRange(ulong offset, uint size, out Gst.Buffer buffer) {
528                         IntPtr native_buffer;
529                         int raw_ret = gst_pad_get_range(Handle, offset, size, out native_buffer);
530                         Gst.FlowReturn ret = (Gst.FlowReturn) raw_ret;
531                         buffer = native_buffer == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (native_buffer, typeof (Gst.Buffer), true);
532                         return ret;
533                 }
534
535                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
536                 static extern IntPtr gst_pad_get_single_internal_link(IntPtr raw);
537
538                 public Gst.Pad SingleInternalLink { 
539                         get {
540                                 IntPtr raw_ret = gst_pad_get_single_internal_link(Handle);
541                                 Gst.Pad ret = GLib.Object.GetObject(raw_ret, true) as Gst.Pad;
542                                 return ret;
543                         }
544                 }
545
546                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
547                 static extern IntPtr gst_pad_get_sticky_event(IntPtr raw, int event_type, uint idx);
548
549                 public Gst.Event GetStickyEvent(Gst.EventType event_type, uint idx) {
550                         IntPtr raw_ret = gst_pad_get_sticky_event(Handle, (int) event_type, idx);
551                         Gst.Event ret = raw_ret == IntPtr.Zero ? null : (Gst.Event) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Event), true);
552                         return ret;
553                 }
554
555                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
556                 static extern IntPtr gst_pad_get_stream(IntPtr raw);
557
558                 public Gst.Stream Stream { 
559                         get {
560                                 IntPtr raw_ret = gst_pad_get_stream(Handle);
561                                 Gst.Stream ret = GLib.Object.GetObject(raw_ret, true) as Gst.Stream;
562                                 return ret;
563                         }
564                 }
565
566                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
567                 static extern IntPtr gst_pad_get_stream_id(IntPtr raw);
568
569                 public string StreamId { 
570                         get {
571                                 IntPtr raw_ret = gst_pad_get_stream_id(Handle);
572                                 string ret = GLib.Marshaller.PtrToStringGFree(raw_ret);
573                                 return ret;
574                         }
575                 }
576
577                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
578                 static extern int gst_pad_get_task_state(IntPtr raw);
579
580                 public Gst.TaskState TaskState { 
581                         get {
582                                 int raw_ret = gst_pad_get_task_state(Handle);
583                                 Gst.TaskState ret = (Gst.TaskState) raw_ret;
584                                 return ret;
585                         }
586                 }
587
588                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
589                 static extern bool gst_pad_has_current_caps(IntPtr raw);
590
591                 public bool HasCurrentCaps { 
592                         get {
593                                 bool raw_ret = gst_pad_has_current_caps(Handle);
594                                 bool ret = raw_ret;
595                                 return ret;
596                         }
597                 }
598
599                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
600                 static extern bool gst_pad_is_active(IntPtr raw);
601
602                 public bool IsActive { 
603                         get {
604                                 bool raw_ret = gst_pad_is_active(Handle);
605                                 bool ret = raw_ret;
606                                 return ret;
607                         }
608                 }
609
610                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
611                 static extern bool gst_pad_is_blocked(IntPtr raw);
612
613                 public bool IsBlocked { 
614                         get {
615                                 bool raw_ret = gst_pad_is_blocked(Handle);
616                                 bool ret = raw_ret;
617                                 return ret;
618                         }
619                 }
620
621                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
622                 static extern bool gst_pad_is_blocking(IntPtr raw);
623
624                 public bool IsBlocking { 
625                         get {
626                                 bool raw_ret = gst_pad_is_blocking(Handle);
627                                 bool ret = raw_ret;
628                                 return ret;
629                         }
630                 }
631
632                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
633                 static extern bool gst_pad_is_linked(IntPtr raw);
634
635                 public bool IsLinked { 
636                         get {
637                                 bool raw_ret = gst_pad_is_linked(Handle);
638                                 bool ret = raw_ret;
639                                 return ret;
640                         }
641                 }
642
643                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
644                 static extern IntPtr gst_pad_iterate_internal_links(IntPtr raw);
645
646                 public Gst.Iterator IterateInternalLinks() {
647                         IntPtr raw_ret = gst_pad_iterate_internal_links(Handle);
648                         Gst.Iterator ret = raw_ret == IntPtr.Zero ? null : (Gst.Iterator) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Iterator), true);
649                         return ret;
650                 }
651
652                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
653                 static extern IntPtr gst_pad_iterate_internal_links_default(IntPtr raw, IntPtr parent);
654
655                 public Gst.Iterator IterateInternalLinksDefault(Gst.Object parent) {
656                         IntPtr raw_ret = gst_pad_iterate_internal_links_default(Handle, parent == null ? IntPtr.Zero : parent.Handle);
657                         Gst.Iterator ret = raw_ret == IntPtr.Zero ? null : (Gst.Iterator) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Iterator), true);
658                         return ret;
659                 }
660
661                 public Gst.Iterator IterateInternalLinksDefault() {
662                         return IterateInternalLinksDefault (null);
663                 }
664
665                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
666                 static extern int gst_pad_link(IntPtr raw, IntPtr sinkpad);
667
668                 public Gst.PadLinkReturn Link(Gst.Pad sinkpad) {
669                         int raw_ret = gst_pad_link(Handle, sinkpad == null ? IntPtr.Zero : sinkpad.Handle);
670                         Gst.PadLinkReturn ret = (Gst.PadLinkReturn) raw_ret;
671                         return ret;
672                 }
673
674                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
675                 static extern int gst_pad_link_full(IntPtr raw, IntPtr sinkpad, int flags);
676
677                 public Gst.PadLinkReturn LinkFull(Gst.Pad sinkpad, Gst.PadLinkCheck flags) {
678                         int raw_ret = gst_pad_link_full(Handle, sinkpad == null ? IntPtr.Zero : sinkpad.Handle, (int) flags);
679                         Gst.PadLinkReturn ret = (Gst.PadLinkReturn) raw_ret;
680                         return ret;
681                 }
682
683                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
684                 static extern bool gst_pad_link_maybe_ghosting(IntPtr raw, IntPtr sink);
685
686                 public bool LinkMaybeGhosting(Gst.Pad sink) {
687                         bool raw_ret = gst_pad_link_maybe_ghosting(Handle, sink == null ? IntPtr.Zero : sink.Handle);
688                         bool ret = raw_ret;
689                         return ret;
690                 }
691
692                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
693                 static extern bool gst_pad_link_maybe_ghosting_full(IntPtr raw, IntPtr sink, int flags);
694
695                 public bool LinkMaybeGhostingFull(Gst.Pad sink, Gst.PadLinkCheck flags) {
696                         bool raw_ret = gst_pad_link_maybe_ghosting_full(Handle, sink == null ? IntPtr.Zero : sink.Handle, (int) flags);
697                         bool ret = raw_ret;
698                         return ret;
699                 }
700
701                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
702                 static extern void gst_pad_mark_reconfigure(IntPtr raw);
703
704                 public void MarkReconfigure() {
705                         gst_pad_mark_reconfigure(Handle);
706                 }
707
708                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
709                 static extern bool gst_pad_needs_reconfigure(IntPtr raw);
710
711                 public bool NeedsReconfigure() {
712                         bool raw_ret = gst_pad_needs_reconfigure(Handle);
713                         bool ret = raw_ret;
714                         return ret;
715                 }
716
717                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
718                 static extern bool gst_pad_pause_task(IntPtr raw);
719
720                 public bool PauseTask() {
721                         bool raw_ret = gst_pad_pause_task(Handle);
722                         bool ret = raw_ret;
723                         return ret;
724                 }
725
726                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
727                 static extern bool gst_pad_peer_query(IntPtr raw, IntPtr query);
728
729                 public bool PeerQuery(Gst.Query query) {
730                         bool raw_ret = gst_pad_peer_query(Handle, query == null ? IntPtr.Zero : query.Handle);
731                         bool ret = raw_ret;
732                         return ret;
733                 }
734
735                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
736                 static extern bool gst_pad_peer_query_accept_caps(IntPtr raw, IntPtr caps);
737
738                 public bool PeerQueryAcceptCaps(Gst.Caps caps) {
739                         bool raw_ret = gst_pad_peer_query_accept_caps(Handle, caps == null ? IntPtr.Zero : caps.Handle);
740                         bool ret = raw_ret;
741                         return ret;
742                 }
743
744                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
745                 static extern IntPtr gst_pad_peer_query_caps(IntPtr raw, IntPtr filter);
746
747                 public Gst.Caps PeerQueryCaps(Gst.Caps filter) {
748                         IntPtr raw_ret = gst_pad_peer_query_caps(Handle, filter == null ? IntPtr.Zero : filter.Handle);
749                         Gst.Caps ret = raw_ret == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Caps), true);
750                         return ret;
751                 }
752
753                 public Gst.Caps PeerQueryCaps() {
754                         return PeerQueryCaps (null);
755                 }
756
757                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
758                 static extern bool gst_pad_peer_query_convert(IntPtr raw, int src_format, long src_val, int dest_format, out long dest_val);
759
760                 public bool PeerQueryConvert(Gst.Format src_format, long src_val, Gst.Format dest_format, out long dest_val) {
761                         bool raw_ret = gst_pad_peer_query_convert(Handle, (int) src_format, src_val, (int) dest_format, out dest_val);
762                         bool ret = raw_ret;
763                         return ret;
764                 }
765
766                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
767                 static extern bool gst_pad_peer_query_duration(IntPtr raw, int format, out long duration);
768
769                 public bool PeerQueryDuration(Gst.Format format, out long duration) {
770                         bool raw_ret = gst_pad_peer_query_duration(Handle, (int) format, out duration);
771                         bool ret = raw_ret;
772                         return ret;
773                 }
774
775                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
776                 static extern bool gst_pad_peer_query_position(IntPtr raw, int format, out long cur);
777
778                 public bool PeerQueryPosition(Gst.Format format, out long cur) {
779                         bool raw_ret = gst_pad_peer_query_position(Handle, (int) format, out cur);
780                         bool ret = raw_ret;
781                         return ret;
782                 }
783
784                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
785                 static extern bool gst_pad_proxy_query_accept_caps(IntPtr raw, IntPtr query);
786
787                 public bool ProxyQueryAcceptCaps(Gst.Query query) {
788                         bool raw_ret = gst_pad_proxy_query_accept_caps(Handle, query == null ? IntPtr.Zero : query.Handle);
789                         bool ret = raw_ret;
790                         return ret;
791                 }
792
793                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
794                 static extern bool gst_pad_proxy_query_caps(IntPtr raw, IntPtr query);
795
796                 public bool ProxyQueryCaps(Gst.Query query) {
797                         bool raw_ret = gst_pad_proxy_query_caps(Handle, query == null ? IntPtr.Zero : query.Handle);
798                         bool ret = raw_ret;
799                         return ret;
800                 }
801
802                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
803                 static extern int gst_pad_pull_range(IntPtr raw, ulong offset, uint size, out IntPtr buffer);
804
805                 public Gst.FlowReturn PullRange(ulong offset, uint size, out Gst.Buffer buffer) {
806                         IntPtr native_buffer;
807                         int raw_ret = gst_pad_pull_range(Handle, offset, size, out native_buffer);
808                         Gst.FlowReturn ret = (Gst.FlowReturn) raw_ret;
809                         buffer = native_buffer == IntPtr.Zero ? null : (Gst.Buffer) GLib.Opaque.GetOpaque (native_buffer, typeof (Gst.Buffer), true);
810                         return ret;
811                 }
812
813                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
814                 static extern int gst_pad_push(IntPtr raw, IntPtr buffer);
815
816                 public Gst.FlowReturn Push(Gst.Buffer buffer) {
817                         buffer.Owned = false;
818                         int raw_ret = gst_pad_push(Handle, buffer == null ? IntPtr.Zero : buffer.Handle);
819                         Gst.FlowReturn ret = (Gst.FlowReturn) raw_ret;
820                         return ret;
821                 }
822
823                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
824                 static extern bool gst_pad_push_event(IntPtr raw, IntPtr evnt);
825
826                 public bool PushEvent(Gst.Event evnt) {
827                         evnt.Owned = false;
828                         bool raw_ret = gst_pad_push_event(Handle, evnt == null ? IntPtr.Zero : evnt.Handle);
829                         bool ret = raw_ret;
830                         return ret;
831                 }
832
833                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
834                 static extern int gst_pad_push_list(IntPtr raw, IntPtr list);
835
836                 public Gst.FlowReturn PushList(Gst.BufferList list) {
837                         list.Owned = false;
838                         int raw_ret = gst_pad_push_list(Handle, list == null ? IntPtr.Zero : list.Handle);
839                         Gst.FlowReturn ret = (Gst.FlowReturn) raw_ret;
840                         return ret;
841                 }
842
843                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
844                 static extern bool gst_pad_query(IntPtr raw, IntPtr query);
845
846                 public bool Query(Gst.Query query) {
847                         bool raw_ret = gst_pad_query(Handle, query == null ? IntPtr.Zero : query.Handle);
848                         bool ret = raw_ret;
849                         return ret;
850                 }
851
852                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
853                 static extern bool gst_pad_query_accept_caps(IntPtr raw, IntPtr caps);
854
855                 public bool QueryAcceptCaps(Gst.Caps caps) {
856                         bool raw_ret = gst_pad_query_accept_caps(Handle, caps == null ? IntPtr.Zero : caps.Handle);
857                         bool ret = raw_ret;
858                         return ret;
859                 }
860
861                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
862                 static extern IntPtr gst_pad_query_caps(IntPtr raw, IntPtr filter);
863
864                 public Gst.Caps QueryCaps(Gst.Caps filter) {
865                         IntPtr raw_ret = gst_pad_query_caps(Handle, filter == null ? IntPtr.Zero : filter.Handle);
866                         Gst.Caps ret = raw_ret == IntPtr.Zero ? null : (Gst.Caps) GLib.Opaque.GetOpaque (raw_ret, typeof (Gst.Caps), true);
867                         return ret;
868                 }
869
870                 public Gst.Caps QueryCaps() {
871                         return QueryCaps (null);
872                 }
873
874                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
875                 static extern bool gst_pad_query_convert(IntPtr raw, int src_format, long src_val, int dest_format, out long dest_val);
876
877                 public bool QueryConvert(Gst.Format src_format, long src_val, Gst.Format dest_format, out long dest_val) {
878                         bool raw_ret = gst_pad_query_convert(Handle, (int) src_format, src_val, (int) dest_format, out dest_val);
879                         bool ret = raw_ret;
880                         return ret;
881                 }
882
883                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
884                 static extern bool gst_pad_query_default(IntPtr raw, IntPtr parent, IntPtr query);
885
886                 public bool QueryDefault(Gst.Object parent, Gst.Query query) {
887                         bool raw_ret = gst_pad_query_default(Handle, parent == null ? IntPtr.Zero : parent.Handle, query == null ? IntPtr.Zero : query.Handle);
888                         bool ret = raw_ret;
889                         return ret;
890                 }
891
892                 public bool QueryDefault(Gst.Query query) {
893                         return QueryDefault (null, query);
894                 }
895
896                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
897                 static extern bool gst_pad_query_duration(IntPtr raw, int format, out long duration);
898
899                 public bool QueryDuration(Gst.Format format, out long duration) {
900                         bool raw_ret = gst_pad_query_duration(Handle, (int) format, out duration);
901                         bool ret = raw_ret;
902                         return ret;
903                 }
904
905                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
906                 static extern bool gst_pad_query_position(IntPtr raw, int format, out long cur);
907
908                 public bool QueryPosition(Gst.Format format, out long cur) {
909                         bool raw_ret = gst_pad_query_position(Handle, (int) format, out cur);
910                         bool ret = raw_ret;
911                         return ret;
912                 }
913
914                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
915                 static extern void gst_pad_remove_probe(IntPtr raw, UIntPtr id);
916
917                 public void RemoveProbe(ulong id) {
918                         gst_pad_remove_probe(Handle, new UIntPtr (id));
919                 }
920
921                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
922                 static extern bool gst_pad_send_event(IntPtr raw, IntPtr evnt);
923
924                 public bool SendEvent(Gst.Event evnt) {
925                         evnt.Owned = false;
926                         bool raw_ret = gst_pad_send_event(Handle, evnt == null ? IntPtr.Zero : evnt.Handle);
927                         bool ret = raw_ret;
928                         return ret;
929                 }
930
931                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
932                 static extern void gst_pad_set_activate_function_full(IntPtr raw, GstSharp.PadActivateFunctionNative activate, IntPtr user_data, GLib.DestroyNotify notify);
933
934                 public Gst.PadActivateFunction ActivateFunctionFull { 
935                         set {
936                                 GstSharp.PadActivateFunctionWrapper value_wrapper = new GstSharp.PadActivateFunctionWrapper (value);
937                                 IntPtr user_data;
938                                 GLib.DestroyNotify notify;
939                                 if (value == null) {
940                                         user_data = IntPtr.Zero;
941                                         notify = null;
942                                 } else {
943                                         user_data = (IntPtr) GCHandle.Alloc (value_wrapper);
944                                         notify = GLib.DestroyHelper.NotifyHandler;
945                                 }
946                                 gst_pad_set_activate_function_full(Handle, value_wrapper.NativeDelegate, user_data, notify);
947                         }
948                 }
949
950                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
951                 static extern void gst_pad_set_activatemode_function_full(IntPtr raw, GstSharp.PadActivateModeFunctionNative activatemode, IntPtr user_data, GLib.DestroyNotify notify);
952
953                 public Gst.PadActivateModeFunction ActivatemodeFunctionFull { 
954                         set {
955                                 GstSharp.PadActivateModeFunctionWrapper value_wrapper = new GstSharp.PadActivateModeFunctionWrapper (value);
956                                 IntPtr user_data;
957                                 GLib.DestroyNotify notify;
958                                 if (value == null) {
959                                         user_data = IntPtr.Zero;
960                                         notify = null;
961                                 } else {
962                                         user_data = (IntPtr) GCHandle.Alloc (value_wrapper);
963                                         notify = GLib.DestroyHelper.NotifyHandler;
964                                 }
965                                 gst_pad_set_activatemode_function_full(Handle, value_wrapper.NativeDelegate, user_data, notify);
966                         }
967                 }
968
969                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
970                 static extern bool gst_pad_set_active(IntPtr raw, bool active);
971
972                 public bool SetActive(bool active) {
973                         bool raw_ret = gst_pad_set_active(Handle, active);
974                         bool ret = raw_ret;
975                         return ret;
976                 }
977
978                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
979                 static extern void gst_pad_set_chain_function_full(IntPtr raw, GstSharp.PadChainFunctionNative chain, IntPtr user_data, GLib.DestroyNotify notify);
980
981                 public Gst.PadChainFunction ChainFunctionFull { 
982                         set {
983                                 GstSharp.PadChainFunctionWrapper value_wrapper = new GstSharp.PadChainFunctionWrapper (value);
984                                 IntPtr user_data;
985                                 GLib.DestroyNotify notify;
986                                 if (value == null) {
987                                         user_data = IntPtr.Zero;
988                                         notify = null;
989                                 } else {
990                                         user_data = (IntPtr) GCHandle.Alloc (value_wrapper);
991                                         notify = GLib.DestroyHelper.NotifyHandler;
992                                 }
993                                 gst_pad_set_chain_function_full(Handle, value_wrapper.NativeDelegate, user_data, notify);
994                         }
995                 }
996
997                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
998                 static extern void gst_pad_set_chain_list_function_full(IntPtr raw, GstSharp.PadChainListFunctionNative chainlist, IntPtr user_data, GLib.DestroyNotify notify);
999
1000                 public Gst.PadChainListFunction ChainListFunctionFull { 
1001                         set {
1002                                 GstSharp.PadChainListFunctionWrapper value_wrapper = new GstSharp.PadChainListFunctionWrapper (value);
1003                                 IntPtr user_data;
1004                                 GLib.DestroyNotify notify;
1005                                 if (value == null) {
1006                                         user_data = IntPtr.Zero;
1007                                         notify = null;
1008                                 } else {
1009                                         user_data = (IntPtr) GCHandle.Alloc (value_wrapper);
1010                                         notify = GLib.DestroyHelper.NotifyHandler;
1011                                 }
1012                                 gst_pad_set_chain_list_function_full(Handle, value_wrapper.NativeDelegate, user_data, notify);
1013                         }
1014                 }
1015
1016                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
1017                 static extern void gst_pad_set_event_full_function_full(IntPtr raw, GstSharp.PadEventFullFunctionNative evnt, IntPtr user_data, GLib.DestroyNotify notify);
1018
1019                 public Gst.PadEventFullFunction EventFullFunctionFull { 
1020                         set {
1021                                 GstSharp.PadEventFullFunctionWrapper value_wrapper = new GstSharp.PadEventFullFunctionWrapper (value);
1022                                 IntPtr user_data;
1023                                 GLib.DestroyNotify notify;
1024                                 if (value == null) {
1025                                         user_data = IntPtr.Zero;
1026                                         notify = null;
1027                                 } else {
1028                                         user_data = (IntPtr) GCHandle.Alloc (value_wrapper);
1029                                         notify = GLib.DestroyHelper.NotifyHandler;
1030                                 }
1031                                 gst_pad_set_event_full_function_full(Handle, value_wrapper.NativeDelegate, user_data, notify);
1032                         }
1033                 }
1034
1035                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
1036                 static extern void gst_pad_set_event_function_full(IntPtr raw, GstSharp.PadEventFunctionNative evnt, IntPtr user_data, GLib.DestroyNotify notify);
1037
1038                 public Gst.PadEventFunction EventFunctionFull { 
1039                         set {
1040                                 GstSharp.PadEventFunctionWrapper value_wrapper = new GstSharp.PadEventFunctionWrapper (value);
1041                                 IntPtr user_data;
1042                                 GLib.DestroyNotify notify;
1043                                 if (value == null) {
1044                                         user_data = IntPtr.Zero;
1045                                         notify = null;
1046                                 } else {
1047                                         user_data = (IntPtr) GCHandle.Alloc (value_wrapper);
1048                                         notify = GLib.DestroyHelper.NotifyHandler;
1049                                 }
1050                                 gst_pad_set_event_function_full(Handle, value_wrapper.NativeDelegate, user_data, notify);
1051                         }
1052                 }
1053
1054                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
1055                 static extern void gst_pad_set_getrange_function_full(IntPtr raw, GstSharp.PadGetRangeFunctionNative get, IntPtr user_data, GLib.DestroyNotify notify);
1056
1057                 public Gst.PadGetRangeFunction GetrangeFunctionFull { 
1058                         set {
1059                                 GstSharp.PadGetRangeFunctionWrapper value_wrapper = new GstSharp.PadGetRangeFunctionWrapper (value);
1060                                 IntPtr user_data;
1061                                 GLib.DestroyNotify notify;
1062                                 if (value == null) {
1063                                         user_data = IntPtr.Zero;
1064                                         notify = null;
1065                                 } else {
1066                                         user_data = (IntPtr) GCHandle.Alloc (value_wrapper);
1067                                         notify = GLib.DestroyHelper.NotifyHandler;
1068                                 }
1069                                 gst_pad_set_getrange_function_full(Handle, value_wrapper.NativeDelegate, user_data, notify);
1070                         }
1071                 }
1072
1073                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
1074                 static extern void gst_pad_set_iterate_internal_links_function_full(IntPtr raw, GstSharp.PadIterIntLinkFunctionNative iterintlink, IntPtr user_data, GLib.DestroyNotify notify);
1075
1076                 public Gst.PadIterIntLinkFunction IterateInternalLinksFunctionFull { 
1077                         set {
1078                                 GstSharp.PadIterIntLinkFunctionWrapper value_wrapper = new GstSharp.PadIterIntLinkFunctionWrapper (value);
1079                                 IntPtr user_data;
1080                                 GLib.DestroyNotify notify;
1081                                 if (value == null) {
1082                                         user_data = IntPtr.Zero;
1083                                         notify = null;
1084                                 } else {
1085                                         user_data = (IntPtr) GCHandle.Alloc (value_wrapper);
1086                                         notify = GLib.DestroyHelper.NotifyHandler;
1087                                 }
1088                                 gst_pad_set_iterate_internal_links_function_full(Handle, value_wrapper.NativeDelegate, user_data, notify);
1089                         }
1090                 }
1091
1092                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
1093                 static extern void gst_pad_set_link_function_full(IntPtr raw, GstSharp.PadLinkFunctionNative link, IntPtr user_data, GLib.DestroyNotify notify);
1094
1095                 public Gst.PadLinkFunction LinkFunctionFull { 
1096                         set {
1097                                 GstSharp.PadLinkFunctionWrapper value_wrapper = new GstSharp.PadLinkFunctionWrapper (value);
1098                                 IntPtr user_data;
1099                                 GLib.DestroyNotify notify;
1100                                 if (value == null) {
1101                                         user_data = IntPtr.Zero;
1102                                         notify = null;
1103                                 } else {
1104                                         user_data = (IntPtr) GCHandle.Alloc (value_wrapper);
1105                                         notify = GLib.DestroyHelper.NotifyHandler;
1106                                 }
1107                                 gst_pad_set_link_function_full(Handle, value_wrapper.NativeDelegate, user_data, notify);
1108                         }
1109                 }
1110
1111                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
1112                 static extern void gst_pad_set_query_function_full(IntPtr raw, GstSharp.PadQueryFunctionNative query, IntPtr user_data, GLib.DestroyNotify notify);
1113
1114                 public Gst.PadQueryFunction QueryFunctionFull { 
1115                         set {
1116                                 GstSharp.PadQueryFunctionWrapper value_wrapper = new GstSharp.PadQueryFunctionWrapper (value);
1117                                 IntPtr user_data;
1118                                 GLib.DestroyNotify notify;
1119                                 if (value == null) {
1120                                         user_data = IntPtr.Zero;
1121                                         notify = null;
1122                                 } else {
1123                                         user_data = (IntPtr) GCHandle.Alloc (value_wrapper);
1124                                         notify = GLib.DestroyHelper.NotifyHandler;
1125                                 }
1126                                 gst_pad_set_query_function_full(Handle, value_wrapper.NativeDelegate, user_data, notify);
1127                         }
1128                 }
1129
1130                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
1131                 static extern void gst_pad_set_unlink_function_full(IntPtr raw, GstSharp.PadUnlinkFunctionNative unlink, IntPtr user_data, GLib.DestroyNotify notify);
1132
1133                 public Gst.PadUnlinkFunction UnlinkFunctionFull { 
1134                         set {
1135                                 GstSharp.PadUnlinkFunctionWrapper value_wrapper = new GstSharp.PadUnlinkFunctionWrapper (value);
1136                                 IntPtr user_data;
1137                                 GLib.DestroyNotify notify;
1138                                 if (value == null) {
1139                                         user_data = IntPtr.Zero;
1140                                         notify = null;
1141                                 } else {
1142                                         user_data = (IntPtr) GCHandle.Alloc (value_wrapper);
1143                                         notify = GLib.DestroyHelper.NotifyHandler;
1144                                 }
1145                                 gst_pad_set_unlink_function_full(Handle, value_wrapper.NativeDelegate, user_data, notify);
1146                         }
1147                 }
1148
1149                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
1150                 static extern bool gst_pad_start_task(IntPtr raw, GstSharp.TaskFunctionNative func, IntPtr user_data, GLib.DestroyNotify notify);
1151
1152                 public bool StartTask(Gst.TaskFunction func) {
1153                         GstSharp.TaskFunctionWrapper func_wrapper = new GstSharp.TaskFunctionWrapper (func);
1154                         IntPtr user_data;
1155                         GLib.DestroyNotify notify;
1156                         if (func == null) {
1157                                 user_data = IntPtr.Zero;
1158                                 notify = null;
1159                         } else {
1160                                 user_data = (IntPtr) GCHandle.Alloc (func_wrapper);
1161                                 notify = GLib.DestroyHelper.NotifyHandler;
1162                         }
1163                         bool raw_ret = gst_pad_start_task(Handle, func_wrapper.NativeDelegate, user_data, notify);
1164                         bool ret = raw_ret;
1165                         return ret;
1166                 }
1167
1168                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
1169                 static extern void gst_pad_sticky_events_foreach(IntPtr raw, GstSharp.PadStickyEventsForeachFunctionNative foreach_func, IntPtr user_data);
1170
1171                 public void StickyEventsForeach(Gst.PadStickyEventsForeachFunction foreach_func) {
1172                         GstSharp.PadStickyEventsForeachFunctionWrapper foreach_func_wrapper = new GstSharp.PadStickyEventsForeachFunctionWrapper (foreach_func);
1173                         gst_pad_sticky_events_foreach(Handle, foreach_func_wrapper.NativeDelegate, IntPtr.Zero);
1174                 }
1175
1176                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
1177                 static extern bool gst_pad_stop_task(IntPtr raw);
1178
1179                 public bool StopTask() {
1180                         bool raw_ret = gst_pad_stop_task(Handle);
1181                         bool ret = raw_ret;
1182                         return ret;
1183                 }
1184
1185                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
1186                 static extern int gst_pad_store_sticky_event(IntPtr raw, IntPtr evnt);
1187
1188                 public Gst.FlowReturn StoreStickyEvent(Gst.Event evnt) {
1189                         int raw_ret = gst_pad_store_sticky_event(Handle, evnt == null ? IntPtr.Zero : evnt.Handle);
1190                         Gst.FlowReturn ret = (Gst.FlowReturn) raw_ret;
1191                         return ret;
1192                 }
1193
1194                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
1195                 static extern bool gst_pad_unlink(IntPtr raw, IntPtr sinkpad);
1196
1197                 public bool Unlink(Gst.Pad sinkpad) {
1198                         bool raw_ret = gst_pad_unlink(Handle, sinkpad == null ? IntPtr.Zero : sinkpad.Handle);
1199                         bool ret = raw_ret;
1200                         return ret;
1201                 }
1202
1203                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
1204                 static extern void gst_pad_use_fixed_caps(IntPtr raw);
1205
1206                 public void UseFixedCaps() {
1207                         gst_pad_use_fixed_caps(Handle);
1208                 }
1209
1210                 [DllImport("gstreamer-1.0-0.dll", CallingConvention = CallingConvention.Cdecl)]
1211                 static extern IntPtr gst_pad_mode_get_name(int mode);
1212
1213                 public static string ModeGetName(Gst.PadMode mode) {
1214                         IntPtr raw_ret = gst_pad_mode_get_name((int) mode);
1215                         string ret = GLib.Marshaller.Utf8PtrToString (raw_ret);
1216                         return ret;
1217                 }
1218
1219
1220                 // Internal representation of the wrapped structure ABI.
1221                 static GLib.AbiStruct _abi_info = null;
1222                 static public new GLib.AbiStruct abi_info {
1223                         get {
1224                                 if (_abi_info == null)
1225                                         _abi_info = new GLib.AbiStruct (new List<GLib.AbiField>{ 
1226                                                 new GLib.AbiField("element_private"
1227                                                         , Gst.Object.abi_info.Fields
1228                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // element_private
1229                                                         , null
1230                                                         , "padtemplate"
1231                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1232                                                         , 0
1233                                                         ),
1234                                                 new GLib.AbiField("padtemplate"
1235                                                         , -1
1236                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // padtemplate
1237                                                         , "element_private"
1238                                                         , "direction"
1239                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1240                                                         , 0
1241                                                         ),
1242                                                 new GLib.AbiField("direction"
1243                                                         , -1
1244                                                         , (uint) Marshal.SizeOf(System.Enum.GetUnderlyingType(typeof(Gst.PadDirection))) // direction
1245                                                         , "padtemplate"
1246                                                         , "stream_rec_lock"
1247                                                         , (long) Marshal.OffsetOf(typeof(GstPad_directionAlign), "direction")
1248                                                         , 0
1249                                                         ),
1250                                                 new GLib.AbiField("stream_rec_lock"
1251                                                         , -1
1252                                                         , (uint) Marshal.SizeOf(typeof(GLib.RecMutex.ABI)) // stream_rec_lock
1253                                                         , "direction"
1254                                                         , "task"
1255                                                         , (long) Marshal.OffsetOf(typeof(GstPad_stream_rec_lockAlign), "stream_rec_lock")
1256                                                         , 0
1257                                                         ),
1258                                                 new GLib.AbiField("task"
1259                                                         , -1
1260                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // task
1261                                                         , "stream_rec_lock"
1262                                                         , "block_cond"
1263                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1264                                                         , 0
1265                                                         ),
1266                                                 new GLib.AbiField("block_cond"
1267                                                         , -1
1268                                                         , (uint) Marshal.SizeOf(typeof(GLib.Cond.ABI)) // block_cond
1269                                                         , "task"
1270                                                         , "probes"
1271                                                         , (long) Marshal.OffsetOf(typeof(GstPad_block_condAlign), "block_cond")
1272                                                         , 0
1273                                                         ),
1274                                                 new GLib.AbiField("probes"
1275                                                         , -1
1276                                                         , GLib.HookList.abi_info.Size // probes
1277                                                         , "block_cond"
1278                                                         , "mode"
1279                                                         , (long) Marshal.OffsetOf(typeof(GstPad_probesAlign), "probes")
1280                                                         , 0
1281                                                         ),
1282                                                 new GLib.AbiField("mode"
1283                                                         , -1
1284                                                         , (uint) Marshal.SizeOf(System.Enum.GetUnderlyingType(typeof(Gst.PadMode))) // mode
1285                                                         , "probes"
1286                                                         , "activatefunc"
1287                                                         , (long) Marshal.OffsetOf(typeof(GstPad_modeAlign), "mode")
1288                                                         , 0
1289                                                         ),
1290                                                 new GLib.AbiField("activatefunc"
1291                                                         , -1
1292                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // activatefunc
1293                                                         , "mode"
1294                                                         , "activatedata"
1295                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1296                                                         , 0
1297                                                         ),
1298                                                 new GLib.AbiField("activatedata"
1299                                                         , -1
1300                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // activatedata
1301                                                         , "activatefunc"
1302                                                         , "activatenotify"
1303                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1304                                                         , 0
1305                                                         ),
1306                                                 new GLib.AbiField("activatenotify"
1307                                                         , -1
1308                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // activatenotify
1309                                                         , "activatedata"
1310                                                         , "activatemodefunc"
1311                                                         , (long) Marshal.OffsetOf(typeof(GstPad_activatenotifyAlign), "activatenotify")
1312                                                         , 0
1313                                                         ),
1314                                                 new GLib.AbiField("activatemodefunc"
1315                                                         , -1
1316                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // activatemodefunc
1317                                                         , "activatenotify"
1318                                                         , "activatemodedata"
1319                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1320                                                         , 0
1321                                                         ),
1322                                                 new GLib.AbiField("activatemodedata"
1323                                                         , -1
1324                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // activatemodedata
1325                                                         , "activatemodefunc"
1326                                                         , "activatemodenotify"
1327                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1328                                                         , 0
1329                                                         ),
1330                                                 new GLib.AbiField("activatemodenotify"
1331                                                         , -1
1332                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // activatemodenotify
1333                                                         , "activatemodedata"
1334                                                         , "peer"
1335                                                         , (long) Marshal.OffsetOf(typeof(GstPad_activatemodenotifyAlign), "activatemodenotify")
1336                                                         , 0
1337                                                         ),
1338                                                 new GLib.AbiField("peer"
1339                                                         , -1
1340                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // peer
1341                                                         , "activatemodenotify"
1342                                                         , "linkfunc"
1343                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1344                                                         , 0
1345                                                         ),
1346                                                 new GLib.AbiField("linkfunc"
1347                                                         , -1
1348                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // linkfunc
1349                                                         , "peer"
1350                                                         , "linkdata"
1351                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1352                                                         , 0
1353                                                         ),
1354                                                 new GLib.AbiField("linkdata"
1355                                                         , -1
1356                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // linkdata
1357                                                         , "linkfunc"
1358                                                         , "linknotify"
1359                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1360                                                         , 0
1361                                                         ),
1362                                                 new GLib.AbiField("linknotify"
1363                                                         , -1
1364                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // linknotify
1365                                                         , "linkdata"
1366                                                         , "unlinkfunc"
1367                                                         , (long) Marshal.OffsetOf(typeof(GstPad_linknotifyAlign), "linknotify")
1368                                                         , 0
1369                                                         ),
1370                                                 new GLib.AbiField("unlinkfunc"
1371                                                         , -1
1372                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // unlinkfunc
1373                                                         , "linknotify"
1374                                                         , "unlinkdata"
1375                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1376                                                         , 0
1377                                                         ),
1378                                                 new GLib.AbiField("unlinkdata"
1379                                                         , -1
1380                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // unlinkdata
1381                                                         , "unlinkfunc"
1382                                                         , "unlinknotify"
1383                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1384                                                         , 0
1385                                                         ),
1386                                                 new GLib.AbiField("unlinknotify"
1387                                                         , -1
1388                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // unlinknotify
1389                                                         , "unlinkdata"
1390                                                         , "chainfunc"
1391                                                         , (long) Marshal.OffsetOf(typeof(GstPad_unlinknotifyAlign), "unlinknotify")
1392                                                         , 0
1393                                                         ),
1394                                                 new GLib.AbiField("chainfunc"
1395                                                         , -1
1396                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // chainfunc
1397                                                         , "unlinknotify"
1398                                                         , "chaindata"
1399                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1400                                                         , 0
1401                                                         ),
1402                                                 new GLib.AbiField("chaindata"
1403                                                         , -1
1404                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // chaindata
1405                                                         , "chainfunc"
1406                                                         , "chainnotify"
1407                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1408                                                         , 0
1409                                                         ),
1410                                                 new GLib.AbiField("chainnotify"
1411                                                         , -1
1412                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // chainnotify
1413                                                         , "chaindata"
1414                                                         , "chainlistfunc"
1415                                                         , (long) Marshal.OffsetOf(typeof(GstPad_chainnotifyAlign), "chainnotify")
1416                                                         , 0
1417                                                         ),
1418                                                 new GLib.AbiField("chainlistfunc"
1419                                                         , -1
1420                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // chainlistfunc
1421                                                         , "chainnotify"
1422                                                         , "chainlistdata"
1423                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1424                                                         , 0
1425                                                         ),
1426                                                 new GLib.AbiField("chainlistdata"
1427                                                         , -1
1428                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // chainlistdata
1429                                                         , "chainlistfunc"
1430                                                         , "chainlistnotify"
1431                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1432                                                         , 0
1433                                                         ),
1434                                                 new GLib.AbiField("chainlistnotify"
1435                                                         , -1
1436                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // chainlistnotify
1437                                                         , "chainlistdata"
1438                                                         , "getrangefunc"
1439                                                         , (long) Marshal.OffsetOf(typeof(GstPad_chainlistnotifyAlign), "chainlistnotify")
1440                                                         , 0
1441                                                         ),
1442                                                 new GLib.AbiField("getrangefunc"
1443                                                         , -1
1444                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // getrangefunc
1445                                                         , "chainlistnotify"
1446                                                         , "getrangedata"
1447                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1448                                                         , 0
1449                                                         ),
1450                                                 new GLib.AbiField("getrangedata"
1451                                                         , -1
1452                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // getrangedata
1453                                                         , "getrangefunc"
1454                                                         , "getrangenotify"
1455                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1456                                                         , 0
1457                                                         ),
1458                                                 new GLib.AbiField("getrangenotify"
1459                                                         , -1
1460                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // getrangenotify
1461                                                         , "getrangedata"
1462                                                         , "eventfunc"
1463                                                         , (long) Marshal.OffsetOf(typeof(GstPad_getrangenotifyAlign), "getrangenotify")
1464                                                         , 0
1465                                                         ),
1466                                                 new GLib.AbiField("eventfunc"
1467                                                         , -1
1468                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // eventfunc
1469                                                         , "getrangenotify"
1470                                                         , "eventdata"
1471                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1472                                                         , 0
1473                                                         ),
1474                                                 new GLib.AbiField("eventdata"
1475                                                         , -1
1476                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // eventdata
1477                                                         , "eventfunc"
1478                                                         , "eventnotify"
1479                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1480                                                         , 0
1481                                                         ),
1482                                                 new GLib.AbiField("eventnotify"
1483                                                         , -1
1484                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // eventnotify
1485                                                         , "eventdata"
1486                                                         , "offset"
1487                                                         , (long) Marshal.OffsetOf(typeof(GstPad_eventnotifyAlign), "eventnotify")
1488                                                         , 0
1489                                                         ),
1490                                                 new GLib.AbiField("offset"
1491                                                         , -1
1492                                                         , (uint) Marshal.SizeOf(typeof(long)) // offset
1493                                                         , "eventnotify"
1494                                                         , "queryfunc"
1495                                                         , (long) Marshal.OffsetOf(typeof(GstPad_offsetAlign), "offset")
1496                                                         , 0
1497                                                         ),
1498                                                 new GLib.AbiField("queryfunc"
1499                                                         , -1
1500                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // queryfunc
1501                                                         , "offset"
1502                                                         , "querydata"
1503                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1504                                                         , 0
1505                                                         ),
1506                                                 new GLib.AbiField("querydata"
1507                                                         , -1
1508                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // querydata
1509                                                         , "queryfunc"
1510                                                         , "querynotify"
1511                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1512                                                         , 0
1513                                                         ),
1514                                                 new GLib.AbiField("querynotify"
1515                                                         , -1
1516                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // querynotify
1517                                                         , "querydata"
1518                                                         , "iterintlinkfunc"
1519                                                         , (long) Marshal.OffsetOf(typeof(GstPad_querynotifyAlign), "querynotify")
1520                                                         , 0
1521                                                         ),
1522                                                 new GLib.AbiField("iterintlinkfunc"
1523                                                         , -1
1524                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // iterintlinkfunc
1525                                                         , "querynotify"
1526                                                         , "iterintlinkdata"
1527                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1528                                                         , 0
1529                                                         ),
1530                                                 new GLib.AbiField("iterintlinkdata"
1531                                                         , -1
1532                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // iterintlinkdata
1533                                                         , "iterintlinkfunc"
1534                                                         , "iterintlinknotify"
1535                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1536                                                         , 0
1537                                                         ),
1538                                                 new GLib.AbiField("iterintlinknotify"
1539                                                         , -1
1540                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // iterintlinknotify
1541                                                         , "iterintlinkdata"
1542                                                         , "num_probes"
1543                                                         , (long) Marshal.OffsetOf(typeof(GstPad_iterintlinknotifyAlign), "iterintlinknotify")
1544                                                         , 0
1545                                                         ),
1546                                                 new GLib.AbiField("num_probes"
1547                                                         , -1
1548                                                         , (uint) Marshal.SizeOf(typeof(int)) // num_probes
1549                                                         , "iterintlinknotify"
1550                                                         , "num_blocked"
1551                                                         , (long) Marshal.OffsetOf(typeof(GstPad_num_probesAlign), "num_probes")
1552                                                         , 0
1553                                                         ),
1554                                                 new GLib.AbiField("num_blocked"
1555                                                         , -1
1556                                                         , (uint) Marshal.SizeOf(typeof(int)) // num_blocked
1557                                                         , "num_probes"
1558                                                         , "priv"
1559                                                         , (long) Marshal.OffsetOf(typeof(GstPad_num_blockedAlign), "num_blocked")
1560                                                         , 0
1561                                                         ),
1562                                                 new GLib.AbiField("priv"
1563                                                         , -1
1564                                                         , (uint) Marshal.SizeOf(typeof(IntPtr)) // priv
1565                                                         , "num_blocked"
1566                                                         , "ABI"
1567                                                         , (uint) Marshal.SizeOf(typeof(IntPtr))
1568                                                         , 0
1569                                                         ),
1570                                                 // union struct ABI
1571                                                         new GLib.AbiField("ABI._gst_reserved"
1572                                                                 , -1
1573                                                                 , (uint) Marshal.SizeOf(typeof(IntPtr)) * 4 // ABI._gst_reserved
1574                                                                 , "priv"
1575                                                                 , null
1576                                                                 , (uint) Marshal.SizeOf(typeof(IntPtr))
1577                                                                 , 0
1578                                                                 ),
1579                                                 // End ABI
1580
1581                                                 // union struct ABI.abi
1582                                                         new GLib.AbiField("ABI.abi.last_flowret"
1583                                                                 , -1
1584                                                                 , (uint) Marshal.SizeOf(System.Enum.GetUnderlyingType(typeof(Gst.FlowReturn))) // ABI.abi.last_flowret
1585                                                                 , "priv"
1586                                                                 , "ABI.abi.eventfullfunc"
1587                                                                 , (long) Marshal.OffsetOf(typeof(GstPad_ABI_abi_last_flowretAlign), "ABI_abi_last_flowret")
1588                                                                 , 0
1589                                                                 ),
1590                                                         new GLib.AbiField("ABI.abi.eventfullfunc"
1591                                                                 , -1
1592                                                                 , (uint) Marshal.SizeOf(typeof(IntPtr)) // ABI.abi.eventfullfunc
1593                                                                 , "ABI.abi.last_flowret"
1594                                                                 , null
1595                                                                 , (uint) Marshal.SizeOf(typeof(IntPtr))
1596                                                                 , 0
1597                                                                 ),
1598                                                 // End ABI.abi
1599
1600                                                 new GLib.AbiField("ABI"
1601                                                         , -1
1602                                                         , new List<List<string>>() {  // union ABI
1603                                                 new List<string>() {"ABI._gst_reserved"},
1604                                                 new List<string>() {"ABI.abi.last_flowret","ABI.abi.eventfullfunc"}
1605                                           }
1606                                                         , "priv"
1607                                                         , null
1608                                                         , 0
1609                                                         ),
1610                                         });
1611
1612                                 return _abi_info;
1613                         }
1614                 }
1615
1616                 [StructLayout(LayoutKind.Sequential)]
1617                 public struct GstPad_directionAlign
1618                 {
1619                         sbyte f1;
1620                         private Gst.PadDirection direction;
1621                 }
1622
1623                 [StructLayout(LayoutKind.Sequential)]
1624                 public struct GstPad_stream_rec_lockAlign
1625                 {
1626                         sbyte f1;
1627                         private GLib.RecMutex.ABI stream_rec_lock;
1628                 }
1629
1630                 [StructLayout(LayoutKind.Sequential)]
1631                 public struct GstPad_block_condAlign
1632                 {
1633                         sbyte f1;
1634                         private GLib.Cond.ABI block_cond;
1635                 }
1636
1637                 [StructLayout(LayoutKind.Sequential)]
1638                 public struct GstPad_probesAlign
1639                 {
1640                         sbyte f1;
1641                         private GLib.HookList probes;
1642                 }
1643
1644                 [StructLayout(LayoutKind.Sequential)]
1645                 public struct GstPad_modeAlign
1646                 {
1647                         sbyte f1;
1648                         private Gst.PadMode mode;
1649                 }
1650
1651                 [StructLayout(LayoutKind.Sequential)]
1652                 public struct GstPad_activatenotifyAlign
1653                 {
1654                         sbyte f1;
1655                         private GLib.DestroyNotify activatenotify;
1656                 }
1657
1658                 [StructLayout(LayoutKind.Sequential)]
1659                 public struct GstPad_activatemodenotifyAlign
1660                 {
1661                         sbyte f1;
1662                         private GLib.DestroyNotify activatemodenotify;
1663                 }
1664
1665                 [StructLayout(LayoutKind.Sequential)]
1666                 public struct GstPad_linknotifyAlign
1667                 {
1668                         sbyte f1;
1669                         private GLib.DestroyNotify linknotify;
1670                 }
1671
1672                 [StructLayout(LayoutKind.Sequential)]
1673                 public struct GstPad_unlinknotifyAlign
1674                 {
1675                         sbyte f1;
1676                         private GLib.DestroyNotify unlinknotify;
1677                 }
1678
1679                 [StructLayout(LayoutKind.Sequential)]
1680                 public struct GstPad_chainnotifyAlign
1681                 {
1682                         sbyte f1;
1683                         private GLib.DestroyNotify chainnotify;
1684                 }
1685
1686                 [StructLayout(LayoutKind.Sequential)]
1687                 public struct GstPad_chainlistnotifyAlign
1688                 {
1689                         sbyte f1;
1690                         private GLib.DestroyNotify chainlistnotify;
1691                 }
1692
1693                 [StructLayout(LayoutKind.Sequential)]
1694                 public struct GstPad_getrangenotifyAlign
1695                 {
1696                         sbyte f1;
1697                         private GLib.DestroyNotify getrangenotify;
1698                 }
1699
1700                 [StructLayout(LayoutKind.Sequential)]
1701                 public struct GstPad_eventnotifyAlign
1702                 {
1703                         sbyte f1;
1704                         private GLib.DestroyNotify eventnotify;
1705                 }
1706
1707                 [StructLayout(LayoutKind.Sequential)]
1708                 public struct GstPad_offsetAlign
1709                 {
1710                         sbyte f1;
1711                         private long offset;
1712                 }
1713
1714                 [StructLayout(LayoutKind.Sequential)]
1715                 public struct GstPad_querynotifyAlign
1716                 {
1717                         sbyte f1;
1718                         private GLib.DestroyNotify querynotify;
1719                 }
1720
1721                 [StructLayout(LayoutKind.Sequential)]
1722                 public struct GstPad_iterintlinknotifyAlign
1723                 {
1724                         sbyte f1;
1725                         private GLib.DestroyNotify iterintlinknotify;
1726                 }
1727
1728                 [StructLayout(LayoutKind.Sequential)]
1729                 public struct GstPad_num_probesAlign
1730                 {
1731                         sbyte f1;
1732                         private int num_probes;
1733                 }
1734
1735                 [StructLayout(LayoutKind.Sequential)]
1736                 public struct GstPad_num_blockedAlign
1737                 {
1738                         sbyte f1;
1739                         private int num_blocked;
1740                 }
1741
1742                 [StructLayout(LayoutKind.Sequential)]
1743                 public struct GstPad_ABI_abi_last_flowretAlign
1744                 {
1745                         sbyte f1;
1746                         private Gst.FlowReturn ABI_abi_last_flowret;
1747                 }
1748
1749
1750                 // End of the ABI representation.
1751
1752 #endregion
1753         }
1754 }