summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1998-02-02 15:36:06 +0100
committerWerner Koch <wk@gnupg.org>1998-02-02 15:36:06 +0100
commitc8f12e218f81f9211920b6fe50a786b617a2aeae (patch)
treed042319be043090b02df4396c9880398b2b831ea /include
parentauf tobold (diff)
downloadgnupg2-c8f12e218f81f9211920b6fe50a786b617a2aeae.tar.xz
gnupg2-c8f12e218f81f9211920b6fe50a786b617a2aeae.zip
changed structure of trustdb
Diffstat (limited to 'include')
-rw-r--r--include/i18n.h6
-rw-r--r--include/mpi.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/include/i18n.h b/include/i18n.h
index a75f3c40f..55911b474 100644
--- a/include/i18n.h
+++ b/include/i18n.h
@@ -21,8 +21,12 @@
#ifndef G10_I18N_H
#define G10_I18N_H
-#ifdef HAVE_LIBINTL
+#ifdef ENABLE_NLS
+#ifdef HAVE_LIBINTL_H
#include <libintl.h>
+#else
+ #include "../intl/libintl.h"
+#endif
#define _(a) gettext (a)
#ifdef gettext_noop
#define N_(a) gettext_noop (a)
diff --git a/include/mpi.h b/include/mpi.h
index 7a43b3018..1354dda4c 100644
--- a/include/mpi.h
+++ b/include/mpi.h
@@ -78,6 +78,8 @@ typedef struct mpi_struct {
void mpi_resize( MPI a, unsigned nlimbs );
MPI mpi_copy( MPI a );
#endif
+#define mpi_is_secure(a) ((a) && (a)->secure)
+void mpi_set_secure( MPI a );
void mpi_clear( MPI a );
void mpi_set( MPI w, MPI u);
void mpi_set_ui( MPI w, ulong u);