/*
 * Copyright (c) 2021, Erich Styger
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef SRC_HOSTNAME_H_
#define SRC_HOSTNAME_H_

#include <stddef.h>

/* return for a given hostname the IP address */
int hostname_to_ip(const char *hostname, char *ipBuf, size_t ipBufLen);

#endif /* SRC_HOSTNAME_H_ */
