File: constants-error-code.h

package info (click to toggle)
libgit-raw-perl 0.79-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 1,448 kB
  • sloc: perl: 5,267; ansic: 182; makefile: 6
file content (60 lines) | stat: -rw-r--r-- 1,496 bytes parent folder | download | duplicates (2)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60

#undef ERROR
#undef PASSTHROUGH
#undef CALLBACK
#undef EAUTH

/* remap libgit2 error enum's to defines */

#define OK                GIT_OK
#define ERROR             GIT_ERROR
#define ENOTFOUND         GIT_ENOTFOUND
#define EEXISTS           GIT_EEXISTS
#define EAMBIGUOUS        GIT_EAMBIGUOUS
#define EBUFS             GIT_EBUFS
#define EBAREREPO         GIT_EBAREREPO
#define EUNBORNBRANCH     GIT_EUNBORNBRANCH
#define EUNMERGED         GIT_EUNMERGED
#define ENONFASTFORWARD   GIT_ENONFASTFORWARD
#define EINVALIDSPEC      GIT_EINVALIDSPEC
#define ECONFLICT         GIT_ECONFLICT
#define ELOCKED           GIT_ELOCKED
#define EMODIFIED         GIT_EMODIFIED
#define EAUTH             GIT_EAUTH
#define ECERTIFICATE      GIT_ECERTIFICATE
#define EAPPLIED          GIT_EAPPLIED
#define EPEEL             GIT_EPEEL
#define EEOF              GIT_EEOF
#define EINVALID          GIT_EINVALID
#define EUNCOMMITTED      GIT_EUNCOMMITTED
#define EDIRECTORY        GIT_EDIRECTORY
#define EMERGECONFLICT    GIT_EMERGECONFLICT
#define PASSTHROUGH       GIT_PASSTHROUGH

#include "const-c-error.inc"

#undef OK
#undef ERROR
#undef ENOTFOUND
#undef EEXISTS
#undef EAMBIGUOUS
#undef EBUFS
#undef EBAREREPO
#undef EUNBORNBRANCH
#undef EUNMERGED
#undef ENONFASTFORWARD
#undef EINVALIDSPEC
#undef ECONFLICT
#undef ELOCKED
#undef EMODIFIED
#undef EAUTH
#undef ECERTIFICATE
#undef EAPPLIED
#undef EPEEL
#undef EEOF
#undef EINVALID
#undef EUNCOMMITTED
#undef EDIRECTORY
#undef EMERGECONFLICT
#undef PASSTHROUGH