Logo Search packages:      
Sourcecode: libmpdclient version File versions  Download package

mpd_pure int mpd_connection_get_fd ( const struct mpd_connection connection  ) 

Returns the file descriptor which should be polled by the caller. Do not use the file descriptor for anything except polling! The file descriptor never changes during the lifetime of this mpd_connection object.

Definition at line 326 of file connection.c.

References mpd_connection::async, mpd_async_get_fd(), and mpd_connection_get_fd().

Referenced by mpd_connection_get_fd().

{
      return mpd_async_get_fd(connection->async);
}


Generated by  Doxygen 1.6.0   Back to index