Page MenuHome GnuPG

No OneTemporary

diff --git a/src/rfc2047parse.h b/src/rfc2047parse.h
index 593b6fd..f5c9af5 100644
--- a/src/rfc2047parse.h
+++ b/src/rfc2047parse.h
@@ -1,31 +1,44 @@
+#ifndef SRC_RFC2047PARSE_H
+#define SRC_RFC2047PARSE_H
/* @file rfc2047parse.h
* @brief Parser for filenames encoded according to rfc2047
*
* Copyright (C) 2015 Intevation GmbH
*
* This file is part of GpgOL.
*
* GpgOL 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.
*
* GpgOL 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 this program; if not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef __cplusplus
+extern "C" {
+#if 0
+}
+#endif
+#endif
+
/** @brief Try to parse a string according to rfc2047.
*
* On error the error is logged and a copy of the original
* input string returned.
*
* @returns a malloced string in UTF-8 encoding or a copy
* of the input string.
*/
char *
rfc2047_parse (const char *input);
+#ifdef __cplusplus
+}
+#endif
+#endif // SRC_RFC2047PARSE_H

File Metadata

Mime Type
text/x-diff
Expires
Sun, Jan 18, 11:27 PM (11 h, 53 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ea/a5/2c7416f57bff35f94e3abb16a2c0

Event Timeline