Exemplo n.º 1
0
 public static extern long url_seek(ref URLContext h, long pos, int whence);
Exemplo n.º 2
0
 public static extern int url_write(ref URLContext h, [In, Out]byte[] buf, int size);
Exemplo n.º 3
0
 public static extern int url_get_max_packet_size(ref URLContext h);
Exemplo n.º 4
0
        public static int url_open(out URLContext h, string filename, int flags)
        {
            IntPtr ptr;
            int ret = url_open(out ptr, filename, flags);

            h = *(URLContext*)ptr.ToPointer();

            av_free(ptr);

            return ret;
        }
Exemplo n.º 5
0
 public static extern long url_filesize(ref URLContext h);
Exemplo n.º 6
0
 public static extern void url_get_filename(ref URLContext h, [In, Out]StringBuilder buf, int buf_size);
Exemplo n.º 7
0
 public static extern int url_fdopen(ref ByteIOContext s, ref URLContext h);
Exemplo n.º 8
0
 public static extern int url_close(ref URLContext h);
Exemplo n.º 9
0
 public static extern int udp_set_remote_url(ref URLContext h, string uri);
Exemplo n.º 10
0
 public static extern int udp_get_local_port(ref URLContext h);
Exemplo n.º 11
0
 public static extern int udp_get_file_handle(ref URLContext h);