about summary refs log tree commit diff
path: root/include/arpa/inet.h
Commit message (Collapse)AuthorAgeFilesLines
* implement inet_lnaof, inet_netof, and inet_makeaddrRich Felker2013-06-251-1/+4
| | | | | | | | | also move all legacy inet_* functions into a single file to avoid wasting object file and compile time overhead on them. the added functions are legacy interfaces for working with classful ipv4 network addresses. they have no modern usefulness whatsoever, but some programs unconditionally use them anyway, and they're tiny.
* add inet_network (required for wine)rofl0r2012-12-191-0/+1
|
* remove all remaining redundant __restrict/__inline/_Noreturn defsRich Felker2012-09-081-6/+1
|
* use restrict everywhere it's required by c99 and/or posix 2008Rich Felker2012-09-061-2/+8
| | | | | | | | to deal with the fact that the public headers may be used with pre-c99 compilers, __restrict is used in place of restrict, and defined appropriately for any supported compiler. we also avoid the form [restrict] since older versions of gcc rejected it due to a bug in the original c99 standard, and instead use the form *restrict.
* fix all missing instances of __cplusplus checks/extern "C" in headersRich Felker2011-11-101-0/+8
| | | | patch by Arvid Picciani (aep)
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+33