aboutsummaryrefslogtreecommitdiffstats
path: root/common/sexp-parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/sexp-parse.h')
-rw-r--r--common/sexp-parse.h23
1 files changed, 16 insertions, 7 deletions
diff --git a/common/sexp-parse.h b/common/sexp-parse.h
index 008c2d221..f68c552d8 100644
--- a/common/sexp-parse.h
+++ b/common/sexp-parse.h
@@ -1,14 +1,22 @@
-/* sexp-parse.h - S-Exp helper functions
+/* sexp-parse.h - S-expression helper functions
* Copyright (C) 2002, 2003, 2007 Free Software Foundation, Inc.
*
- * This file is part of GnuPG.
+ * This file is free software; you can redistribute it and/or modify
+ * it under the terms of either
*
- * GnuPG 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 3 of the License, or
- * (at your option) any later version.
+ * - the GNU Lesser General Public License as published by the Free
+ * Software Foundation; either version 3 of the License, or (at
+ * your option) any later version.
*
- * GnuPG is distributed in the hope that it will be useful,
+ * or
+ *
+ * - 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.
+ *
+ * or both in parallel, as here.
+ *
+ * This file 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.
@@ -22,6 +30,7 @@
#include <gpg-error.h>
+
/* Return the length of the next S-Exp part and update the pointer to
the first data byte. 0 is returned on error */
static inline size_t