27#ifndef PROTOCORE_NTRIP_CASTER_H
28#define PROTOCORE_NTRIP_CASTER_H
32#if PROTOCORE_ENABLE_NTRIP_CASTER
52 uint16_t auth_b64_len;
62proto_bool protocore_ntrip_request_parse(
const char *buf,
size_t len, NtripRequest *out);
69size_t protocore_ntrip_build_stream_response(
char *out,
size_t cap, NtripVersion version);
76size_t protocore_ntrip_build_error_response(
char *out,
size_t cap, NtripVersion version);
83size_t protocore_ntrip_build_unauthorized_response(
char *out,
size_t cap, NtripVersion version);
88 const char *mountpoint;
89 const char *identifier;
90 const char *format_details;
91 const char *nav_system;
93 const char *generator;
103size_t protocore_ntrip_build_str_record(
char *out,
size_t cap,
const NtripMount *m);
110size_t protocore_ntrip_build_sourcetable(
char *out,
size_t cap, NtripVersion version,
const NtripMount *mounts,
#define PROTOCORE_NTRIP_MOUNT_MAX
Max length (incl. NUL) of an NTRIP mountpoint name the caster serves.
PROTO_ENUM_PACKED
Application protocol spoken on a listener port or connection slot.
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
_Bool proto_bool
The truth value.
#define PROTOCORE_END_DECLS