|
xine-lib
1.2.9
|
#include "xine_internal.h"Go to the source code of this file.
Macros | |
| #define | XIO_READ_READY 1 |
| #define | XIO_WRITE_READY 2 |
| #define | XIO_READY 0 |
| #define | XIO_ERROR 1 |
| #define | XIO_ABORTED 2 |
| #define | XIO_TIMEOUT 3 |
Functions | |
| int | _x_io_select (xine_stream_t *stream, int fd, int state, int timeout_msec) XINE_USED |
| int | _x_io_tcp_connect (xine_stream_t *stream, const char *host, int port) XINE_USED |
| int | _x_io_tcp_connect_finish (xine_stream_t *stream, int fd, int timeout_msec) XINE_USED |
| off_t | _x_io_tcp_read (xine_stream_t *stream, int s, void *buf, off_t todo) XINE_USED |
| off_t | _x_io_tcp_write (xine_stream_t *stream, int s, const void *buf, off_t todo) XINE_USED |
| off_t | _x_io_file_read (xine_stream_t *stream, int fd, void *buf, off_t todo) XINE_USED |
| off_t | _x_io_file_write (xine_stream_t *stream, int fd, const void *buf, off_t todo) XINE_USED |
| int | _x_io_tcp_read_line (xine_stream_t *stream, int sock, char *str, int size) XINE_USED |
| #define XIO_ABORTED 2 |
Referenced by _x_io_select(), and stdin_plugin_wait().
| #define XIO_ERROR 1 |
Referenced by _x_io_select(), and _x_io_tcp_connect_finish().
| #define XIO_READ_READY 1 |
Referenced by _x_io_select(), stdin_plugin_wait(), and xio_rw_abort().
| #define XIO_READY 0 |
| #define XIO_TIMEOUT 3 |
Referenced by _x_io_select(), http_plugin_open(), mms_tcp_connect(), mmsh_tcp_connect(), and stdin_plugin_wait().
| #define XIO_WRITE_READY 2 |
Referenced by _x_io_select(), _x_io_tcp_connect_finish(), http_plugin_open(), mms_tcp_connect(), mmsh_tcp_connect(), and xio_rw_abort().
| off_t _x_io_file_read | ( | xine_stream_t * | stream, |
| int | fd, | ||
| void * | buf, | ||
| off_t | todo | ||
| ) |
References NULL, XIO_FILE_READ, and xio_rw_abort().
| off_t _x_io_file_write | ( | xine_stream_t * | stream, |
| int | fd, | ||
| const void * | buf, | ||
| off_t | todo | ||
| ) |
References NULL, XIO_FILE_WRITE, and xio_rw_abort().
| int _x_io_select | ( | xine_stream_t * | stream, |
| int | fd, | ||
| int | state, | ||
| int | timeout_msec | ||
| ) |
References _, _x_action_pending(), NULL, xine_stream_s::xine, xine_log(), XINE_LOG_MSG, XIO_ABORTED, XIO_ERROR, XIO_POLLING_INTERVAL, XIO_READ_READY, XIO_READY, XIO_TIMEOUT, and XIO_WRITE_READY.
Referenced by _x_io_tcp_connect_finish(), http_plugin_open(), mms_tcp_connect(), mmsh_tcp_connect(), stdin_plugin_wait(), and xio_rw_abort().
| int _x_io_tcp_connect | ( | xine_stream_t * | stream, |
| const char * | host, | ||
| int | port | ||
| ) |
References _x_io_tcp_connect_ipv4(), _x_message(), NULL, xine_stream_s::xine, XINE_MSG_CONNECTION_REFUSED, XINE_MSG_UNKNOWN_HOST, xine_socket_cloexec(), XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by _cdda_cddb_socket_open(), http_plugin_open(), mms_tcp_connect(), mmsh_tcp_connect(), network_connect(), pnm_connect(), and rtsp_connect().
| int _x_io_tcp_connect_finish | ( | xine_stream_t * | stream, |
| int | fd, | ||
| int | timeout_msec | ||
| ) |
References _, _x_io_select(), _x_message(), NULL, XINE_MSG_CONNECTION_REFUSED, XIO_ERROR, XIO_READY, and XIO_WRITE_READY.
Referenced by _cdda_cddb_socket_open().
| off_t _x_io_tcp_read | ( | xine_stream_t * | stream, |
| int | s, | ||
| void * | buf, | ||
| off_t | todo | ||
| ) |
References NULL, xio_rw_abort(), and XIO_TCP_READ.
Referenced by get_answer(), get_asf_header(), get_chunk_header(), get_header(), get_media_packet(), get_packet_command(), get_packet_header(), http_plugin_open(), http_plugin_read_int(), http_plugin_read_metainf(), pnm_get_chunk(), pnm_get_headers(), pnm_get_stream_chunk(), rtsp_read_data(), and XINE_FORMAT_PRINTF().
| int _x_io_tcp_read_line | ( | xine_stream_t * | stream, |
| int | sock, | ||
| char * | str, | ||
| int | size | ||
| ) |
References NULL, xio_rw_abort(), and XIO_TCP_READ.
Referenced by _cdda_cddb_socket_read(), rtsp_get(), and XINE_FORMAT_PRINTF().
| off_t _x_io_tcp_write | ( | xine_stream_t * | stream, |
| int | s, | ||
| const void * | buf, | ||
| off_t | todo | ||
| ) |
References NULL, xio_rw_abort(), and XIO_TCP_WRITE.
Referenced by _cdda_cddb_send_command(), http_plugin_open(), pnm_get_stream_chunk(), pnm_send_request(), pnm_send_response(), rtsp_put(), send_command(), and XINE_FORMAT_PRINTF().
1.8.14