ReactOS 0.4.15-dev-8434-g155a7c7
checkerr.h File Reference
#include <schily/mconfig.h>
#include <schily/standard.h>
#include <schily/utypes.h>
Include dependency graph for checkerr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define E_STAT   0x0001 /* Could not stat(2) file */
 
#define E_GETACL   0x0002 /* Could not retrieve ACL info */
 
#define E_OPEN   0x0004 /* Could not open file */
 
#define E_READ   0x0008 /* Could not read file */
 
#define E_WRITE   0x0010 /* Could not write file */
 
#define E_GROW   0x0020 /* File did grow during backup */
 
#define E_SHRINK   0x0040 /* File did shrink during backup */
 
#define E_MISSLINK   0x0080 /* Missing hard link(s) for file */
 
#define E_NAMETOOLONG   0x0100 /* File name too long for archive */
 
#define E_FILETOOBIG   0x0200 /* File too big for archive */
 
#define E_SPECIALFILE   0x0400 /* Improper file type for archive */
 
#define E_READLINK   0x0800 /* Could not read symbolic link */
 
#define E_GETXATTR   0x1000 /* Could not get xattr */
 
#define E_CHDIR   0x2000 /* Could not chdir() */
 
#define E_SETTIME   0x10000 /* Could not set file times */
 
#define E_SETMODE   0x20000 /* Could not set access modes */
 
#define E_SECURITY   0x40000 /* Skipped for security reasons */
 
#define E_LSECURITY   0x80000 /* Link skipped for security */
 
#define E_SAMEFILE   0x100000 /* Skipped from/to identical */
 
#define E_BADACL   0x200000 /* ACL string conversion error */
 
#define E_SETACL   0x400000 /* Could not set ACL for file */
 
#define E_SETXATTR   0x800000 /* Could not set xattr */
 
#define E_DIFF   0x10000000 /* Diffs encountered */
 
#define E_WARN   0x20000000 /* Print this error but do exit(0) */
 
#define E_ABORT   0x40000000 /* Abort on this error */
 
#define E_EXT   0x80000000 /* Extended (TBD later) */
 
#define E_ALL   (~(UInt32_t)(E_DIFF|E_ABORT))
 

Functions

int errconfig __PR ((char *name))
 
BOOL errhidden __PR ((int etype, const char *fname))
 
BOOL errabort __PR ((int etype, const char *fname, BOOL doexit))
 

Macro Definition Documentation

◆ E_ABORT

#define E_ABORT   0x40000000 /* Abort on this error */

Definition at line 80 of file checkerr.h.

◆ E_ALL

#define E_ALL   (~(UInt32_t)(E_DIFF|E_ABORT))

Definition at line 83 of file checkerr.h.

◆ E_BADACL

#define E_BADACL   0x200000 /* ACL string conversion error */

Definition at line 70 of file checkerr.h.

◆ E_CHDIR

#define E_CHDIR   0x2000 /* Could not chdir() */

Definition at line 59 of file checkerr.h.

◆ E_DIFF

#define E_DIFF   0x10000000 /* Diffs encountered */

Definition at line 78 of file checkerr.h.

◆ E_EXT

#define E_EXT   0x80000000 /* Extended (TBD later) */

Definition at line 81 of file checkerr.h.

◆ E_FILETOOBIG

#define E_FILETOOBIG   0x0200 /* File too big for archive */

Definition at line 55 of file checkerr.h.

◆ E_GETACL

#define E_GETACL   0x0002 /* Could not retrieve ACL info */

Definition at line 47 of file checkerr.h.

◆ E_GETXATTR

#define E_GETXATTR   0x1000 /* Could not get xattr */

Definition at line 58 of file checkerr.h.

◆ E_GROW

#define E_GROW   0x0020 /* File did grow during backup */

Definition at line 51 of file checkerr.h.

◆ E_LSECURITY

#define E_LSECURITY   0x80000 /* Link skipped for security */

Definition at line 68 of file checkerr.h.

◆ E_MISSLINK

#define E_MISSLINK   0x0080 /* Missing hard link(s) for file */

Definition at line 53 of file checkerr.h.

◆ E_NAMETOOLONG

#define E_NAMETOOLONG   0x0100 /* File name too long for archive */

Definition at line 54 of file checkerr.h.

◆ E_OPEN

#define E_OPEN   0x0004 /* Could not open file */

Definition at line 48 of file checkerr.h.

◆ E_READ

#define E_READ   0x0008 /* Could not read file */

Definition at line 49 of file checkerr.h.

◆ E_READLINK

#define E_READLINK   0x0800 /* Could not read symbolic link */

Definition at line 57 of file checkerr.h.

◆ E_SAMEFILE

#define E_SAMEFILE   0x100000 /* Skipped from/to identical */

Definition at line 69 of file checkerr.h.

◆ E_SECURITY

#define E_SECURITY   0x40000 /* Skipped for security reasons */

Definition at line 67 of file checkerr.h.

◆ E_SETACL

#define E_SETACL   0x400000 /* Could not set ACL for file */

Definition at line 71 of file checkerr.h.

◆ E_SETMODE

#define E_SETMODE   0x20000 /* Could not set access modes */

Definition at line 66 of file checkerr.h.

◆ E_SETTIME

#define E_SETTIME   0x10000 /* Could not set file times */

Definition at line 65 of file checkerr.h.

◆ E_SETXATTR

#define E_SETXATTR   0x800000 /* Could not set xattr */

Definition at line 72 of file checkerr.h.

◆ E_SHRINK

#define E_SHRINK   0x0040 /* File did shrink during backup */

Definition at line 52 of file checkerr.h.

◆ E_SPECIALFILE

#define E_SPECIALFILE   0x0400 /* Improper file type for archive */

Definition at line 56 of file checkerr.h.

◆ E_STAT

#define E_STAT   0x0001 /* Could not stat(2) file */

Definition at line 46 of file checkerr.h.

◆ E_WARN

#define E_WARN   0x20000000 /* Print this error but do exit(0) */

Definition at line 79 of file checkerr.h.

◆ E_WRITE

#define E_WRITE   0x0010 /* Could not write file */

Definition at line 50 of file checkerr.h.

Function Documentation

◆ __PR() [1/3]

int errconfig __PR ( (char *name )

◆ __PR() [2/3]

BOOL errhidden __PR ( (int etype, const char *fname)  )

◆ __PR() [3/3]

BOOL errabort __PR ( (int etype, const char *fname, BOOL doexit)  )