mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
GSocket: Merge the unix and windows socket sources together
And remove the bits that were added to gasynchelper.c to support the previous unix socket source. part of https://bugzilla.gnome.org/show_bug.cgi?id=587898
This commit is contained in:
@@ -24,37 +24,16 @@
|
||||
#define __G_ASYNC_HELPER_H__
|
||||
|
||||
#include <gio/gio.h>
|
||||
#include <glib-object.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct
|
||||
{
|
||||
gpointer async_object;
|
||||
GError * error;
|
||||
gpointer user_data;
|
||||
} GAsyncResultData;
|
||||
|
||||
typedef gboolean (*GFDSourceFunc) (gpointer user_data,
|
||||
GIOCondition condition,
|
||||
int fd);
|
||||
typedef gboolean (*GFDSourceObjectFunc) (GObject *object,
|
||||
GIOCondition condition,
|
||||
gpointer user_data);
|
||||
|
||||
void _g_queue_async_result (GAsyncResultData *result,
|
||||
gpointer async_object,
|
||||
GError *error,
|
||||
gpointer user_data,
|
||||
GSourceFunc source_func);
|
||||
|
||||
GSource *_g_fd_source_new_with_object (GObject *object,
|
||||
int fd,
|
||||
gushort events,
|
||||
GCancellable *cancellable);
|
||||
GSource *_g_fd_source_new (int fd,
|
||||
gushort events,
|
||||
GCancellable *cancellable);
|
||||
GSource *_g_fd_source_new (int fd,
|
||||
gushort events,
|
||||
GCancellable *cancellable);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
Reference in New Issue
Block a user