Stable code


This page is a "portal" for all the (L)GPL'd code I've done which is stable enough that you might want to use it.
  • And-httpd a HTTPD/1.1 server: Should be conditionally rfc2616 compliant, secure and very fast. Requires vstr, socket_poll, timer_q.

  • ustr: This is an extremely low overhead string library for C, it's been designed to make integrating a string library into any C project easy. The default overhead over using plain strdup("a") is 4 used bytes (on i386 or x86-64), and for this you get reference counted length managed strings. This overhead grows to 5 used bytes for 256 byte strings, and 7 bytes for 65,536 character strings.

  • Vstr: This is a general purpose string library for C, it's been designed to make getting data from/to network fds as easy as possible and for it to be very quick. It also tries to be small.

  • twocan: A "talker" server I helped write (this now uses a couple of the libraries below, although it includes them in the package so you don't need to install them to try it).

  • timer_q: The first of a set of shared libraries that I'm writing. This one implements a timer queue, so you can set a function to go off at a certain time and then forget about it.

  • socket_poll: The second of a set of shared libraries that I'm writing. This one implements socket polling, so you can have a whole bunch of file descriptors (or sockets) open and multiplex data between them.

  • imgconvert: This is a hacked version of imgconvert version 0.2 by Garrett LeSage. The main difference is that it handles spaces etc. in file names.

Click HERE for my main page


James Antill
Last modified: Mon Jun 25 02:37:01 EDT 2007