]> git.tuebingen.mpg.de Git - adu.git/blobdiff - error.h
user.c: Add some more source code documentation.
[adu.git] / error.h
diff --git a/error.h b/error.h
index 00fbbc867dd4d488c4886283c391950d4fcb7f34..9874003903b202fceecb53ee318cc3e1982419df 100644 (file)
--- a/error.h
+++ b/error.h
@@ -1,3 +1,9 @@
+/*
+ * Copyright (C) 2008 Andre Noll <maan@systemlinux.org>
+ *
+ * Licensed under the GPL v2. For licencing details see COPYING.
+ */
+
 /**
  * This bit indicates whether a number is considered a system error code.
  * If yes, the system errno is just the result of clearing this bit from
@@ -32,6 +38,8 @@
        _ERROR(UNIT, "no unit allowed here") \
        _ERROR(BAD_UNIT, "invalid unit specifier") \
        _ERROR(BAD_ATOM, "invalid atom") \
+       _ERROR(BAD_OUTPUT_ARG, "invalid name for output") \
+       _ERROR(REGEX, "regular expression error")
 
 
 /**