Esempio n. 1
0
 public static extern long url_seek(ref URLContext h, long pos, int whence);
Esempio n. 2
0
 public static extern int url_write(ref URLContext h, [In, Out]byte[] buf, int size);
Esempio n. 3
0
 public static extern int url_get_max_packet_size(ref URLContext h);
Esempio 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;
        }
Esempio n. 5
0
 public static extern long url_filesize(ref URLContext h);
Esempio n. 6
0
 public static extern void url_get_filename(ref URLContext h, [In, Out]StringBuilder buf, int buf_size);
Esempio n. 7
0
 public static extern int url_fdopen(ref ByteIOContext s, ref URLContext h);
Esempio n. 8
0
 public static extern int url_close(ref URLContext h);
Esempio n. 9
0
 public static extern int udp_set_remote_url(ref URLContext h, string uri);
Esempio n. 10
0
 public static extern int udp_get_local_port(ref URLContext h);
Esempio n. 11
0
 public static extern int udp_get_file_handle(ref URLContext h);