adt: Abstract Data Types. | |
dns: DNS Resolver Library | The DNS resolver library is a modified copy of the public domain library used in djbdns (http://cr.yp.to/djbdns.html). Many modifications have been made, both to make it fit within the bglibs library and to extend the functionality |
envstr: Environment variables in a str. | |
fmt: Formatting Functions | |
adt ghash: Generic hash tables. | The actual hash table manipulation functions use a simple linear probing algorithm with a dynamic table size. Since many more slots are allocated than are in use at any given time, there are always plenty of empty slots available to make searches short. Since each shot is a single pointer, these extra slots don't consume a significant amount of memory |
adt gqueue: Generic simple queue. | A generic queue is a first-in-first-out structure defined here based on three primary operations: push, top, and pop. Pushing an element onto a queue adds it to the tail of the list. The top operation fetches the least recently pushed element still on the queue, and popping removes it |
adt gstack: Generic simple stack. | A generic stack is a first-in-last-out structure defined here based on three primary operations: push, top, and pop. Pushing an element onto a stack adds it to the head of the list. The top operation fetches the most recently pushed element still on the stack, and popping removes it |
ibuf: Input Buffer Managemenet | |
iobuf: I/O Buffer Management | |
ipv4: IPv4 Address Handling | |
ipv6: IPv6 Address Handling | |
obuf: Output Buffer Management | |
path: Filename manipulation functions | |
resolve: Domain name resolution functions | |
selfpipe: Safe child exit management. | |
signalfd: Pass signals along a file. | |
socket: General socket manipulations | |
str: Dynamically allocated string library. | |
striter: Iterator over substrings of a str. | |
crypto: Cryptographic routines | |
surfrand: Random number generator based on SURF | |
trigger: Safe external event notification | The trigger functions provide a safe mechanism for one program to notify another that an event has happened, using a named pipe |