![]() |
![]()
| ![]() |
![]()
NAME
LIBRARYlibrary “libdivecomputer” SYNOPSIS
dc_status_t
DESCRIPTIONCreate a context in which dive computers may be queried. The “context” supplies logging messages and so on, and may be re-used for multiple dive computer query sessions. It is usually passed to dc_device_open(3) to query a specific dive computer device. On success, the context must be freed with
dc_context_free(3).
You may configure the context with
dc_context_set_loglevel(3)
and
dc_context_set_logfunc(3).
This is highly recommended as the default logging behaviour of
RETURN VALUESThis returns SEE ALSOdc_context_free(3), dc_context_set_logfunc(3), dc_context_set_loglevel(3), dc_device_open(3) AUTHORSThe library
“libdivecomputer” library was written by
Jef Driesen,
jef@libdivecomputer.org.
The manpages were written by
|