Scroll to navigation

libfmos(3) Library Functions Manual libfmos(3)

NAME

libfmos.hLibrary to support common Mac OS specific formats

SYNOPSIS

#include <libfmos.h>

Support functions
const char *
libfmos_get_version(void);

Notify functions
void
libfmos_notify_set_verbose(int verbose);

int
libfmos_notify_set_stream(FILE *stream, libfmos_error_t **error);

int
libfmos_notify_stream_open(const char *filename, libfmos_error_t **error);

int
libfmos_notify_stream_close(libfmos_error_t **error);

Error functions
void
libfmos_error_free(libfmos_error_t **error);

int
libfmos_error_fprint(libfmos_error_t *error, FILE *stream);

int
libfmos_error_sprint(libfmos_error_t *error, char *string, size_t size);

int
libfmos_error_backtrace_fprint(libfmos_error_t *error, FILE *stream);

int
libfmos_error_backtrace_sprint(libfmos_error_t *error, char *string, size_t size);

ADC functions
int
libfmos_adc_decompress(const uint8_t *compressed_data, size_t compressed_data_size, uint8_t *uncompressed_data, size_t *uncompressed_data_size, libfmos_error_t **error);

LZFSE functions
int
libfmos_lzfse_decompress(const uint8_t *compressed_data, size_t compressed_data_size, uint8_t *uncompressed_data, size_t *uncompressed_data_size, libfmos_error_t **error);

LZVN functions
int
libfmos_lzvn_decompress(const uint8_t *compressed_data, size_t compressed_data_size, uint8_t *uncompressed_data, size_t *uncompressed_data_size, libfmos_error_t **error);

DESCRIPTION

The () function is used to retrieve the library version.

RETURN VALUES

Most of the functions return NULL or -1 on error, dependent on the return type. For the actual return values see "libfmos.h".

ENVIRONMENT

None

FILES

None

BUGS

Please report bugs of any kind on the project issue tracker: https://github.com/libyal/libfmos/issues

AUTHOR

These man pages are generated from "libfmos.h".

COPYRIGHT

Copyright (C) 2019-2024, Joachim Metz <joachim.metz@gmail.com>.

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

SEE ALSO

the libfmos.h include file

August 5, 2022 libfmos