/* GIO - GLib Input, Output and Streaming Library
- *
+ *
* Copyright (C) 2006-2007 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General
- * Public License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
- * Boston, MA 02111-1307, USA.
+ * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
*
* Author: Alexander Larsson <alexl@redhat.com>
*/
#include <gio/gio.h>
-G_BEGIN_DECLS
-
-typedef struct {
- gpointer async_object;
- GError * error;
- gpointer user_data;
-} GAsyncResultData;
+#ifdef G_OS_WIN32
+#include <windows.h>
+#endif
-typedef gboolean (*GFDSourceFunc) (gpointer user_data,
- GIOCondition condition,
- int fd);
-
-void _g_queue_async_result (GAsyncResultData *result,
- gpointer async_object,
- GError *error,
- gpointer user_data,
- GSourceFunc source_func);
+G_BEGIN_DECLS
-GSource *_g_fd_source_new (int fd,
- gushort events,
- GCancellable *cancellable);
+#ifdef G_OS_WIN32
+gboolean _g_win32_overlap_wait_result (HANDLE hfile,
+ OVERLAPPED *overlap,
+ DWORD *transferred,
+ GCancellable *cancellable);
+#endif
G_END_DECLS