File: err.h

package info (click to toggle)
ocp 1%3A0.1.21-1.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 5,344 kB
  • ctags: 7,862
  • sloc: ansic: 91,449; cpp: 9,729; sh: 3,119; makefile: 2,482
file content (30 lines) | stat: -rw-r--r-- 460 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef __ERR_H
#define __ERR_H

enum
{
  errOk=0,
  errGen=-1,
  errAllocMem=-9,
  errAllocSamp=-10,
  errFileOpen=-17,
  errFileRead=-18,
  errFileWrite=-19,
  errFileMiss=-20,
  errFormStruc=-25,
  errFormSig=-26,
  errFormOldVer=-27,
  errFormNewVer=-28,
  errFormSupp=-29,
  errFormMiss=-30,
  errPlay=-33,
  errSymSym=-41,
  errSymMod=-42,

  errHelpPrinted=-100
};

const char *errGetShortString(int err);
const char *errGetLongString(int err);

#endif