Skip to content
libfuncs is collection of code (list, queue, circular buffer, io, logging, etc.).
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE-MIT.txt
Makefile
README
TODO
asyncdns.c
asyncdns.h
cbuf.c
cbuf.h
http_response.c
http_response.h
io.c
io.h
libfuncs.h
list.c
list.h
log.c
log.h
misc.c
misc.h
queue.c
queue.h
server.c
server.h

README

libfuncs
========
You won't find anything earth shattering here. It is just a bunch
of code that was used all over my projects, so I just extracted it
into a self contained library suitable for static compilation and
decided to release it. You'll probably find better list functions,
queue functions and just about anything than what it is here, so
be warned. The code works and it is used in production, but it is
not pretty, documented or portable. Developed and tested in Linux
environment only with very rare compilation tests under FreeBSD.

Using it
========
Clone or download libfuncs in a directory in your source tree and
look at the example Makefile bellow:

---
FUNCS_DIR = libfuncs
FUNCS_LIB = $(FUNCS_DIR)/libfuncs.a

all: prog

prog_OBJS = main.o $(FUNCS_LIB)

$(FUNCS_LIB):
	$(MAKE) -s -C $(FUNCS_DIR)

prog: $(prog_OBJS)
	$(CC) $(CFLAGS) $(prog_OBJS) -o prog
---

In every C file that you need to use it, add

#include "libfuncs/libfuncs.h"

Documentation
=============
There isn't any. I'm too lazy to write proper docs. Maybe some day but
until then just look at the header files.

Development
===========
The development is tracked using git. The repository is hosted at github
to get it, run the following command:

   git clone git://github.com/gfto/libfuncs.git

Releases
========
Official releases can be downloaded from libfuncs home page which is

   http://georgi.unixsol.org/programs/libfuncs/

Contact
=======
For patches, bug reports, complaints and so on send e-mail to

   Georgi Chorbadzhiyski <georgi@unixsol.org>
You can’t perform that action at this time.