Function

Camelfile_util_decode_uint32

Declaration [src]

gint
camel_file_util_decode_uint32 (
  FILE* in,
  guint32* dest
)

Description [src]

Retrieve an encoded uint32 from a file.

Parameters

in

Type: FILE*

File to read from.

The argument can be NULL.
The data is owned by the caller of the function.
dest

Type: guint32*

Pointer to a variable to store the value in.

The data is owned by the caller of the function.

Return value

Type: gint

0 on success, -1 on error. @*dest will contain the decoded value.