More replacement of hard-coded exit status bitmask values with named constants.

This commit is contained in:
Andrew Wood
2024-06-08 21:57:36 +01:00
parent 1c61154206
commit 01e0290d6e
3 changed files with 23 additions and 23 deletions
+7 -7
View File
@@ -26,13 +26,13 @@ extern "C" {
/*
* Exit status bitmask values.
*/
#define PV_ERROREXIT_REMOTE 1
#define PV_ERROREXIT_ACCESS 2
#define PV_ERROREXIT_OUROBOROS 4
#define PV_ERROREXIT_TRANSITION 8
#define PV_ERROREXIT_TRANSFER 16
#define PV_ERROREXIT_SIGNAL 32
#define PV_ERROREXIT_MEMORY 64
#define PV_ERROREXIT_REMOTE_OR_PID 1
#define PV_ERROREXIT_ACCESS 2
#define PV_ERROREXIT_OUROBOROS 4
#define PV_ERROREXIT_TRANSITION 8
#define PV_ERROREXIT_TRANSFER 16
#define PV_ERROREXIT_SIGNAL 32
#define PV_ERROREXIT_MEMORY 64
/*
* Opaque structure for PV internal state.