DC_PARSER_DESTROY(3) Library Functions Manual DC_PARSER_DESTROY(3)

dc_parser_destroy
destroys a single dive parser

library “libdivecomputer”

#include <libdivecomputer/parser.h>
dc_status_t
dc_parser_destroy(dc_parser_t *parser);

Destroys a parser allocated with dc_parser_new(3). The parser parameter may be NULL, in which case it will return with success.

Returns DC_STATUS_OK on success and another code on failure.

dc_parser_new(3)

The library “libdivecomputer” library was written by Jef Driesen, jef@libdivecomputer.org. The manpages were written by
Kristaps Dzonsons, kristaps@bsd.lv.
January 5, 2017 Debian