libcnotify(3)
| libcnotify(3) | Library Functions Manual | libcnotify(3) |
NAME
libcnotify.h —
Library to support cross-platform C notification
functions
LIBRARY
library “libcnotify”
SYNOPSIS
#include
<libcnotify.h>
Support functions
const char *
libcnotify_get_version(void);
Stream functions
int
libcnotify_stream_set(FILE
*stream, libcnotify_error_t **error);
int
libcnotify_stream_open(const
char *filename, libcnotify_error_t **error);
int
libcnotify_stream_close(libcnotify_error_t
**error);
Verbose functions
void
libcnotify_verbose_set(int
verbose);
Print functions
int
libcnotify_printf(const
char *format, ...);
int
libcnotify_print_data(const
uint8_t *data, size_t data_size, uint8_t print_data_flags);
int
libcnotify_print_error_backtrace(libcnotify_error_t
*error);
DESCRIPTION
The
libcnotify_get_version()
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 refer to libcnotify.h
ENVIRONMENT
None
FILES
None
BUGS
Please report bugs of any kind to <joachim.metz@gmail.com> or on the project website: http://code.google.com/p/libcnotify/
AUTHOR
These man pages were written by Joachim Metz.
COPYRIGHT
Copyright 2008-2013 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 libcnotify.h include file
| January 3, 2013 | libcnotify |
