open62541 1.3.12
Open source implementation of OPC UA
|
Go to the source code of this file.
Data Structures | |
struct | mdns_answer |
Macros | |
#define | QCLASS_IN (1) |
#define | MDNSD_LOG_TRACE(...) |
#define | MDNSD_LOG_DEBUG(...) |
#define | MDNSD_LOG_INFO(...) |
#define | MDNSD_LOG_WARNING(...) |
#define | MDNSD_LOG_ERROR(...) |
#define | MDNSD_LOG_FATAL(...) |
Typedefs | |
typedef struct mdns_daemon | mdns_daemon_t |
typedef struct mdns_record | mdns_record_t |
typedef void(* | mdnsd_record_received_callback) (const struct resource *r, void *data) |
typedef struct mdns_answer | mdns_answer_t |
Functions | |
mdns_daemon_t MDNSD_EXPORT * | mdnsd_new (int clazz, int frame) |
void MDNSD_EXPORT | mdnsd_shutdown (mdns_daemon_t *d) |
void MDNSD_EXPORT | mdnsd_flush (mdns_daemon_t *d) |
void MDNSD_EXPORT | mdnsd_free (mdns_daemon_t *d) |
void MDNSD_EXPORT | mdnsd_register_receive_callback (mdns_daemon_t *d, mdnsd_record_received_callback cb, void *data) |
int MDNSD_EXPORT | mdnsd_in (mdns_daemon_t *d, struct message *m, in_addr_t ip, unsigned short int port) |
int MDNSD_EXPORT | mdnsd_out (mdns_daemon_t *d, struct message *m, struct in_addr *ip, unsigned short int *port) |
struct timeval MDNSD_EXPORT * | mdnsd_sleep (mdns_daemon_t *d) |
void MDNSD_EXPORT | mdnsd_query (mdns_daemon_t *d, const char *host, int type, int(*answer)(mdns_answer_t *a, void *arg), void *arg) |
mdns_answer_t MDNSD_EXPORT * | mdnsd_list (mdns_daemon_t *d, const char *host, int type, mdns_answer_t *last) |
mdns_record_t MDNSD_EXPORT * | mdnsd_record_next (const mdns_record_t *r) |
const mdns_answer_t MDNSD_EXPORT * | mdnsd_record_data (const mdns_record_t *r) |
mdns_record_t MDNSD_EXPORT * | mdnsd_unique (mdns_daemon_t *d, const char *host, unsigned short int type, unsigned long int ttl, void(*conflict)(char *host, int type, void *arg), void *arg) |
mdns_record_t MDNSD_EXPORT * | mdnsd_shared (mdns_daemon_t *d, const char *host, unsigned short int type, unsigned long int ttl) |
mdns_record_t MDNSD_EXPORT * | mdnsd_get_published (const mdns_daemon_t *d, const char *host) |
int MDNSD_EXPORT | mdnsd_has_query (const mdns_daemon_t *d, const char *host) |
void MDNSD_EXPORT | mdnsd_done (mdns_daemon_t *d, mdns_record_t *r) |
void MDNSD_EXPORT | mdnsd_set_raw (mdns_daemon_t *d, mdns_record_t *r, const char *data, unsigned short int len) |
void MDNSD_EXPORT | mdnsd_set_host (mdns_daemon_t *d, mdns_record_t *r, const char *name) |
void MDNSD_EXPORT | mdnsd_set_ip (mdns_daemon_t *d, mdns_record_t *r, struct in_addr ip) |
void MDNSD_EXPORT | mdnsd_set_srv (mdns_daemon_t *d, mdns_record_t *r, unsigned short int priority, unsigned short int weight, unsigned short int port, char *name) |
unsigned short int MDNSD_EXPORT | mdnsd_step (mdns_daemon_t *d, int mdns_socket, bool processIn, bool processOut, struct timeval *nextSleep) |
#define MDNSD_LOG_TRACE | ( | ... | ) |
#define MDNSD_LOG_DEBUG | ( | ... | ) |
#define MDNSD_LOG_INFO | ( | ... | ) |
#define MDNSD_LOG_WARNING | ( | ... | ) |
#define MDNSD_LOG_ERROR | ( | ... | ) |
#define MDNSD_LOG_FATAL | ( | ... | ) |
typedef struct mdns_daemon mdns_daemon_t |
typedef struct mdns_record mdns_record_t |
typedef void(* mdnsd_record_received_callback) (const struct resource *r, void *data) |
typedef struct mdns_answer mdns_answer_t |
Answer data.
mdns_daemon_t MDNSD_EXPORT * mdnsd_new | ( | int | clazz, |
int | frame ) |
void MDNSD_EXPORT mdnsd_shutdown | ( | mdns_daemon_t * | d | ) |
void MDNSD_EXPORT mdnsd_flush | ( | mdns_daemon_t * | d | ) |
void MDNSD_EXPORT mdnsd_free | ( | mdns_daemon_t * | d | ) |
void MDNSD_EXPORT mdnsd_register_receive_callback | ( | mdns_daemon_t * | d, |
mdnsd_record_received_callback | cb, | ||
void * | data ) |
int MDNSD_EXPORT mdnsd_in | ( | mdns_daemon_t * | d, |
struct message * | m, | ||
in_addr_t | ip, | ||
unsigned short int | port ) |
int MDNSD_EXPORT mdnsd_out | ( | mdns_daemon_t * | d, |
struct message * | m, | ||
struct in_addr * | ip, | ||
unsigned short int * | port ) |
struct timeval MDNSD_EXPORT * mdnsd_sleep | ( | mdns_daemon_t * | d | ) |
void MDNSD_EXPORT mdnsd_query | ( | mdns_daemon_t * | d, |
const char * | host, | ||
int | type, | ||
int(* | answer )(mdns_answer_t *a, void *arg), | ||
void * | arg ) |
mdns_answer_t MDNSD_EXPORT * mdnsd_list | ( | mdns_daemon_t * | d, |
const char * | host, | ||
int | type, | ||
mdns_answer_t * | last ) |
mdns_record_t MDNSD_EXPORT * mdnsd_record_next | ( | const mdns_record_t * | r | ) |
const mdns_answer_t MDNSD_EXPORT * mdnsd_record_data | ( | const mdns_record_t * | r | ) |
mdns_record_t MDNSD_EXPORT * mdnsd_unique | ( | mdns_daemon_t * | d, |
const char * | host, | ||
unsigned short int | type, | ||
unsigned long int | ttl, | ||
void(* | conflict )(char *host, int type, void *arg), | ||
void * | arg ) |
mdns_record_t MDNSD_EXPORT * mdnsd_shared | ( | mdns_daemon_t * | d, |
const char * | host, | ||
unsigned short int | type, | ||
unsigned long int | ttl ) |
mdns_record_t MDNSD_EXPORT * mdnsd_get_published | ( | const mdns_daemon_t * | d, |
const char * | host ) |
int MDNSD_EXPORT mdnsd_has_query | ( | const mdns_daemon_t * | d, |
const char * | host ) |
void MDNSD_EXPORT mdnsd_done | ( | mdns_daemon_t * | d, |
mdns_record_t * | r ) |
void MDNSD_EXPORT mdnsd_set_raw | ( | mdns_daemon_t * | d, |
mdns_record_t * | r, | ||
const char * | data, | ||
unsigned short int | len ) |
void MDNSD_EXPORT mdnsd_set_host | ( | mdns_daemon_t * | d, |
mdns_record_t * | r, | ||
const char * | name ) |
void MDNSD_EXPORT mdnsd_set_ip | ( | mdns_daemon_t * | d, |
mdns_record_t * | r, | ||
struct in_addr | ip ) |
void MDNSD_EXPORT mdnsd_set_srv | ( | mdns_daemon_t * | d, |
mdns_record_t * | r, | ||
unsigned short int | priority, | ||
unsigned short int | weight, | ||
unsigned short int | port, | ||
char * | name ) |
unsigned short int MDNSD_EXPORT mdnsd_step | ( | mdns_daemon_t * | d, |
int | mdns_socket, | ||
bool | processIn, | ||
bool | processOut, | ||
struct timeval * | nextSleep ) |