Mercurial > dovecot > core-2.2
view src/lib/lib.h @ 0:3b1985cbc908 HEAD
Initial revision
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 09 Aug 2002 12:15:38 +0300 |
parents | |
children | d493b9cc265e |
line wrap: on
line source
#ifndef __LIB_H #define __LIB_H /* default system includes - keep these at minimum.. */ #include <string.h> /* strcmp() etc. */ #include <stdarg.h> /* va_list is used everywhere */ #include <errno.h> /* error checking is good */ #include <sys/types.h> /* many other includes want this */ typedef struct _IOLoop *IOLoop; typedef struct _IO *IO; typedef struct _Timeout *Timeout; typedef struct _IPADDR IPADDR; typedef struct _IOBuffer IOBuffer; typedef struct _TempString TempString; /* default lib includes */ #ifdef HAVE_CONFIG_H # include "../../config.h" #endif #include "compat.h" #include "macros.h" #include "failures.h" #include "mempool.h" #include "temp-mempool.h" #include "imem.h" #include "strfuncs.h" unsigned int nearest_power(unsigned int num); void lib_init(void); void lib_deinit(void); #endif