Qsmtp  0.23svn
include/control.h
Go to the documentation of this file.
00001 
00004 #ifndef CONTROL_H
00005 #define CONTROL_H
00006 
00007 #include <sys/types.h>
00008 
00009 typedef int (*checkfunc)(const char *);
00010 
00011 extern size_t lloadfilefd(int, char **, const int striptab) __attribute__ ((nonnull (2)));
00012 extern int loadintfd(int, unsigned long *, const unsigned long def) __attribute__ ((nonnull (2)));
00013 extern size_t loadoneliner(const char *, char **, const int optional) __attribute__ ((nonnull (1, 2)));
00014 extern size_t loadonelinerfd(int fd, char **buf) __attribute__ ((nonnull (2)));
00015 extern int loadlistfd(int, char **, char ***, checkfunc) __attribute__ ((nonnull (2, 3)));
00016 extern int finddomainfd(int, const char *, const int) __attribute__ ((nonnull (2)));
00017 extern int finddomainmm(const char *, const off_t, const char *) __attribute__ ((nonnull (3)));
00018 
00019 #endif