LIBHHandy library for C programmers

Copyright © 2006 by Philip HowardDownload now: libh-0.8.5.tar.gz [769518 bytes] or libh-0.8.5.tar.bz2 [461269 bytes]
About LIBH
LIBH is a collection of functions for C programming intended to be helpful or handy for C programmers. Many of these functions originated with various programming projects where they were needed. Other functions were then added to fill out the scope of possibilities to make a more complete selection. LIBH is divided into a number of different logical sections. Each section is described in the columns at the right.
Status
LIBH is currently only in the alpha development stage. A beta release is expected once the API is stablized.
Licensing
LIBH is licensed under GPL for the alpha development versions, under LGPL for the beta test versions, and under the BSD license for the final release versions.   more...
Documentation
Separate documentation for LIBH is not available, yet. Once that documentation is available, the more link below will take you there. In the mean time, there is documentation in the comments of most source files.   more...
Download
libh-0.8.5.tar.gz[769518 bytes]
libh-0.8.5.tar.bz2[461269 bytes]
libh-0.8.4.tar.gz[766314 bytes]
libh-0.8.4.tar.bz2[459849 bytes]
libh-0.8.3.tar.gz[759205 bytes]
libh-0.8.3.tar.bz2[456594 bytes]
For older files and/or checksum values, please see the full download page.
Resources
The LIBH source code can be browsed online. A flat listing of all the files in the tree is here.
Author
LIBH is written by Phil Howard. You may email feedback to the author.
Forward
Email this page or project to a friend.
Copying
This web page and other pages on this site may be copied and/or adapted for other uses under terms of the GNU Free Documentation License.
Mirrors
Mirrors for this site are at:
  libh.slashusr.org
  libh.sourceforge.net
angif
These functions generate animated and true color GIF streams from in memory images. The streams are written to the specified output file or stored in memory. LZW compression is not supported at this time due to patent issues.  more...
arith
These functions do a few general purpose arithmetic operations. They currently include integer power and linear rescaling.  more...
avl
These functions implement an AVL balanced binary search tree on caller supplied nodes. Support is included for nodes with more than one set of links to fit into more than one different tree. Features include incremental stepping forward and backward, and position state retained even at the point where a lookup fails.  more...
bit
These functions implement some bit manipulation tools. Currently, functions are available to count the 1 bits, and to reverse the order of bits.  more...
byte
These functions implement some byte manipulation tools. Currently, functions are available to store integers into a specified number of bytes in big or little endian.  more...
callsign
These functions provide mapping between country codes, and assigned radio call sign prefixes.  more...
cgi
These functions process web form data in both query string input and post input. One method provided returns each data item as received. Another method provided returns a mapping with the data items loaded.  more...
ctools
These functions implement a few general purpose C programming tools. One of the tools is a set of function to allow choosing from a small number of data items or expressions based on a given index.  more...
daemon
These functions implement a sophisticated daemon server from a simple calling program. The program will simply call a few functions in order, and then it will finally be executing in the worker process for each incoming network connection to be served.  more...
debug
These functions implement a simple debugging facility which can be compiled in or out by selection of a header file to include, or by environment variables at run time.  more...
div
These functions and macros implement some variations on division and modulus operation. Some macros that directly store quotient and remainder directly are available. Also, macros and functions that do division by truncation downward are included.  more...
ftr
These functions and macros implement a simple file tree recursion that includes canonical name sorting and flexibility in using full or partial path names. It also runs faster than FTS.  more...
helloworld
These functions are simple demos to show how some of the facilities in this library are organized.  more...
html
These functions assist in various ways for programs that output HTML.  more...
http
These functions perform some HTTP header output and processing.  more...
io
These functions implement a number of sophisticated I/O assistance features, including clean line by line input, item parsing input, and several I/O function calls with name string joining.  more...
list
These functions implement a simple linked list facility.  more...
map
These functions implement a large data mapping facility that covers many data types for both key and value, and includes a number of features including incremental stepping and fuzzy searching to get near where a key is expected.  more...
misc
The miscellaneous section is generally where to find programs which do not fit well in other sections due to their use of more than one category of functions.  more...
net
These functions implement some TCP/IP network tools, including IP address parsing and conversions.  more...
option
These functions will implement a different model of option handling. At present only some simple functions are available.  more...
string
These functions implement a large number of different string handling function. Strings can be copied, appended, or duplicated with a variety of different contents. Strings can be extracted under sophisticated directives, or split, or replaced. Some number conversion functions are also available that support suffix multipliers or arithmetic expressions.  more...
time
These functions implement a large number of different date and time conversions for a variety of date and time storage formats.  more...
trace
These functions implement a simple tracing facility which can be compiled in or out by selection of a header file to include, or by environment variables at run time.  more...
vrb
These functions implement a basic virtual ring buffer system which allows the caller to put data in, and take data out, of a ring buffer, and always access the data directly in the buffer contiguously, without the caller or the functions doing any data copying to accomplish it.  more...