aboutsummaryrefslogtreecommitdiffstats
path: root/src/err-codes.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/err-codes.h.in')
-rw-r--r--src/err-codes.h.in50
1 files changed, 27 insertions, 23 deletions
diff --git a/src/err-codes.h.in b/src/err-codes.h.in
index 708a82e..982005b 100644
--- a/src/err-codes.h.in
+++ b/src/err-codes.h.in
@@ -1,27 +1,31 @@
-# List of error codes and their description.
-# Copyright (C) 2003 g10 Code GmbH
-#
-# This file is part of libgpg-error.
-#
-# libgpg-error is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# libgpg-error is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+# err-codes.h.in - List of error codes and their description input file.
+/* err-codes.h - List of error codes and their description.
+ Copyright (C) 2003 g10 Code GmbH
-# Empty lines are ignored. Other lines must have an error code
-# number, followed by exactly one <tab>, followed by the error
-# message. Trailing whitespace is removed. The error codes should be
-# sorted. The last line should not have a number, but only a <tab>,
-# followed by a description for error codes that are not in the list.
+ This file is part of libgpg-error.
+
+ libgpg-error is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public License
+ as published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ libgpg-error is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with libgpgme-error; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA. */
+
+# Everything up to the first line that starts with a number in the
+# first column is copied into the output verbatim. Then, empty lines
+# are ignored. Other lines must have an error code number, followed
+# by exactly one <tab>, followed by the error message. Trailing
+# whitespace is removed. The error codes should be sorted. The last
+# line should not have a number, but only a <tab>, followed by a
+# description for error codes that are not in the list.
0 Success
1 General error