1 #ifndef _SUCK_SUCKUTILS_H
2 #define _SUCK_SUCKUTILS_H 1
3 
4 int checkdir(const char *);
5 const char *full_path(int, int, const char *);
6 int qcmp_msgid(const char *, const char *);
7 int cmp_msgid(const char *, const char *);
8 int move_file(const char *, const char *);
9 
10 #ifdef LOCKFILE
11 int do_lockfile(PMaster);
12 #endif
13 
14 enum { FP_SET, FP_GET, FP_SET_POSTFIX, FP_GET_NOPOSTFIX, FP_GET_POSTFIX}; /* get or set call for full_path() */
15 enum { FP_TMPDIR, FP_DATADIR, FP_MSGDIR, FP_NONE };	  /* which dir in full_path() */
16 #define FP_NR_DIRS 3					 /* this must match nr of enums */
17 
18 #endif /* _SUCK_SUCKUTILS_H */
19