comparison avio.h @ 2542:89030c7e2fa7 libavformat

*_protocol are not part of public API
author aurel
date Mon, 10 Sep 2007 18:11:13 +0000
parents a6d6b2b19341
children 1f9d02d072a7
comparison
equal deleted inserted replaced
2541:90609bab3de3 2542:89030c7e2fa7
252 int url_close_dyn_buf(ByteIOContext *s, uint8_t **pbuffer); 252 int url_close_dyn_buf(ByteIOContext *s, uint8_t **pbuffer);
253 253
254 unsigned long get_checksum(ByteIOContext *s); 254 unsigned long get_checksum(ByteIOContext *s);
255 void init_checksum(ByteIOContext *s, unsigned long (*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len), unsigned long checksum); 255 void init_checksum(ByteIOContext *s, unsigned long (*update_checksum)(unsigned long c, const uint8_t *p, unsigned int len), unsigned long checksum);
256 256
257 /* file.c */
258 extern URLProtocol file_protocol;
259 extern URLProtocol pipe_protocol;
260
261 /* udp.c */ 257 /* udp.c */
262 extern URLProtocol udp_protocol;
263 int udp_set_remote_url(URLContext *h, const char *uri); 258 int udp_set_remote_url(URLContext *h, const char *uri);
264 int udp_get_local_port(URLContext *h); 259 int udp_get_local_port(URLContext *h);
265 int udp_get_file_handle(URLContext *h); 260 int udp_get_file_handle(URLContext *h);
266 261
267 /* tcp.c */
268 extern URLProtocol tcp_protocol;
269
270 /* http.c */
271 extern URLProtocol http_protocol;
272
273 #endif 262 #endif
274 263