about summary refs log tree commit diff
path: root/conform/data/net/if.h-data
blob: 2c3eb4d9d5960d7409432417ef51b8d41468d105 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
type {struct if_nameindex}

element {struct if_nameindex} {unsigned int} if_index
element {struct if_nameindex} {char*} if_name

macro IF_NAMESIZE

function {unsigned int} if_nametoindex (const char*)
function {char*} if_indextoname (unsigned int, char*)
function {struct if_nameindex*} if_nameindex (void)
function void if_freenameindex (struct if_nameindex*)

allow *_t
allow IF_*
#endif