15 lines
309 B
C
15 lines
309 B
C
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
|
#pragma once
|
|
|
|
#include "macro.h"
|
|
|
|
const char* af_to_name(int id) _const_;
|
|
int af_from_name(const char *name) _pure_;
|
|
|
|
const char* af_to_name_short(int id) _const_;
|
|
|
|
const char* af_to_ipv4_ipv6(int id);
|
|
int af_from_ipv4_ipv6(const char *af);
|
|
|
|
int af_max(void);
|