return NULL;
}
-/* Unnecessary level of indirection follows. */
-
-/** @private
- * @see sr_session_source_remove()
- */
-SR_PRIV int sr_source_remove(int fd)
-{
- return sr_session_source_remove(sr_current_session, fd);
-}
-
-/** @private
- * @see sr_session_source_remove_pollfd()
- */
-SR_PRIV int sr_source_remove_pollfd(GPollFD *pollfd)
-{
- return sr_session_source_remove_pollfd(sr_current_session, pollfd);
-}
-
-/** @private
- * @see sr_session_source_remove_channel()
- */
-SR_PRIV int sr_source_remove_channel(GIOChannel *channel)
-{
- return sr_session_source_remove_channel(sr_current_session, channel);
-}
-
-/** @private
- * @see sr_session_source_add()
- */
-SR_PRIV int sr_source_add(int fd, int events, int timeout,
- sr_receive_data_callback cb, void *cb_data)
-{
- return sr_session_source_add(sr_current_session,
- fd, events, timeout, cb, cb_data);
-}
-
-/** @private
- * @see sr_session_source_add_pollfd()
- */
-SR_PRIV int sr_source_add_pollfd(GPollFD *pollfd, int timeout,
- sr_receive_data_callback cb, void *cb_data)
-{
- return sr_session_source_add_pollfd(sr_current_session,
- pollfd, timeout, cb, cb_data);
-}
-
-/** @private
- * @see sr_session_source_add_channel()
- */
-SR_PRIV int sr_source_add_channel(GIOChannel *channel, int events,
- int timeout, sr_receive_data_callback cb, void *cb_data)
-{
- return sr_session_source_add_channel(sr_current_session,
- channel, events, timeout, cb, cb_data);
-}
-
/** @} */