aboutsummaryrefslogtreecommitdiffstats
path: root/safepath.h
diff options
context:
space:
mode:
Diffstat (limited to 'safepath.h')
-rw-r--r--safepath.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/safepath.h b/safepath.h
index db83d4c..766a163 100644
--- a/safepath.h
+++ b/safepath.h
@@ -41,6 +41,7 @@ enum {
SAFEPATH_UNSAFE, /* path traversible, unsafe */
SAFEPATH_PERM, /* path not traversible due to perms */
SAFEPATH_NOENT, /* component other than last doesn't exist */
+ SAFEPATH_NOTDIR, /* interior path component isn't a directory */
SAFEPATH_INVAL, /* path is invalid */
SAFEPATH_NOMEM, /* out of memory */
SAFEPATH_LOOP, /* more than 8 levels of symlink */