ref: dec1b83948f5021a8fea7e40ff14cb2749336491
parent: 1bb60e045eb1e64864dfc16e4356f134353bc331
author: mkf <mkf@cloud9p.org>
date: Sat Dec 2 19:03:15 EST 2023
err.h: add user related errors
--- a/include/err.h
+++ b/include/err.h
@@ -4,6 +4,7 @@
OK = 0,
/* you don't want these mass up with your values */
+ /* files */
PERM_DENIED = -128,
NAME_TOO_LONG,
NO_SUCH_FILE,
@@ -18,4 +19,13 @@
NO_SUCH_CMD,
USAGE,
+
+ /* users */
+ NO_SUCH_USER,
+ INVALID_USERNAME,
+ INCORRECT_PASSWD,
+ INVALID_PASSWD,
+ AUTH_FAILED,
+
+ OVERFLOW,
}err;