*/
#define GST_POLL_FD_INIT { -1, -1 }
-GstPoll* gst_poll_new (gboolean controllable);
+GstPoll* gst_poll_new (gboolean controllable) G_GNUC_MALLOC;
+GstPoll* gst_poll_new_timer (void) G_GNUC_MALLOC;
void gst_poll_free (GstPoll *set);
+void gst_poll_get_read_gpollfd (GstPoll *set, GPollFD *fd);
+
void gst_poll_fd_init (GstPollFD *fd);
gboolean gst_poll_add_fd (GstPoll *set, GstPollFD *fd);
void gst_poll_restart (GstPoll *set);
void gst_poll_set_flushing (GstPoll *set, gboolean flushing);
+gboolean gst_poll_write_control (GstPoll *set);
+gboolean gst_poll_read_control (GstPoll *set);
+
G_END_DECLS
#endif /* __GST_POLL_H__ */