rp

simple email tools
git clone https://git.parazyd.org/rp
Log | Files | Refs | README | LICENSE

ind.h (439B)


      1 /* See LICENSE file for copyright and license details */
      2 
      3 #ifndef __RPIND_H__
      4 #define __RPIND_H__
      5 
      6 #define nelem(x) (sizeof(x) / sizeof((x)[0]))
      7 
      8 #include <stdarg.h>
      9 
     10 #define MAXLINESIZE 1048576
     11 
     12 void edie(char *fmt, ...);
     13 void die(char *fmt, ...);
     14 void info(char *fmt, ...);
     15 
     16 void *reallocz(void *p, int l, int z);
     17 void *mallocz(int l, int z);
     18 void *memdup(void *p, int l);
     19 
     20 void *vsmprintf(char *fmt, va_list fmtargs, int size);
     21 
     22 #endif