GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DC_PARSER_SET_DATA(3) FreeBSD Library Functions Manual DC_PARSER_SET_DATA(3)

dc_parser_set_dataassigns parse data to a dive parser

library “libdivecomputer”

#include <libdivecomputer/parser.h>

dc_status_t
dc_parser_set_data(dc_parser_t *parser, const unsigned char *data, unsigned int size);

Assigns the binary sequence data of length size bytes to parser, which was created with dc_parser_new(3). How the data is parsed depends upon the values provided to dc_parser_new(3). The data usually comes from the callback assigned to dc_device_foreach(3).

Returns DC_STATUS_OK on success and another code on failure.

dc_device_foreach(3), 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 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.