File indexing completed on 2025-01-18 09:59:58
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023 #ifndef __GIO_TYPES_H__
0024 #define __GIO_TYPES_H__
0025
0026 #if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
0027 #error "Only <gio/gio.h> can be included directly."
0028 #endif
0029
0030 #include <gio/gioenums.h>
0031
0032 G_BEGIN_DECLS
0033
0034 typedef struct _GAppLaunchContext GAppLaunchContext;
0035 typedef struct _GAppInfo GAppInfo;
0036 typedef struct _GAsyncResult GAsyncResult;
0037 typedef struct _GAsyncInitable GAsyncInitable;
0038 typedef struct _GBufferedInputStream GBufferedInputStream;
0039 typedef struct _GBufferedOutputStream GBufferedOutputStream;
0040 typedef struct _GCancellable GCancellable;
0041 typedef struct _GCharsetConverter GCharsetConverter;
0042 typedef struct _GConverter GConverter;
0043 typedef struct _GConverterInputStream GConverterInputStream;
0044 typedef struct _GConverterOutputStream GConverterOutputStream;
0045 typedef struct _GDatagramBased GDatagramBased;
0046 typedef struct _GDataInputStream GDataInputStream;
0047 typedef struct _GSimplePermission GSimplePermission;
0048 typedef struct _GZlibCompressor GZlibCompressor;
0049 typedef struct _GZlibDecompressor GZlibDecompressor;
0050
0051 typedef struct _GSimpleActionGroup GSimpleActionGroup;
0052 typedef struct _GRemoteActionGroup GRemoteActionGroup;
0053 typedef struct _GDBusActionGroup GDBusActionGroup;
0054 typedef struct _GActionMap GActionMap;
0055 typedef struct _GActionGroup GActionGroup;
0056 typedef struct _GPropertyAction GPropertyAction;
0057 typedef struct _GSimpleAction GSimpleAction;
0058 typedef struct _GAction GAction;
0059 typedef struct _GApplication GApplication;
0060 typedef struct _GApplicationCommandLine GApplicationCommandLine;
0061 typedef struct _GSettingsBackend GSettingsBackend;
0062 typedef struct _GSettings GSettings;
0063 typedef struct _GPermission GPermission;
0064
0065 typedef struct _GMenuModel GMenuModel;
0066 typedef struct _GNotification GNotification;
0067
0068 typedef struct _GDrive GDrive;
0069 typedef struct _GFileEnumerator GFileEnumerator;
0070 typedef struct _GFileMonitor GFileMonitor;
0071 typedef struct _GFilterInputStream GFilterInputStream;
0072 typedef struct _GFilterOutputStream GFilterOutputStream;
0073
0074 typedef struct _GFile GFile;
0075 typedef struct _GFileInfo GFileInfo;
0076
0077
0078
0079
0080
0081
0082 typedef struct _GFileAttributeMatcher GFileAttributeMatcher;
0083 typedef struct _GFileAttributeInfo GFileAttributeInfo;
0084 typedef struct _GFileAttributeInfoList GFileAttributeInfoList;
0085 typedef struct _GFileInputStream GFileInputStream;
0086 typedef struct _GFileOutputStream GFileOutputStream;
0087 typedef struct _GFileIOStream GFileIOStream;
0088 typedef struct _GFileIcon GFileIcon;
0089 typedef struct _GFilenameCompleter GFilenameCompleter;
0090
0091
0092 typedef struct _GIcon GIcon;
0093 typedef struct _GInetAddress GInetAddress;
0094 typedef struct _GInetAddressMask GInetAddressMask;
0095 typedef struct _GInetSocketAddress GInetSocketAddress;
0096 typedef struct _GNativeSocketAddress GNativeSocketAddress;
0097 typedef struct _GInputStream GInputStream;
0098 typedef struct _GInitable GInitable;
0099 typedef struct _GIOModule GIOModule;
0100 typedef struct _GIOExtensionPoint GIOExtensionPoint;
0101 typedef struct _GIOExtension GIOExtension;
0102
0103
0104
0105
0106
0107
0108
0109
0110
0111 typedef struct _GIOSchedulerJob GIOSchedulerJob;
0112 typedef struct _GIOStreamAdapter GIOStreamAdapter;
0113 typedef struct _GLoadableIcon GLoadableIcon;
0114 typedef struct _GBytesIcon GBytesIcon;
0115 typedef struct _GMemoryInputStream GMemoryInputStream;
0116 typedef struct _GMemoryOutputStream GMemoryOutputStream;
0117
0118 typedef struct _GMount GMount;
0119 typedef struct _GMountOperation GMountOperation;
0120 typedef struct _GNetworkAddress GNetworkAddress;
0121 typedef struct _GNetworkMonitor GNetworkMonitor;
0122 typedef struct _GNetworkService GNetworkService;
0123 typedef struct _GOutputStream GOutputStream;
0124 typedef struct _GIOStream GIOStream;
0125 typedef struct _GSimpleIOStream GSimpleIOStream;
0126 typedef struct _GPollableInputStream GPollableInputStream;
0127 typedef struct _GPollableOutputStream GPollableOutputStream;
0128 typedef struct _GResolver GResolver;
0129
0130 typedef struct _GResource GResource;
0131 typedef struct _GSeekable GSeekable;
0132 typedef struct _GSimpleAsyncResult GSimpleAsyncResult;
0133
0134 typedef struct _GSocket GSocket;
0135
0136 typedef struct _GSocketControlMessage GSocketControlMessage;
0137 typedef struct _GSocketClient GSocketClient;
0138 typedef struct _GSocketConnection GSocketConnection;
0139 typedef struct _GSocketListener GSocketListener;
0140 typedef struct _GSocketService GSocketService;
0141 typedef struct _GSocketAddress GSocketAddress;
0142 typedef struct _GSocketAddressEnumerator GSocketAddressEnumerator;
0143 typedef struct _GSocketConnectable GSocketConnectable;
0144 typedef struct _GSrvTarget GSrvTarget;
0145 typedef struct _GTask GTask;
0146 typedef struct _GTcpConnection GTcpConnection;
0147 typedef struct _GTcpWrapperConnection GTcpWrapperConnection;
0148 typedef struct _GThreadedSocketService GThreadedSocketService;
0149 typedef struct _GDtlsConnection GDtlsConnection;
0150 typedef struct _GDtlsClientConnection GDtlsClientConnection;
0151 typedef struct _GDtlsServerConnection GDtlsServerConnection;
0152 typedef struct _GThemedIcon GThemedIcon;
0153 typedef struct _GTlsCertificate GTlsCertificate;
0154 typedef struct _GTlsClientConnection GTlsClientConnection;
0155 typedef struct _GTlsConnection GTlsConnection;
0156 typedef struct _GTlsDatabase GTlsDatabase;
0157 typedef struct _GTlsFileDatabase GTlsFileDatabase;
0158 typedef struct _GTlsInteraction GTlsInteraction;
0159 typedef struct _GTlsPassword GTlsPassword;
0160 typedef struct _GTlsServerConnection GTlsServerConnection;
0161 typedef struct _GVfs GVfs;
0162
0163 typedef struct _GProxyResolver GProxyResolver;
0164 typedef struct _GProxy GProxy;
0165 typedef struct _GProxyAddress GProxyAddress;
0166 typedef struct _GProxyAddressEnumerator GProxyAddressEnumerator;
0167
0168 typedef struct _GVolume GVolume;
0169 typedef struct _GVolumeMonitor GVolumeMonitor;
0170
0171
0172
0173
0174
0175
0176
0177
0178
0179
0180
0181
0182
0183
0184
0185
0186
0187
0188
0189
0190 typedef void (*GAsyncReadyCallback) (GObject *source_object,
0191 GAsyncResult *res,
0192 gpointer data);
0193
0194
0195
0196
0197
0198
0199
0200
0201
0202
0203
0204 typedef void (*GFileProgressCallback) (goffset current_num_bytes,
0205 goffset total_num_bytes,
0206 gpointer data);
0207
0208
0209
0210
0211
0212
0213
0214
0215
0216
0217
0218
0219
0220
0221 typedef gboolean (* GFileReadMoreCallback) (const char *file_contents,
0222 goffset file_size,
0223 gpointer callback_data);
0224
0225
0226
0227
0228
0229
0230
0231
0232
0233
0234
0235
0236
0237
0238
0239
0240
0241
0242
0243
0244
0245
0246
0247
0248
0249
0250
0251
0252
0253
0254
0255
0256
0257
0258
0259
0260
0261
0262
0263 typedef void (* GFileMeasureProgressCallback) (gboolean reporting,
0264 guint64 current_size,
0265 guint64 num_dirs,
0266 guint64 num_files,
0267 gpointer data);
0268
0269
0270
0271
0272
0273
0274
0275
0276
0277
0278
0279
0280
0281
0282
0283
0284
0285 typedef gboolean (*GIOSchedulerJobFunc) (GIOSchedulerJob *job,
0286 GCancellable *cancellable,
0287 gpointer data);
0288
0289
0290
0291
0292
0293
0294
0295
0296
0297
0298 typedef void (*GSimpleAsyncThreadFunc) (GSimpleAsyncResult *res,
0299 GObject *object,
0300 GCancellable *cancellable);
0301
0302
0303
0304
0305
0306
0307
0308
0309
0310
0311
0312
0313
0314
0315 typedef gboolean (*GSocketSourceFunc) (GSocket *socket,
0316 GIOCondition condition,
0317 gpointer data);
0318
0319
0320
0321
0322
0323
0324
0325
0326
0327
0328
0329
0330
0331
0332
0333 typedef gboolean (*GDatagramBasedSourceFunc) (GDatagramBased *datagram_based,
0334 GIOCondition condition,
0335 gpointer data);
0336
0337
0338
0339
0340
0341
0342
0343
0344
0345
0346
0347
0348
0349 typedef struct _GInputVector GInputVector;
0350
0351 struct _GInputVector {
0352 gpointer buffer;
0353 gsize size;
0354 };
0355
0356
0357
0358
0359
0360
0361
0362
0363
0364
0365
0366
0367
0368
0369
0370
0371
0372
0373
0374
0375
0376
0377
0378
0379
0380
0381
0382
0383
0384
0385
0386
0387
0388
0389
0390
0391
0392
0393
0394
0395 typedef struct _GInputMessage GInputMessage;
0396
0397 struct _GInputMessage {
0398 GSocketAddress **address;
0399
0400 GInputVector *vectors;
0401 guint num_vectors;
0402
0403 gsize bytes_received;
0404 gint flags;
0405
0406 GSocketControlMessage ***control_messages;
0407 guint *num_control_messages;
0408 };
0409
0410
0411
0412
0413
0414
0415
0416
0417
0418
0419
0420
0421
0422 typedef struct _GOutputVector GOutputVector;
0423
0424 struct _GOutputVector {
0425 gconstpointer buffer;
0426 gsize size;
0427 };
0428
0429
0430
0431
0432
0433
0434
0435
0436
0437
0438
0439
0440
0441
0442
0443
0444
0445
0446
0447
0448
0449
0450 typedef struct _GOutputMessage GOutputMessage;
0451
0452 struct _GOutputMessage {
0453 GSocketAddress *address;
0454
0455 GOutputVector *vectors;
0456 guint num_vectors;
0457
0458 guint bytes_sent;
0459
0460 GSocketControlMessage **control_messages;
0461 guint num_control_messages;
0462 };
0463
0464 typedef struct _GCredentials GCredentials;
0465 typedef struct _GUnixCredentialsMessage GUnixCredentialsMessage;
0466 typedef struct _GUnixFDList GUnixFDList;
0467 typedef struct _GDBusMessage GDBusMessage;
0468 typedef struct _GDBusConnection GDBusConnection;
0469 typedef struct _GDBusProxy GDBusProxy;
0470 typedef struct _GDBusMethodInvocation GDBusMethodInvocation;
0471 typedef struct _GDBusServer GDBusServer;
0472 typedef struct _GDBusAuthObserver GDBusAuthObserver;
0473 typedef struct _GDBusErrorEntry GDBusErrorEntry;
0474 typedef struct _GDBusInterfaceVTable GDBusInterfaceVTable;
0475 typedef struct _GDBusSubtreeVTable GDBusSubtreeVTable;
0476 typedef struct _GDBusAnnotationInfo GDBusAnnotationInfo;
0477 typedef struct _GDBusArgInfo GDBusArgInfo;
0478 typedef struct _GDBusMethodInfo GDBusMethodInfo;
0479 typedef struct _GDBusSignalInfo GDBusSignalInfo;
0480 typedef struct _GDBusPropertyInfo GDBusPropertyInfo;
0481 typedef struct _GDBusInterfaceInfo GDBusInterfaceInfo;
0482 typedef struct _GDBusNodeInfo GDBusNodeInfo;
0483
0484
0485
0486
0487
0488
0489
0490
0491
0492
0493
0494
0495
0496 typedef gboolean (*GCancellableSourceFunc) (GCancellable *cancellable,
0497 gpointer data);
0498
0499
0500
0501
0502
0503
0504
0505
0506
0507
0508
0509
0510
0511
0512 typedef gboolean (*GPollableSourceFunc) (GObject *pollable_stream,
0513 gpointer data);
0514
0515 typedef struct _GDBusInterface GDBusInterface;
0516 typedef struct _GDBusInterfaceSkeleton GDBusInterfaceSkeleton;
0517 typedef struct _GDBusObject GDBusObject;
0518 typedef struct _GDBusObjectSkeleton GDBusObjectSkeleton;
0519 typedef struct _GDBusObjectProxy GDBusObjectProxy;
0520 typedef struct _GDBusObjectManager GDBusObjectManager;
0521 typedef struct _GDBusObjectManagerClient GDBusObjectManagerClient;
0522 typedef struct _GDBusObjectManagerServer GDBusObjectManagerServer;
0523
0524
0525
0526
0527
0528
0529
0530
0531
0532
0533
0534
0535
0536
0537
0538
0539
0540
0541
0542
0543
0544
0545 typedef GType (*GDBusProxyTypeFunc) (GDBusObjectManagerClient *manager,
0546 const gchar *object_path,
0547 const gchar *interface_name,
0548 gpointer data);
0549
0550 typedef struct _GTestDBus GTestDBus;
0551
0552 typedef struct _GSubprocess GSubprocess;
0553 typedef struct _GSubprocessLauncher GSubprocessLauncher;
0554
0555 G_END_DECLS
0556
0557 #endif