22#ifndef PROTOCORE_MDNS_SERVICE_H
23#define PROTOCORE_MDNS_SERVICE_H
27#if PROTOCORE_ENABLE_MDNS
40} MdnsServiceBeginArgs;
52 const char *service_type;
55} MdnsServiceAddServiceArgs;
81 MdnsServiceBeginArgs begin_args;
82 MdnsServiceTxtArgs txt_args;
83 MdnsServiceAddServiceArgs add_service_args;
88extern MdnsServiceVars MdnsServiceV;
93 void (*
const begin)(uint8_t *work);
94 void (*
const txt)(uint8_t *work);
95 void (*
const add_service)(uint8_t *work);
100void protocore_mdns_service_begin(uint8_t *work);
101void protocore_mdns_service_txt(uint8_t *work);
102void protocore_mdns_service_add_service(uint8_t *work);
108static const MdnsServiceNs MdnsService __attribute__((unused)) = {
109 .begin = protocore_mdns_service_begin,
110 .txt = protocore_mdns_service_txt,
111 .add_service = protocore_mdns_service_add_service,
123uint8_t *protocore_mdns_service_span(
void);
#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