File: errors.h

package info (click to toggle)
twoftpd 1.14-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,556 kB
  • ctags: 901
  • sloc: ansic: 6,685; makefile: 321; sh: 175
file content (19 lines) | stat: -rw-r--r-- 416 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef CVM__ERRORS__H__
#define CVM__ERRORS__H__

#define CVME_GENERAL 1
#define CVME_BAD_CLIDATA 2
#define CVME_BAD_MODDATA 3
#define CVME_IO 4
#define CVME_NOFACT 5
#define CVME_CONFIG 6
#define CVME_NOCRED 7
#define CVME_PERMFAIL 100

/* This error code is only used by modules, to signal that the error
   is fatal and should cause module shutdown. */
#define CVME_FATAL 0x100

#define CVME_MASK  0x0ff

#endif