[go: up one dir, main page]

File: suckutils.h

package info (click to toggle)
suck 4.3.2-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,180 kB
  • ctags: 1,133
  • sloc: ansic: 12,143; perl: 538; makefile: 400; sh: 363; java: 144
file content (18 lines) | stat: -rw-r--r-- 601 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _SUCK_SUCKUTILS_H
#define _SUCK_SUCKUTILS_H 1
 
int checkdir(const char *);
const char *full_path(int, int, const char *);
int qcmp_msgid(const char *, const char *);
int cmp_msgid(const char *, const char *);
int move_file(const char *, const char *);

#ifdef LOCKFILE
int do_lockfile(PMaster);
#endif

enum { FP_SET, FP_GET, FP_SET_POSTFIX, FP_GET_NOPOSTFIX, FP_GET_POSTFIX}; /* get or set call for full_path() */
enum { FP_TMPDIR, FP_DATADIR, FP_MSGDIR, FP_NONE };	  /* which dir in full_path() */
#define FP_NR_DIRS 3					 /* this must match nr of enums */

#endif /* _SUCK_SUCKUTILS_H */