/*
 * linc-source.h: This file is part of the linc library.
 *
 * Author:
 *    Michael Meeks  (michael@ximian.com)
 *
 * Copyright 2002, Ximian, Inc.,
 */
#ifndef _LINC_SOURCE_H_
#define _LINC_SOURCE_H_

G_BEGIN_DECLS

/*
 * A dead simple, raw source - with fast conditon change.
 */
GSource *linc_source_create_watch  (GMainContext *context,
				    int           fd,
				    GIOChannel   *opt_channel,
				    GIOCondition  condition,
				    GIOFunc       func,
				    gpointer      user_data);
void     linc_source_set_condition (GSource      *source,
				    GIOCondition  condition);

G_END_DECLS

#endif /* _LINC_SOURCE_H_ */
