WIP - add extractor, generate snippet_data
This commit is contained in:
66
node_modules/sharp/vendor/include/gio-unix-2.0/gio/gfiledescriptorbased.h
generated
vendored
Normal file
66
node_modules/sharp/vendor/include/gio-unix-2.0/gio/gfiledescriptorbased.h
generated
vendored
Normal file
@ -0,0 +1,66 @@
|
||||
/* GIO - GLib Input, Output and Streaming Library
|
||||
*
|
||||
* Copyright (C) 2010 Christian Kellner
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* 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, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Christian Kellner <gicmo@gnome.org>
|
||||
*/
|
||||
|
||||
#ifndef __G_FILE_DESCRIPTOR_BASED_H__
|
||||
#define __G_FILE_DESCRIPTOR_BASED_H__
|
||||
|
||||
#include <gio/gio.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define G_TYPE_FILE_DESCRIPTOR_BASED (g_file_descriptor_based_get_type ())
|
||||
#define G_FILE_DESCRIPTOR_BASED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_TYPE_FILE_DESCRIPTOR_BASED, GFileDescriptorBased))
|
||||
#define G_IS_FILE_DESCRIPTOR_BASED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_TYPE_FILE_DESCRIPTOR_BASED))
|
||||
#define G_FILE_DESCRIPTOR_BASED_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G_TYPE_FILE_DESCRIPTOR_BASED, GFileDescriptorBasedIface))
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GFileDescriptorBased, g_object_unref)
|
||||
|
||||
/**
|
||||
* GFileDescriptorBased:
|
||||
*
|
||||
* An interface for file descriptor based io objects.
|
||||
**/
|
||||
typedef struct _GFileDescriptorBasedIface GFileDescriptorBasedIface;
|
||||
|
||||
/**
|
||||
* GFileDescriptorBasedIface:
|
||||
* @g_iface: The parent interface.
|
||||
* @get_fd: Gets the underlying file descriptor.
|
||||
*
|
||||
* An interface for file descriptor based io objects.
|
||||
**/
|
||||
struct _GFileDescriptorBasedIface
|
||||
{
|
||||
GTypeInterface g_iface;
|
||||
|
||||
/* Virtual Table */
|
||||
int (*get_fd) (GFileDescriptorBased *fd_based);
|
||||
};
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GType g_file_descriptor_based_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
int g_file_descriptor_based_get_fd (GFileDescriptorBased *fd_based);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
#endif /* __G_FILE_DESCRIPTOR_BASED_H__ */
|
||||
|
||||
100
node_modules/sharp/vendor/include/gio-unix-2.0/gio/gunixconnection.h
generated
vendored
Normal file
100
node_modules/sharp/vendor/include/gio-unix-2.0/gio/gunixconnection.h
generated
vendored
Normal file
@ -0,0 +1,100 @@
|
||||
/* GIO - GLib Input, Output and Streaming Library
|
||||
*
|
||||
* Copyright © 2009 Codethink Limited
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* 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, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Authors: Ryan Lortie <desrt@desrt.ca>
|
||||
*/
|
||||
|
||||
#ifndef __G_UNIX_CONNECTION_H__
|
||||
#define __G_UNIX_CONNECTION_H__
|
||||
|
||||
#include <gio/gio.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define G_TYPE_UNIX_CONNECTION (g_unix_connection_get_type ())
|
||||
#define G_UNIX_CONNECTION(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
|
||||
G_TYPE_UNIX_CONNECTION, GUnixConnection))
|
||||
#define G_UNIX_CONNECTION_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), \
|
||||
G_TYPE_UNIX_CONNECTION, GUnixConnectionClass))
|
||||
#define G_IS_UNIX_CONNECTION(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
|
||||
G_TYPE_UNIX_CONNECTION))
|
||||
#define G_IS_UNIX_CONNECTION_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), \
|
||||
G_TYPE_UNIX_CONNECTION))
|
||||
#define G_UNIX_CONNECTION_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \
|
||||
G_TYPE_UNIX_CONNECTION, GUnixConnectionClass))
|
||||
|
||||
typedef struct _GUnixConnection GUnixConnection;
|
||||
typedef struct _GUnixConnectionPrivate GUnixConnectionPrivate;
|
||||
typedef struct _GUnixConnectionClass GUnixConnectionClass;
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixConnection, g_object_unref)
|
||||
|
||||
struct _GUnixConnectionClass
|
||||
{
|
||||
GSocketConnectionClass parent_class;
|
||||
};
|
||||
|
||||
struct _GUnixConnection
|
||||
{
|
||||
GSocketConnection parent_instance;
|
||||
GUnixConnectionPrivate *priv;
|
||||
};
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GType g_unix_connection_get_type (void);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_unix_connection_send_fd (GUnixConnection *connection,
|
||||
gint fd,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gint g_unix_connection_receive_fd (GUnixConnection *connection,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_unix_connection_send_credentials (GUnixConnection *connection,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
void g_unix_connection_send_credentials_async (GUnixConnection *connection,
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
gboolean g_unix_connection_send_credentials_finish (GUnixConnection *connection,
|
||||
GAsyncResult *result,
|
||||
GError **error);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
GCredentials *g_unix_connection_receive_credentials (GUnixConnection *connection,
|
||||
GCancellable *cancellable,
|
||||
GError **error);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
void g_unix_connection_receive_credentials_async (GUnixConnection *connection,
|
||||
GCancellable *cancellable,
|
||||
GAsyncReadyCallback callback,
|
||||
gpointer user_data);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GCredentials *g_unix_connection_receive_credentials_finish (GUnixConnection *connection,
|
||||
GAsyncResult *result,
|
||||
GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __G_UNIX_CONNECTION_H__ */
|
||||
87
node_modules/sharp/vendor/include/gio-unix-2.0/gio/gunixcredentialsmessage.h
generated
vendored
Normal file
87
node_modules/sharp/vendor/include/gio-unix-2.0/gio/gunixcredentialsmessage.h
generated
vendored
Normal file
@ -0,0 +1,87 @@
|
||||
/* GIO - GLib Input, Output and Streaming Library
|
||||
*
|
||||
* Copyright (C) 2010 Red Hat, Inc.
|
||||
* Copyright (C) 2009 Codethink Limited
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* 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, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Authors: David Zeuthen <davidz@redhat.com>
|
||||
*/
|
||||
|
||||
#ifndef __G_UNIX_CREDENTIALS_MESSAGE_H__
|
||||
#define __G_UNIX_CREDENTIALS_MESSAGE_H__
|
||||
|
||||
#include <gio/gio.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define G_TYPE_UNIX_CREDENTIALS_MESSAGE (g_unix_credentials_message_get_type ())
|
||||
#define G_UNIX_CREDENTIALS_MESSAGE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_UNIX_CREDENTIALS_MESSAGE, GUnixCredentialsMessage))
|
||||
#define G_UNIX_CREDENTIALS_MESSAGE_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), G_TYPE_UNIX_CREDENTIALS_MESSAGE, GUnixCredentialsMessageClass))
|
||||
#define G_IS_UNIX_CREDENTIALS_MESSAGE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_UNIX_CREDENTIALS_MESSAGE))
|
||||
#define G_IS_UNIX_CREDENTIALS_MESSAGE_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), G_TYPE_UNIX_CREDENTIALS_MESSAGE))
|
||||
#define G_UNIX_CREDENTIALS_MESSAGE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_UNIX_CREDENTIALS_MESSAGE, GUnixCredentialsMessageClass))
|
||||
|
||||
typedef struct _GUnixCredentialsMessagePrivate GUnixCredentialsMessagePrivate;
|
||||
typedef struct _GUnixCredentialsMessageClass GUnixCredentialsMessageClass;
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixCredentialsMessage, g_object_unref)
|
||||
|
||||
/**
|
||||
* GUnixCredentialsMessageClass:
|
||||
*
|
||||
* Class structure for #GUnixCredentialsMessage.
|
||||
*
|
||||
* Since: 2.26
|
||||
*/
|
||||
struct _GUnixCredentialsMessageClass
|
||||
{
|
||||
GSocketControlMessageClass parent_class;
|
||||
|
||||
/*< private >*/
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_g_reserved1) (void);
|
||||
void (*_g_reserved2) (void);
|
||||
};
|
||||
|
||||
/**
|
||||
* GUnixCredentialsMessage:
|
||||
*
|
||||
* The #GUnixCredentialsMessage structure contains only private data
|
||||
* and should only be accessed using the provided API.
|
||||
*
|
||||
* Since: 2.26
|
||||
*/
|
||||
struct _GUnixCredentialsMessage
|
||||
{
|
||||
GSocketControlMessage parent_instance;
|
||||
GUnixCredentialsMessagePrivate *priv;
|
||||
};
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GType g_unix_credentials_message_get_type (void) G_GNUC_CONST;
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GSocketControlMessage *g_unix_credentials_message_new (void);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GSocketControlMessage *g_unix_credentials_message_new_with_credentials (GCredentials *credentials);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GCredentials *g_unix_credentials_message_get_credentials (GUnixCredentialsMessage *message);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_unix_credentials_message_is_supported (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __G_UNIX_CREDENTIALS_MESSAGE_H__ */
|
||||
95
node_modules/sharp/vendor/include/gio-unix-2.0/gio/gunixfdlist.h
generated
vendored
Normal file
95
node_modules/sharp/vendor/include/gio-unix-2.0/gio/gunixfdlist.h
generated
vendored
Normal file
@ -0,0 +1,95 @@
|
||||
/* GIO - GLib Input, Output and Streaming Library
|
||||
*
|
||||
* Copyright © 2009 Codethink Limited
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* 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, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Authors: Ryan Lortie <desrt@desrt.ca>
|
||||
*/
|
||||
|
||||
#ifndef __G_UNIX_FD_LIST_H__
|
||||
#define __G_UNIX_FD_LIST_H__
|
||||
|
||||
#include <gio/gio.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define G_TYPE_UNIX_FD_LIST (g_unix_fd_list_get_type ())
|
||||
#define G_UNIX_FD_LIST(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
|
||||
G_TYPE_UNIX_FD_LIST, GUnixFDList))
|
||||
#define G_UNIX_FD_LIST_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), \
|
||||
G_TYPE_UNIX_FD_LIST, GUnixFDListClass))
|
||||
#define G_IS_UNIX_FD_LIST(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
|
||||
G_TYPE_UNIX_FD_LIST))
|
||||
#define G_IS_UNIX_FD_LIST_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), \
|
||||
G_TYPE_UNIX_FD_LIST))
|
||||
#define G_UNIX_FD_LIST_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \
|
||||
G_TYPE_UNIX_FD_LIST, GUnixFDListClass))
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixFDList, g_object_unref)
|
||||
|
||||
typedef struct _GUnixFDListPrivate GUnixFDListPrivate;
|
||||
typedef struct _GUnixFDListClass GUnixFDListClass;
|
||||
|
||||
struct _GUnixFDListClass
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
|
||||
/*< private >*/
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_g_reserved1) (void);
|
||||
void (*_g_reserved2) (void);
|
||||
void (*_g_reserved3) (void);
|
||||
void (*_g_reserved4) (void);
|
||||
void (*_g_reserved5) (void);
|
||||
};
|
||||
|
||||
struct _GUnixFDList
|
||||
{
|
||||
GObject parent_instance;
|
||||
GUnixFDListPrivate *priv;
|
||||
};
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GType g_unix_fd_list_get_type (void) G_GNUC_CONST;
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GUnixFDList * g_unix_fd_list_new (void);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GUnixFDList * g_unix_fd_list_new_from_array (const gint *fds,
|
||||
gint n_fds);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gint g_unix_fd_list_append (GUnixFDList *list,
|
||||
gint fd,
|
||||
GError **error);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gint g_unix_fd_list_get_length (GUnixFDList *list);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gint g_unix_fd_list_get (GUnixFDList *list,
|
||||
gint index_,
|
||||
GError **error);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
const gint * g_unix_fd_list_peek_fds (GUnixFDList *list,
|
||||
gint *length);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gint * g_unix_fd_list_steal_fds (GUnixFDList *list,
|
||||
gint *length);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __G_UNIX_FD_LIST_H__ */
|
||||
84
node_modules/sharp/vendor/include/gio-unix-2.0/gio/gunixfdmessage.h
generated
vendored
Normal file
84
node_modules/sharp/vendor/include/gio-unix-2.0/gio/gunixfdmessage.h
generated
vendored
Normal file
@ -0,0 +1,84 @@
|
||||
/* GIO - GLib Input, Output and Streaming Library
|
||||
*
|
||||
* Copyright © 2009 Codethink Limited
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* 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, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Authors: Ryan Lortie <desrt@desrt.ca>
|
||||
*/
|
||||
|
||||
#ifndef __G_UNIX_FD_MESSAGE_H__
|
||||
#define __G_UNIX_FD_MESSAGE_H__
|
||||
|
||||
#include <gio/gio.h>
|
||||
#include <gio/gunixfdlist.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define G_TYPE_UNIX_FD_MESSAGE (g_unix_fd_message_get_type ())
|
||||
#define G_UNIX_FD_MESSAGE(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
|
||||
G_TYPE_UNIX_FD_MESSAGE, GUnixFDMessage))
|
||||
#define G_UNIX_FD_MESSAGE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), \
|
||||
G_TYPE_UNIX_FD_MESSAGE, GUnixFDMessageClass))
|
||||
#define G_IS_UNIX_FD_MESSAGE(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
|
||||
G_TYPE_UNIX_FD_MESSAGE))
|
||||
#define G_IS_UNIX_FD_MESSAGE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), \
|
||||
G_TYPE_UNIX_FD_MESSAGE))
|
||||
#define G_UNIX_FD_MESSAGE_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \
|
||||
G_TYPE_UNIX_FD_MESSAGE, GUnixFDMessageClass))
|
||||
|
||||
typedef struct _GUnixFDMessagePrivate GUnixFDMessagePrivate;
|
||||
typedef struct _GUnixFDMessageClass GUnixFDMessageClass;
|
||||
typedef struct _GUnixFDMessage GUnixFDMessage;
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixFDMessage, g_object_unref)
|
||||
|
||||
struct _GUnixFDMessageClass
|
||||
{
|
||||
GSocketControlMessageClass parent_class;
|
||||
|
||||
/*< private >*/
|
||||
|
||||
/* Padding for future expansion */
|
||||
void (*_g_reserved1) (void);
|
||||
void (*_g_reserved2) (void);
|
||||
};
|
||||
|
||||
struct _GUnixFDMessage
|
||||
{
|
||||
GSocketControlMessage parent_instance;
|
||||
GUnixFDMessagePrivate *priv;
|
||||
};
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GType g_unix_fd_message_get_type (void) G_GNUC_CONST;
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GSocketControlMessage * g_unix_fd_message_new_with_fd_list (GUnixFDList *fd_list);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GSocketControlMessage * g_unix_fd_message_new (void);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GUnixFDList * g_unix_fd_message_get_fd_list (GUnixFDMessage *message);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gint * g_unix_fd_message_steal_fds (GUnixFDMessage *message,
|
||||
gint *length);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_unix_fd_message_append_fd (GUnixFDMessage *message,
|
||||
gint fd,
|
||||
GError **error);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __G_UNIX_FD_MESSAGE_H__ */
|
||||
83
node_modules/sharp/vendor/include/gio-unix-2.0/gio/gunixinputstream.h
generated
vendored
Normal file
83
node_modules/sharp/vendor/include/gio-unix-2.0/gio/gunixinputstream.h
generated
vendored
Normal file
@ -0,0 +1,83 @@
|
||||
/* 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
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* 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, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Alexander Larsson <alexl@redhat.com>
|
||||
*/
|
||||
|
||||
#ifndef __G_UNIX_INPUT_STREAM_H__
|
||||
#define __G_UNIX_INPUT_STREAM_H__
|
||||
|
||||
#include <gio/gio.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define G_TYPE_UNIX_INPUT_STREAM (g_unix_input_stream_get_type ())
|
||||
#define G_UNIX_INPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_UNIX_INPUT_STREAM, GUnixInputStream))
|
||||
#define G_UNIX_INPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_UNIX_INPUT_STREAM, GUnixInputStreamClass))
|
||||
#define G_IS_UNIX_INPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_UNIX_INPUT_STREAM))
|
||||
#define G_IS_UNIX_INPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_UNIX_INPUT_STREAM))
|
||||
#define G_UNIX_INPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_UNIX_INPUT_STREAM, GUnixInputStreamClass))
|
||||
|
||||
/**
|
||||
* GUnixInputStream:
|
||||
*
|
||||
* Implements #GInputStream for reading from selectable unix file descriptors
|
||||
**/
|
||||
typedef struct _GUnixInputStream GUnixInputStream;
|
||||
typedef struct _GUnixInputStreamClass GUnixInputStreamClass;
|
||||
typedef struct _GUnixInputStreamPrivate GUnixInputStreamPrivate;
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixInputStream, g_object_unref)
|
||||
|
||||
struct _GUnixInputStream
|
||||
{
|
||||
GInputStream parent_instance;
|
||||
|
||||
/*< private >*/
|
||||
GUnixInputStreamPrivate *priv;
|
||||
};
|
||||
|
||||
struct _GUnixInputStreamClass
|
||||
{
|
||||
GInputStreamClass parent_class;
|
||||
|
||||
/*< private >*/
|
||||
/* Padding for future expansion */
|
||||
void (*_g_reserved1) (void);
|
||||
void (*_g_reserved2) (void);
|
||||
void (*_g_reserved3) (void);
|
||||
void (*_g_reserved4) (void);
|
||||
void (*_g_reserved5) (void);
|
||||
};
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GType g_unix_input_stream_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GInputStream * g_unix_input_stream_new (gint fd,
|
||||
gboolean close_fd);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
void g_unix_input_stream_set_close_fd (GUnixInputStream *stream,
|
||||
gboolean close_fd);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_unix_input_stream_get_close_fd (GUnixInputStream *stream);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gint g_unix_input_stream_get_fd (GUnixInputStream *stream);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __G_UNIX_INPUT_STREAM_H__ */
|
||||
167
node_modules/sharp/vendor/include/gio-unix-2.0/gio/gunixmounts.h
generated
vendored
Normal file
167
node_modules/sharp/vendor/include/gio-unix-2.0/gio/gunixmounts.h
generated
vendored
Normal file
@ -0,0 +1,167 @@
|
||||
/* 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
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* 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, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Alexander Larsson <alexl@redhat.com>
|
||||
*/
|
||||
|
||||
#ifndef __G_UNIX_MOUNTS_H__
|
||||
#define __G_UNIX_MOUNTS_H__
|
||||
|
||||
#include <gio/gio.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/**
|
||||
* GUnixMountEntry:
|
||||
*
|
||||
* Defines a Unix mount entry (e.g. <filename>/media/cdrom</filename>).
|
||||
* This corresponds roughly to a mtab entry.
|
||||
**/
|
||||
typedef struct _GUnixMountEntry GUnixMountEntry;
|
||||
|
||||
#define G_TYPE_UNIX_MOUNT_ENTRY (g_unix_mount_entry_get_type ())
|
||||
GLIB_AVAILABLE_IN_2_54
|
||||
GType g_unix_mount_entry_get_type (void) G_GNUC_CONST;
|
||||
|
||||
/**
|
||||
* GUnixMountPoint:
|
||||
*
|
||||
* Defines a Unix mount point (e.g. <filename>/dev</filename>).
|
||||
* This corresponds roughly to a fstab entry.
|
||||
**/
|
||||
typedef struct _GUnixMountPoint GUnixMountPoint;
|
||||
|
||||
#define G_TYPE_UNIX_MOUNT_POINT (g_unix_mount_point_get_type ())
|
||||
GLIB_AVAILABLE_IN_2_54
|
||||
GType g_unix_mount_point_get_type (void) G_GNUC_CONST;
|
||||
|
||||
/**
|
||||
* GUnixMountMonitor:
|
||||
*
|
||||
* Watches #GUnixMounts for changes.
|
||||
**/
|
||||
typedef struct _GUnixMountMonitor GUnixMountMonitor;
|
||||
typedef struct _GUnixMountMonitorClass GUnixMountMonitorClass;
|
||||
|
||||
#define G_TYPE_UNIX_MOUNT_MONITOR (g_unix_mount_monitor_get_type ())
|
||||
#define G_UNIX_MOUNT_MONITOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_UNIX_MOUNT_MONITOR, GUnixMountMonitor))
|
||||
#define G_UNIX_MOUNT_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_UNIX_MOUNT_MONITOR, GUnixMountMonitorClass))
|
||||
#define G_IS_UNIX_MOUNT_MONITOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_UNIX_MOUNT_MONITOR))
|
||||
#define G_IS_UNIX_MOUNT_MONITOR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_UNIX_MOUNT_MONITOR))
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixMountMonitor, g_object_unref)
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
void g_unix_mount_free (GUnixMountEntry *mount_entry);
|
||||
GLIB_AVAILABLE_IN_2_54
|
||||
GUnixMountEntry *g_unix_mount_copy (GUnixMountEntry *mount_entry);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
void g_unix_mount_point_free (GUnixMountPoint *mount_point);
|
||||
GLIB_AVAILABLE_IN_2_54
|
||||
GUnixMountPoint *g_unix_mount_point_copy (GUnixMountPoint *mount_point);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gint g_unix_mount_compare (GUnixMountEntry *mount1,
|
||||
GUnixMountEntry *mount2);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
const char * g_unix_mount_get_mount_path (GUnixMountEntry *mount_entry);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
const char * g_unix_mount_get_device_path (GUnixMountEntry *mount_entry);
|
||||
GLIB_AVAILABLE_IN_2_60
|
||||
const char * g_unix_mount_get_root_path (GUnixMountEntry *mount_entry);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
const char * g_unix_mount_get_fs_type (GUnixMountEntry *mount_entry);
|
||||
GLIB_AVAILABLE_IN_2_58
|
||||
const char * g_unix_mount_get_options (GUnixMountEntry *mount_entry);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_unix_mount_is_readonly (GUnixMountEntry *mount_entry);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_unix_mount_is_system_internal (GUnixMountEntry *mount_entry);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_unix_mount_guess_can_eject (GUnixMountEntry *mount_entry);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_unix_mount_guess_should_display (GUnixMountEntry *mount_entry);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
char * g_unix_mount_guess_name (GUnixMountEntry *mount_entry);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GIcon * g_unix_mount_guess_icon (GUnixMountEntry *mount_entry);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GIcon * g_unix_mount_guess_symbolic_icon (GUnixMountEntry *mount_entry);
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixMountEntry, g_unix_mount_free)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixMountPoint, g_unix_mount_point_free)
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gint g_unix_mount_point_compare (GUnixMountPoint *mount1,
|
||||
GUnixMountPoint *mount2);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
const char * g_unix_mount_point_get_mount_path (GUnixMountPoint *mount_point);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
const char * g_unix_mount_point_get_device_path (GUnixMountPoint *mount_point);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
const char * g_unix_mount_point_get_fs_type (GUnixMountPoint *mount_point);
|
||||
GLIB_AVAILABLE_IN_2_32
|
||||
const char * g_unix_mount_point_get_options (GUnixMountPoint *mount_point);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_unix_mount_point_is_readonly (GUnixMountPoint *mount_point);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_unix_mount_point_is_user_mountable (GUnixMountPoint *mount_point);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_unix_mount_point_is_loopback (GUnixMountPoint *mount_point);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_unix_mount_point_guess_can_eject (GUnixMountPoint *mount_point);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
char * g_unix_mount_point_guess_name (GUnixMountPoint *mount_point);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GIcon * g_unix_mount_point_guess_icon (GUnixMountPoint *mount_point);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GIcon * g_unix_mount_point_guess_symbolic_icon (GUnixMountPoint *mount_point);
|
||||
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GList * g_unix_mount_points_get (guint64 *time_read);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GList * g_unix_mounts_get (guint64 *time_read);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GUnixMountEntry *g_unix_mount_at (const char *mount_path,
|
||||
guint64 *time_read);
|
||||
GLIB_AVAILABLE_IN_2_52
|
||||
GUnixMountEntry *g_unix_mount_for (const char *file_path,
|
||||
guint64 *time_read);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_unix_mounts_changed_since (guint64 time);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_unix_mount_points_changed_since (guint64 time);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GType g_unix_mount_monitor_get_type (void) G_GNUC_CONST;
|
||||
GLIB_AVAILABLE_IN_2_44
|
||||
GUnixMountMonitor *g_unix_mount_monitor_get (void);
|
||||
GLIB_DEPRECATED_IN_2_44_FOR(g_unix_mount_monitor_get)
|
||||
GUnixMountMonitor *g_unix_mount_monitor_new (void);
|
||||
GLIB_DEPRECATED_IN_2_44
|
||||
void g_unix_mount_monitor_set_rate_limit (GUnixMountMonitor *mount_monitor,
|
||||
int limit_msec);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_unix_is_mount_path_system_internal (const char *mount_path);
|
||||
GLIB_AVAILABLE_IN_2_56
|
||||
gboolean g_unix_is_system_fs_type (const char *fs_type);
|
||||
GLIB_AVAILABLE_IN_2_56
|
||||
gboolean g_unix_is_system_device_path (const char *device_path);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __G_UNIX_MOUNTS_H__ */
|
||||
82
node_modules/sharp/vendor/include/gio-unix-2.0/gio/gunixoutputstream.h
generated
vendored
Normal file
82
node_modules/sharp/vendor/include/gio-unix-2.0/gio/gunixoutputstream.h
generated
vendored
Normal file
@ -0,0 +1,82 @@
|
||||
/* 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
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* 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, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Author: Alexander Larsson <alexl@redhat.com>
|
||||
*/
|
||||
|
||||
#ifndef __G_UNIX_OUTPUT_STREAM_H__
|
||||
#define __G_UNIX_OUTPUT_STREAM_H__
|
||||
|
||||
#include <gio/gio.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define G_TYPE_UNIX_OUTPUT_STREAM (g_unix_output_stream_get_type ())
|
||||
#define G_UNIX_OUTPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_UNIX_OUTPUT_STREAM, GUnixOutputStream))
|
||||
#define G_UNIX_OUTPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_UNIX_OUTPUT_STREAM, GUnixOutputStreamClass))
|
||||
#define G_IS_UNIX_OUTPUT_STREAM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_UNIX_OUTPUT_STREAM))
|
||||
#define G_IS_UNIX_OUTPUT_STREAM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_UNIX_OUTPUT_STREAM))
|
||||
#define G_UNIX_OUTPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_UNIX_OUTPUT_STREAM, GUnixOutputStreamClass))
|
||||
|
||||
/**
|
||||
* GUnixOutputStream:
|
||||
*
|
||||
* Implements #GOutputStream for outputting to selectable unix file descriptors
|
||||
**/
|
||||
typedef struct _GUnixOutputStream GUnixOutputStream;
|
||||
typedef struct _GUnixOutputStreamClass GUnixOutputStreamClass;
|
||||
typedef struct _GUnixOutputStreamPrivate GUnixOutputStreamPrivate;
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixOutputStream, g_object_unref)
|
||||
|
||||
struct _GUnixOutputStream
|
||||
{
|
||||
GOutputStream parent_instance;
|
||||
|
||||
/*< private >*/
|
||||
GUnixOutputStreamPrivate *priv;
|
||||
};
|
||||
|
||||
struct _GUnixOutputStreamClass
|
||||
{
|
||||
GOutputStreamClass parent_class;
|
||||
|
||||
/*< private >*/
|
||||
/* Padding for future expansion */
|
||||
void (*_g_reserved1) (void);
|
||||
void (*_g_reserved2) (void);
|
||||
void (*_g_reserved3) (void);
|
||||
void (*_g_reserved4) (void);
|
||||
void (*_g_reserved5) (void);
|
||||
};
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GType g_unix_output_stream_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GOutputStream * g_unix_output_stream_new (gint fd,
|
||||
gboolean close_fd);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
void g_unix_output_stream_set_close_fd (GUnixOutputStream *stream,
|
||||
gboolean close_fd);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_unix_output_stream_get_close_fd (GUnixOutputStream *stream);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gint g_unix_output_stream_get_fd (GUnixOutputStream *stream);
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __G_UNIX_OUTPUT_STREAM_H__ */
|
||||
81
node_modules/sharp/vendor/include/gio-unix-2.0/gio/gunixsocketaddress.h
generated
vendored
Normal file
81
node_modules/sharp/vendor/include/gio-unix-2.0/gio/gunixsocketaddress.h
generated
vendored
Normal file
@ -0,0 +1,81 @@
|
||||
/* GIO - GLib Input, Output and Streaming Library
|
||||
*
|
||||
* Copyright (C) 2008 Christian Kellner, Samuel Cormier-Iijima
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* 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, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
* Authors: Christian Kellner <gicmo@gnome.org>
|
||||
* Samuel Cormier-Iijima <sciyoshi@gmail.com>
|
||||
*/
|
||||
|
||||
#ifndef __G_UNIX_SOCKET_ADDRESS_H__
|
||||
#define __G_UNIX_SOCKET_ADDRESS_H__
|
||||
|
||||
#include <gio/gio.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define G_TYPE_UNIX_SOCKET_ADDRESS (g_unix_socket_address_get_type ())
|
||||
#define G_UNIX_SOCKET_ADDRESS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_UNIX_SOCKET_ADDRESS, GUnixSocketAddress))
|
||||
#define G_UNIX_SOCKET_ADDRESS_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_UNIX_SOCKET_ADDRESS, GUnixSocketAddressClass))
|
||||
#define G_IS_UNIX_SOCKET_ADDRESS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_UNIX_SOCKET_ADDRESS))
|
||||
#define G_IS_UNIX_SOCKET_ADDRESS_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_UNIX_SOCKET_ADDRESS))
|
||||
#define G_UNIX_SOCKET_ADDRESS_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_UNIX_SOCKET_ADDRESS, GUnixSocketAddressClass))
|
||||
|
||||
typedef struct _GUnixSocketAddress GUnixSocketAddress;
|
||||
typedef struct _GUnixSocketAddressClass GUnixSocketAddressClass;
|
||||
typedef struct _GUnixSocketAddressPrivate GUnixSocketAddressPrivate;
|
||||
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixSocketAddress, g_object_unref)
|
||||
|
||||
struct _GUnixSocketAddress
|
||||
{
|
||||
GSocketAddress parent_instance;
|
||||
|
||||
/*< private >*/
|
||||
GUnixSocketAddressPrivate *priv;
|
||||
};
|
||||
|
||||
struct _GUnixSocketAddressClass
|
||||
{
|
||||
GSocketAddressClass parent_class;
|
||||
};
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GType g_unix_socket_address_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GSocketAddress *g_unix_socket_address_new (const gchar *path);
|
||||
GLIB_DEPRECATED_FOR(g_unix_socket_address_new_with_type)
|
||||
GSocketAddress *g_unix_socket_address_new_abstract (const gchar *path,
|
||||
gint path_len);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GSocketAddress *g_unix_socket_address_new_with_type (const gchar *path,
|
||||
gint path_len,
|
||||
GUnixSocketAddressType type);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
const char * g_unix_socket_address_get_path (GUnixSocketAddress *address);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gsize g_unix_socket_address_get_path_len (GUnixSocketAddress *address);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GUnixSocketAddressType g_unix_socket_address_get_address_type (GUnixSocketAddress *address);
|
||||
GLIB_DEPRECATED
|
||||
gboolean g_unix_socket_address_get_is_abstract (GUnixSocketAddress *address);
|
||||
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
gboolean g_unix_socket_address_abstract_names_supported (void);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __G_UNIX_SOCKET_ADDRESS_H__ */
|
||||
Reference in New Issue
Block a user