Files
snapclient/components/net_functions/include/net_functions.h
Karl Osterseher 6bec0e9469 try to auto choose STA vs ETH and also choose IPv4 or IPv6 depending on config
change printf to ESP_LOGI in net_functions
add missing components to network interface

Signed-off-by: Karl Osterseher <karli_o@gmx.at>
2025-01-27 21:47:12 +01:00

25 lines
448 B
C

#ifndef _NET_FUNCTIONS_H_
#define _NET_FUNCTIONS_H_
#ifdef __cplusplus
extern "C" {
#endif
#include "mdns.h"
#define SNTP_TIMEZONE CONFIG_SNTP_TIMEZONE
void net_mdns_register(const char* clientname);
void mdns_print_results(const mdns_result_t* results);
// Return port number
uint32_t find_mdns_service(const char* service_name, const char* proto);
void set_time_from_sntp(void);
#ifdef __cplusplus
}
#endif
#endif /* _NET_FUNCTIONS_H_ */