You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
309 B
15 lines
309 B
/*
|
|
* 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_ */
|
|
|