Files
esp-protocols/components/mosquitto/port/ifaddrs.c
2024-09-16 14:50:31 +02:00

21 lines
426 B
C

/*
* SPDX-FileCopyrightText: 2024 Roger Light <roger@atchoo.org>
*
* SPDX-License-Identifier: EPL-2.0
*
* SPDX-FileContributor: 2024 Espressif Systems (Shanghai) CO LTD
*/
#include "ifaddrs.h"
// Dummy implementation of getifaddrs()
// TODO: Implement this if we need to use bind_interface option of listener's config
int getifaddrs(struct ifaddrs **ifap)
{
return -1;
}
void freeifaddrs(struct ifaddrs *ifa)
{
}