| Top |
|
|
camel_file_util_encode_fixed_int32 () |
|
|
camel_file_util_decode_fixed_int32 () |
|
|
camel_file_util_encode_uint32 () |
|
|
camel_file_util_decode_uint32 () |
|
|
camel_file_util_encode_time_t () |
|
|
camel_file_util_decode_time_t () |
|
|
camel_file_util_encode_off_t () |
|
|
camel_file_util_decode_off_t () |
|
|
camel_file_util_encode_gsize () |
|
|
camel_file_util_decode_gsize () |
|
|
camel_file_util_encode_string () |
|
|
camel_file_util_decode_string () |
|
|
camel_file_util_encode_fixed_string () |
|
|
camel_file_util_decode_fixed_string () |
|
|
camel_file_util_safe_filename () |
|
|
camel_read () |
|
|
camel_write () |
|
|
camel_file_util_savename () |
gint camel_file_util_encode_fixed_int32 (,FILE *out);gint32 value
Encode a gint32, performing no compression, but converting to network order.
gint camel_file_util_decode_fixed_int32 (,FILE *in);gint32 *dest
Retrieve a gint32.
gint camel_file_util_encode_uint32 (,FILE *out);guint32 value
Utility function to save an uint32 to a file.
gint camel_file_util_decode_uint32 (,FILE *in);guint32 *dest
Retrieve an encoded uint32 from a file.
gint camel_file_util_encode_time_t (,FILE *out);time_t value
Encode a time_t value to the file.
gint camel_file_util_decode_time_t (,FILE *in);time_t *dest
Decode a time_t value.
gint camel_file_util_encode_off_t (,FILE *out);off_t value
Encode an off_t type.
gint camel_file_util_decode_off_t (,FILE *in);off_t *dest
Decode an off_t type.
gint camel_file_util_encode_gsize (,FILE *out);gsize value
Encode an gsize type.
gint camel_file_util_decode_gsize (,FILE *in);gsize *dest
Decode an gsize type.
gint camel_file_util_encode_string (,FILE *outconst);gchar *str
Encode a normal string and save it in the output file.
gint camel_file_util_decode_string (,FILE *in);gchar **str
Decode a normal string from the input file.
gint camel_file_util_encode_fixed_string (,FILE *outconst,gchar *str);gsize len
Encode a normal string and save it in the output file.
Unlike camel_file_util_encode_string
, it pads the
str
with "NULL" bytes, if len
is > strlen(str)
gint camel_file_util_decode_fixed_string (,FILE *in,gchar **str);gsize len
Decode a normal string from the input file.
gchar * camel_file_util_safe_filename (const);gchar *name
'Flattens' name
into a safe filename string by hex encoding any
chars that may cause problems on the filesystem.
gssize camel_read (,gint fd,gchar *buf,gsize n,GCancellable *cancellable);GError **error
Cancellable libc read()
Code that intends to be portable to Win32 should call this function
only on file descriptors returned from open()
gssize camel_write (,gint fdconst,gchar *buf,gsize n,GCancellable *cancellable);GError **error
Cancellable libc write()
Code that intends to be portable to Win32 should call this function
only on file descriptors returned from open()