summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/ifaddrs.h
blob: 7a10dd5e5d31aa3530693555e0a4908f2ad8b921 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (c) 2021, Idan Horowitz <idan.horowitz@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <Kernel/API/POSIX/ifaddrs.h>
#include <sys/cdefs.h>

__BEGIN_DECLS

int getifaddrs(struct ifaddrs** ifap);
void freeifaddrs(struct ifaddrs* ifa);

__END_DECLS