mailing list of musl libc
 help / color / mirror / code / Atom feed
342d4bd5f52e9ea286a26a4c79ef1597b595b4da blob 533 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
#ifndef _IFADDRS_H
#define _IFADDRS_H 1

struct ifaddrs {
	struct ifaddrs	*ifa_next;
	char		*ifa_name;
	unsigned int	 ifa_flags;
	struct sockaddr	*ifa_addr;
	struct sockaddr	*ifa_netmask;
	union {
		struct sockaddr *ifu_broadaddr;
		struct sockaddr *ifu_dstaddr;
	} ifa_ifu;
	#define	ifa_broadaddr ifa_ifu.ifu_broadaddr
	#define	ifa_dstaddr   ifa_ifu.ifu_dstaddr
	void		*ifa_data;
};

#ifdef __cplusplus
extern "C" {
#endif

int getifaddrs(struct ifaddrs **);

void freeifaddrs(struct ifaddrs *);

#ifdef __cpluplus
}
#endif

#endif
debug log:

solving 342d4bd ...
found 342d4bd in https://inbox.vuxu.org/musl/20120919105945.594632f4.idunham@lavabit.com/

applying [1/1] https://inbox.vuxu.org/musl/20120919105945.594632f4.idunham@lavabit.com/
diff --git a/include/ifaddrs.h b/include/ifaddrs.h
new file mode 100644
index 0000000..342d4bd

Checking patch include/ifaddrs.h...
Applied patch include/ifaddrs.h cleanly.

index at:
100644 342d4bd5f52e9ea286a26a4c79ef1597b595b4da	include/ifaddrs.h

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).