open62541
1.3.12
Open source implementation of OPC UA
Loading...
Searching...
No Matches
doc
open62541
deps
mdnsd
libmdnsd
sdtxt.h
Go to the documentation of this file.
1
#ifndef MDNS_SDTXT_H_
2
#define MDNS_SDTXT_H_
3
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
8
#include "
xht.h
"
9
10
11
xht_t
MDNSD_EXPORT *
txt2sd
(
const
unsigned
char
*txt,
int
len);
12
13
14
unsigned
char
MDNSD_EXPORT *
sd2txt
(
xht_t
*h,
int
*len);
15
16
#ifdef __cplusplus
17
}
// extern "C"
18
#endif
19
20
#endif
/* MDNS_SDTXT_H_ */
txt2sd
xht_t MDNSD_EXPORT * txt2sd(const unsigned char *txt, int len)
sd2txt
unsigned char MDNSD_EXPORT * sd2txt(xht_t *h, int *len)
xht.h
xht_t
struct xht xht_t
Simple string->void* hashtable, very static and bare minimal, but efficient.
Definition
xht.h:10
Generated by
1.11.0