summaryrefslogtreecommitdiff
path: root/include/bsd
AgeCommit message (Collapse)AuthorFilesLines
2011-05-14Move all header files to /usr/include/bsd/ and deprecate /usr/include/Guillem Jover3-0/+200
First stage of the transition to avoid possible clashes with other software by moving out of the way the remaining headers from /usr/include/. At least nlist.h is known to cause file conflicts with some libelf implementations. libutil.h is not really complete and might cause confusion if software detects its availability w/o someone actually checking. And lastly vis.h is not known to cause any problem and it's complete, but better be safe than sorry. The compatibility headers will be removed in a later release.
2011-05-14Add support for transparent compilationGuillem Jover7-1/+42
This means that software being ported should not need to be modified in the usual case, as the libbsd headers will take over the standard namespace and fill the missing gaps, and include the system headers. To use this the new libbsd-transparent.pc file can be used through pkg-config, which should end up doing the right thing.
2011-05-14Add missing prototypes for arc4random_buf and arc4random_uniformKevin McCarthy1-0/+2
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=34511
2011-05-14Add new <bsd/sys/bitstring.h> headerGuillem Jover1-0/+146
Taken from FreeBSD.
2011-05-14Add new radixsort and sradixsort functionsGuillem Jover1-0/+4
Taken from FreeBSD.
2011-05-14Add new mergesort functionGuillem Jover1-1/+3
Taken from FreeBSD.
2011-05-14Add getpeereid functionGuillem Jover1-0/+2
2011-02-23Add reallocf functionAurelien Jarno1-0/+2
2010-01-21Make setprogname and getprogname arguments and return value constGuillem Jover1-3/+3
This is more correct as the strings are not going to be changed, and it matches the function signatures on other BSDs. Suggested-by: Aurelien Jarno <aurel32@debian.org>
2010-01-10Replace setproctitle dummy macro with a function stubGuillem Jover2-4/+2
This way we can replace it later on with a real implementation so that applications can immediately benefit from it w/o the need to recompile them.
2009-12-12Move fmtcheck and fgetln declarations to <bsd/stdio.h>Guillem Jover3-6/+45
This is were they are located on the BSDs.
2009-12-12Move setmode and getmode declarations to <bsd/unistd.h>Guillem Jover2-7/+45
This is were they are located on the BSDs.
2009-12-12Mark inclusion of <time.h> from <bsd/bsd.h> deprecatedGuillem Jover1-0/+2
This will be removed at some point in the future.
2009-12-12Move arc4random declarations to <bsd/stdlib.h>Guillem Jover3-8/+6
This is were they are located on the BSDs.
2009-12-12Deprecate <bsd/inet.h>Guillem Jover1-5/+2
The only function declared in that header file was inet_net_pton, which is already provided by glibc. Will be removed on the next SONAME bump.
2009-12-12Remove traces of fgetwln, it was never includedGuillem Jover1-2/+0
This function was exposed in the header file and the versioning symbol file, but the actual code was never here.
2009-12-10Make RCS macros take argumentsThorsten Glaser1-3/+3
This was breaking code actually using those macros. Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
2009-12-10Track bug IDs for __unused collisionThorsten Glaser1-0/+1
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
2009-12-10Add readpassphrase functionGuillem Jover1-0/+41
Taken from OpenBSD.
2009-12-10Add dehumanize_number functionGuillem Jover1-0/+6
Taken from NetBSD.
2009-10-24Move <bsd/ip_icmp.h> to <bsd/netinet/ip_icmp.h>Guillem Jover3-186/+221
This maps more closely the location of the real header. For transitional purposes keep a <bsd/ip_icmp.h> that warns and includes <bsd/netinet/ip_icmp.h>.
2009-10-24Add new <bsd/sys/tree.h> headerGuillem Jover2-0/+766
2009-10-24Move <bsd/queue.h> to <bsd/sys/queue.h>Guillem Jover3-607/+642
This maps more closely the location of the real header. For transitional purposes keep a <bsd/queue.h> that warns and includes <bsd/sys/queue.h>.
2009-10-24Move <bsd/cdefs.h> to <bsd/sys/cdefs.h>Guillem Jover3-63/+98
This maps more closely the location of the real header. For transitional purposes keep a <bsd/cdefs.h> that warns and includes <bsd/sys/cdefs.h>.
2009-10-24Update <sys/queue.h>Guillem Jover1-61/+130
Taken from FreeBSD.
2009-10-24Add strtonum functionGuillem Jover1-0/+3
Taken from FreeBSD.
2009-07-17Add __pure2 dummy macroGuillem Jover1-0/+4
2009-07-17Add more dummy id macrosGuillem Jover1-0/+16
2009-05-25Export public functions as extern CGuillem Jover6-3/+23
2009-05-25Add missing <stdarg.h> include in <bsd/err.h>Guillem Jover1-0/+1
2009-05-25Add new __RCSID macroGuillem Jover1-1/+5
Define it to nothing, so that source imported from BSDs can be easily compiled w/o needing to modify them.
2009-05-20Use UTF-8 copyright symbols for non-imported filesGuillem Jover8-10/+10
2009-05-20Add strmode functionGuillem Jover1-1/+3
2008-07-26Add a new header file to expose inet_net_pton prototypeGuillem Jover1-0/+35
2008-07-09Add new setmode and getmode functions from FreeBSDGuillem Jover1-0/+9
2008-07-09Include the rest of the header filesGuillem Jover1-1/+5
2008-07-09Disable __bounded__ __attribute__Guillem Jover1-0/+4
2008-07-09Renumber 4th clause from BSD license to 3rdGuillem Jover2-2/+2
Those files have only three clauses.
2008-07-09Add missing license headersGuillem Jover3-0/+79
With permission from Robert Millan and Aurelien Jarno.
2008-06-18Add arc4random_stir and arc4random_addrandom functionsGuillem Jover1-0/+2
2008-06-18Replace current md5 code with one from MirBSD and OpenBSDGuillem Jover1-37/+40
This adds the following public functions: MD5Transform, MD5End, MD5File, MD5FileChunk, MD5Data
2008-06-18Include missing stddef.hGuillem Jover1-0/+1
2008-06-18Remove cruft macros and includesGuillem Jover1-26/+0
2008-06-18Add license headerGuillem Jover4-0/+104
2008-05-06bsd/queue.h: Sync with current glibc variant from GNU/kFreeBSDPetr Salinger1-2/+2
2008-05-06bsd/bsd.h: CleanupPetr Salinger1-49/+5
2008-05-06Add heapsortRobert Millan1-0/+2
2008-05-06Add getprogname and setprognameRobert Millan1-1/+6
2008-05-06Disable __unusedGuillem Jover1-0/+4
It conflicts with a struct member in a Linux header.
2008-05-06Remove unused includes and protect headerGuillem Jover2-3/+6