summaryrefslogtreecommitdiffstats
path: root/xmlsecurity/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-24 10:47:54 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-25 08:52:55 +0100
commitec52e5e5a204862905b555cdc1f7393aede1f7d8 (patch)
tree199c6c7e91bd530fd582260d25aca599c09c97d8 /xmlsecurity/inc
parentstricmp macro is unused (diff)
downloadcore-ec52e5e5a204862905b555cdc1f7393aede1f7d8.tar.gz
core-ec52e5e5a204862905b555cdc1f7393aede1f7d8.zip
Consolidate XMLSEC_NO_SIZE_T setting in xmlsecurity/xmlsec-wrapper.h
...so all xmlsec/*.h includes are bundled there now (except, for pragmatic reasons, the xmlsec/mscrypto/*.h ones that unconditionally include windows.h and only work on Windows). Change-Id: I33e642f4f6a2e40edd6950af7f209c8b76c6e5fe
Diffstat (limited to 'xmlsecurity/inc')
-rw-r--r--xmlsecurity/inc/xmlsecurity/xmlsec-wrapper.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/xmlsecurity/inc/xmlsecurity/xmlsec-wrapper.h b/xmlsecurity/inc/xmlsecurity/xmlsec-wrapper.h
new file mode 100644
index 000000000000..3289ccdb7938
--- /dev/null
+++ b/xmlsecurity/inc/xmlsecurity/xmlsec-wrapper.h
@@ -0,0 +1,46 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef INCLUDED_XMLSECURITY_XMLSEC_WRAPPER_H
+#define INCLUDED_XMLSECURITY_XMLSEC_WRAPPER_H
+
+#include "sal/config.h"
+
+#include "sal/types.h"
+
+// Cf. xmlsec's configure.in:
+#if SAL_TYPES_SIZEOFPOINTER != 4
+#define XMLSEC_NO_SIZE_T
+#endif
+
+#include "xmlsec/base64.h"
+#include "xmlsec/bn.h"
+#include "xmlsec/crypto.h"
+#include "xmlsec/errors.h"
+#include "xmlsec/io.h"
+#include "xmlsec/keysmngr.h"
+#include "xmlsec/strings.h"
+#include "xmlsec/xmldsig.h"
+#include "xmlsec/xmlenc.h"
+#include "xmlsec/xmlsec.h"
+#include "xmlsec/xmltree.h"
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */