Lines Matching refs:URLContext
37 typedef struct URLContext {
51 } URLContext;
55 int (*url_open)( URLContext *h, const char *url, int flags);
61 int (*url_open2)(URLContext *h, const char *url, int flags, AVDictionary **options);
62 int (*url_accept)(URLContext *s, URLContext **c);
63 int (*url_handshake)(URLContext *c);
77 int (*url_read)( URLContext *h, unsigned char *buf, int size);
78 int (*url_write)(URLContext *h, const unsigned char *buf, int size);
79 int64_t (*url_seek)( URLContext *h, int64_t pos, int whence);
80 int (*url_close)(URLContext *h);
81 int (*url_read_pause)(URLContext *h, int pause);
82 int64_t (*url_read_seek)(URLContext *h, int stream_index,
84 int (*url_get_file_handle)(URLContext *h);
85 int (*url_get_multi_file_handle)(URLContext *h, int **handles,
87 int (*url_get_short_seek)(URLContext *h);
88 int (*url_shutdown)(URLContext *h, int flags);
92 int (*url_check)(URLContext *h, int mask);
93 int (*url_open_dir)(URLContext *h);
94 int (*url_read_dir)(URLContext *h, AVIODirEntry **next);
95 int (*url_close_dir)(URLContext *h);
96 int (*url_delete)(URLContext *h);
97 int (*url_move)(URLContext *h_src, URLContext *h_dst);
102 * Create a URLContext for accessing to the resource indicated by
106 * function puts the pointer to the created URLContext
109 * @param int_cb interrupt callback to use for the URLContext, may be
114 int ffurl_alloc(URLContext **puc, const char *filename, int flags,
118 * Connect an URLContext that has been allocated by ffurl_alloc
125 int ffurl_connect(URLContext *uc, AVDictionary **options);
128 * Create an URLContext for accessing to the resource indicated by
132 * function puts the pointer to the created URLContext
135 * @param int_cb interrupt callback to use for the URLContext, may be
140 * @param parent An enclosing URLContext, whose generic options should
141 * be applied to this URLContext as well.
145 int ffurl_open_whitelist(URLContext **puc, const char *filename, int flags,
148 URLContext *parent);
151 * Accept an URLContext c on an URLContext s
157 int ffurl_accept(URLContext *s, URLContext **c);
171 int ffurl_handshake(URLContext *c);
182 int ffurl_read(URLContext *h, unsigned char *buf, int size);
191 int ffurl_read_complete(URLContext *h, unsigned char *buf, int size);
199 int ffurl_write(URLContext *h, const unsigned char *buf, int size);
215 int64_t ffurl_seek(URLContext *h, int64_t pos, int whence);
218 * Close the resource accessed by the URLContext h, and free the
219 * memory used by it. Also set the URLContext pointer to NULL.
224 int ffurl_closep(URLContext **h);
225 int ffurl_close(URLContext *h);
232 int64_t ffurl_size(URLContext *h);
240 int ffurl_get_file_handle(URLContext *h);
247 int ffurl_get_multi_file_handle(URLContext *h, int **handles, int *numhandles);
254 int ffurl_get_short_seek(URLContext *h);
257 * Signal the URLContext that we are done reading or writing the stream.
266 int ffurl_shutdown(URLContext *h, int flags);
275 int ff_udp_set_remote_url(URLContext *h, const char *uri);
276 int ff_udp_get_local_port(URLContext *h);