File indexing completed on 2025-01-18 10:00:00
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024 #ifndef __G_UNIX_CREDENTIALS_MESSAGE_H__
0025 #define __G_UNIX_CREDENTIALS_MESSAGE_H__
0026
0027 #include <gio/gio.h>
0028
0029 G_BEGIN_DECLS
0030
0031 #define G_TYPE_UNIX_CREDENTIALS_MESSAGE (g_unix_credentials_message_get_type ())
0032 #define G_UNIX_CREDENTIALS_MESSAGE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_UNIX_CREDENTIALS_MESSAGE, GUnixCredentialsMessage))
0033 #define G_UNIX_CREDENTIALS_MESSAGE_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), G_TYPE_UNIX_CREDENTIALS_MESSAGE, GUnixCredentialsMessageClass))
0034 #define G_IS_UNIX_CREDENTIALS_MESSAGE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_UNIX_CREDENTIALS_MESSAGE))
0035 #define G_IS_UNIX_CREDENTIALS_MESSAGE_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), G_TYPE_UNIX_CREDENTIALS_MESSAGE))
0036 #define G_UNIX_CREDENTIALS_MESSAGE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_UNIX_CREDENTIALS_MESSAGE, GUnixCredentialsMessageClass))
0037
0038 typedef struct _GUnixCredentialsMessagePrivate GUnixCredentialsMessagePrivate;
0039 typedef struct _GUnixCredentialsMessageClass GUnixCredentialsMessageClass;
0040
0041 G_DEFINE_AUTOPTR_CLEANUP_FUNC(GUnixCredentialsMessage, g_object_unref)
0042
0043
0044
0045
0046
0047
0048
0049
0050 struct _GUnixCredentialsMessageClass
0051 {
0052 GSocketControlMessageClass parent_class;
0053
0054
0055
0056
0057 void (*_g_reserved1) (void);
0058 void (*_g_reserved2) (void);
0059 };
0060
0061 struct _GUnixCredentialsMessage
0062 {
0063 GSocketControlMessage parent_instance;
0064 GUnixCredentialsMessagePrivate *priv;
0065 };
0066
0067 GIO_AVAILABLE_IN_ALL
0068 GType g_unix_credentials_message_get_type (void) G_GNUC_CONST;
0069 GIO_AVAILABLE_IN_ALL
0070 GSocketControlMessage *g_unix_credentials_message_new (void);
0071 GIO_AVAILABLE_IN_ALL
0072 GSocketControlMessage *g_unix_credentials_message_new_with_credentials (GCredentials *credentials);
0073 GIO_AVAILABLE_IN_ALL
0074 GCredentials *g_unix_credentials_message_get_credentials (GUnixCredentialsMessage *message);
0075
0076 GIO_AVAILABLE_IN_ALL
0077 gboolean g_unix_credentials_message_is_supported (void);
0078
0079 G_END_DECLS
0080
0081 #endif