/usr/include/libwaei/io.h is in libwaei-dev 3.6.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | #ifndef LW_IO_INCLUDED
#define LW_IO_INCLUDED
#include <glib.h>
#include <gio/gio.h>
G_BEGIN_DECLS
#define LW_IO_MAX_FGETS_LINE 5000
#define LW_IO_ERROR "libwaei generic error"
typedef gint (*LwIoProgressCallback) (gdouble percent, gpointer data);
struct _LwIoProgressCallbackWithData {
LwIoProgressCallback cb;
gpointer data;
GCancellable *cancellable;
};
typedef struct _LwIoProgressCallbackWithData LwIoProgressCallbackWithData;
typedef enum {
LW_IO_READ_ERROR,
LW_IO_WRITE_ERROR,
LW_IO_DECOMPRESSION_ERROR,
LW_IO_COPY_ERROR,
LW_IO_DOWNLOAD_ERROR,
LW_IO_ENCODING_CONVERSION_ERROR
} LwIoErrorTypes;
void lw_io_write_file (const gchar*, const gchar*, gchar*, LwIoProgressCallback, gpointer, GError**);
size_t lw_io_get_filesize (const gchar*);
gboolean lw_io_create_mix_dictionary (const gchar*, const gchar*, const gchar*, LwIoProgressCallback, gpointer, GCancellable*, GError**);
gboolean lw_io_split_places_from_names_dictionary (const gchar*, const gchar*, const gchar*, LwIoProgressCallback, gpointer, GCancellable*, GError**);
gboolean lw_io_copy_with_encoding (const gchar*, const gchar*, const gchar*, const gchar*, LwIoProgressCallback, gpointer, GCancellable*, GError**);
gboolean lw_io_copy (const gchar*, const gchar*, LwIoProgressCallback, gpointer, GCancellable*, GError**);
gboolean lw_io_remove (const gchar*, GCancellable*, GError**);
gboolean lw_io_download (const gchar*, const gchar*, LwIoProgressCallback, gpointer, GCancellable*, GError**);
gboolean lw_io_gunzip_file (const gchar*, const gchar*, LwIoProgressCallback, gpointer, GCancellable*, GError **);
gboolean lw_io_unzip_file (gchar*, LwIoProgressCallback, gpointer, GCancellable*, GError**);
void lw_io_set_savepath (const gchar *);
const gchar* lw_io_get_savepath (void);
long lw_io_get_size_for_uri (const gchar*);
G_END_DECLS
#endif
|