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 766a163..99786b1 100644
--- a/safepath.h
+++ b/safepath.h
@@ -45,6 +45,7 @@ enum {
SAFEPATH_INVAL, /* path is invalid */
SAFEPATH_NOMEM, /* out of memory */
SAFEPATH_LOOP, /* more than 8 levels of symlink */
+ SAFEPATH_TOOLONG, /* component or symlink target too long */
};
int safepath_check(const char *name);