File: errors.h

package info (click to toggle)
cvm 0.11-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 492 kB
  • ctags: 215
  • sloc: ansic: 1,777; makefile: 48; sh: 12
file content (17 lines) | stat: -rw-r--r-- 393 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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_PERMFAIL 100

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

#endif