web developer & system programmer

coder . cl

ramblings and thoughts on programming...

caffeine

published: 22-03-2009 / updated: 22-03-2009
by Daniel Molina Wegener
caffeine



overview

caffeine is a C language based framework which uses C99, POSIX and SUSv3 standards, and system specific system calls — Linux and FreeBSD for now — to support the development of daemons and services. The idea is to have predefined algorithms to help you in some tasks for building your own daemons, command line applications and complex tasks such as integrating plugin interfaces to your applications. The concrete goal of this project is to implement most common algorithms to develop service oriented applications.



features

  • Process pool support
  • Thread pool support
  • Static state machine support
  • Dynamic state machine support
  • Loadable state machine support
  • Dynamic shared object support
  • Deque support
  • Linked list support
  • Circular list support
  • Hash table support
  • Asynchronous I/O support
  • File descriptor events support
  • Buffer management support
  • SysV IPC support



donations

Support this project by donating through PayPal:





Also I can receive donations in books & hardware, just use the Contact Form to let you know how to donate.



download

You can download caffeine from the github repository.



license


  Caffeine - C Application Framework
  Copyright (C) 2006 Daniel Molina Wegener <dmw arroba coder dot cl>

  This library is free software; you can redistribute it and/or
  modify it under the terms of the GNU Lesser General Public
  License as published by the Free Software Foundation; either
  version 2.1 of the License, or (at your option) any later version.

  This library is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  Lesser General Public License for more details.

  You should have received a copy of the GNU Lesser General Public
  License along with this library; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  MA 02110-1301 USA