2011-04-16 15:30:03 +00:00
|
|
|
/* this is needed to compile the library, not to use it */
|
|
|
|
|
2011-04-22 15:09:32 +00:00
|
|
|
#ifndef PSYC_LIB_H
|
|
|
|
# define PSYC_LIB_H
|
|
|
|
|
2011-04-16 15:30:03 +00:00
|
|
|
#include "../psyc.h"
|
|
|
|
#include "./debug.h"
|
2011-04-24 16:11:57 +00:00
|
|
|
#include <sys/cdefs.h>
|
2011-04-16 15:30:03 +00:00
|
|
|
|
|
|
|
/* perlisms for readability */
|
|
|
|
#define unless(COND) if (!(COND))
|
|
|
|
#define until(COND) while (!(COND))
|
|
|
|
|
2011-04-24 16:11:57 +00:00
|
|
|
#if !defined(_GNU_SOURCE) && !defined(__FBSDID)
|
|
|
|
void * memmem(const void *l, size_t l_len, const void *s, size_t s_len);
|
2011-04-20 20:22:55 +00:00
|
|
|
#endif
|
|
|
|
|
2011-04-22 15:09:32 +00:00
|
|
|
#endif // PSYC_LIB_H
|