/usr/include/libwaei/io.h is in libwaei-dev 3.2.0b1-1.
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 | #ifndef LW_IO_INCLUDED
#define LW_IO_INCLUDED
#include <glib.h>
#define LW_IO_MAX_FGETS_LINE 5000
#define LW_IO_ERROR "libwaei generic error"
typedef int (*LwIoProgressCallback) (double percent, gpointer data);
struct _LwIoProgressCallbackWithData {
LwIoProgressCallback cb;
gpointer data;
};
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 char*, const char*, gchar*, LwIoProgressCallback, gpointer, GError**);
char** lw_io_get_dictionary_file_list (const int);
size_t lw_io_get_filesize (const char*);
gboolean lw_io_create_mix_dictionary (const char*, const char*, const char*, LwIoProgressCallback, gpointer, GError**);
gboolean lw_io_split_places_from_names_dictionary (const char*, const char*, const char*, LwIoProgressCallback, gpointer, GError**);
gboolean lw_io_copy_with_encoding (const char*, const char*, const char*, const char*, LwIoProgressCallback, gpointer, GError**);
gboolean lw_io_copy (const char*, const char*, LwIoProgressCallback, gpointer, GError**);
gboolean lw_io_remove (const char*, GError**);
gboolean lw_io_download (char*, char*, LwIoProgressCallback, gpointer, GError**);
gboolean lw_io_gunzip_file (const char*, const char*, LwIoProgressCallback, gpointer, GError **);
gboolean lw_io_unzip_file (char*, LwIoProgressCallback, gpointer, GError**);
void lw_io_set_savepath (const gchar *);
const gchar* lw_io_get_savepath (void);
gboolean lw_io_pipe_data (char**, const char *source_path, const char *target_path, LwIoProgressCallback cb, gpointer data, GError **error);
void lw_io_set_cancel_operations (gboolean);
long lw_io_get_size_for_uri (const char*);
#endif
|