aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-02-11 03:25:44 +0000
committerWerner Koch <[email protected]>1998-02-11 03:25:44 +0000
commit4c0c155922b70b62793905490e210e9af4e3b18d (patch)
treea0d8d84a89cfd4579817a993715e750917961c3e /include
parentrelease 0.2.3 (diff)
downloadgnupg-4c0c155922b70b62793905490e210e9af4e3b18d.tar.gz
gnupg-4c0c155922b70b62793905490e210e9af4e3b18d.zip
a couple of changes; but some parts are now broken
Diffstat (limited to 'include')
-rw-r--r--include/errors.h3
-rw-r--r--include/i18n.h4
-rw-r--r--include/iobuf.h1
-rw-r--r--include/mpi.h3
4 files changed, 11 insertions, 0 deletions
diff --git a/include/errors.h b/include/errors.h
index fcae69ec4..36aff5bd6 100644
--- a/include/errors.h
+++ b/include/errors.h
@@ -55,5 +55,8 @@
#define G10ERR_TRUSTDB 33 /* a problem with the trustdb */
#define G10ERR_BAD_CERT 34 /* bad certicate */
#define G10ERR_INV_USER_ID 35
+#define G10ERR_CLOSE_FILE 36
+#define G10ERR_RENAME_FILE 37
+#define G10ERR_DELETE_FILE 38
#endif /*G10_ERRORS_H*/
diff --git a/include/i18n.h b/include/i18n.h
index a75f3c40f..d43c078a6 100644
--- a/include/i18n.h
+++ b/include/i18n.h
@@ -21,6 +21,10 @@
#ifndef G10_I18N_H
#define G10_I18N_H
+#ifdef HAVE_LOCALE_H
+ #include <locale.h> /* suggested by Ernst Molitor */
+#endif
+
#ifdef HAVE_LIBINTL
#include <libintl.h>
#define _(a) gettext (a)
diff --git a/include/iobuf.h b/include/iobuf.h
index e5ce81a3f..a57d7a9ab 100644
--- a/include/iobuf.h
+++ b/include/iobuf.h
@@ -88,6 +88,7 @@ ulong iobuf_tell( IOBUF a );
int iobuf_seek( IOBUF a, ulong newpos );
int iobuf_readbyte(IOBUF a);
+int iobuf_read(IOBUF a, byte *buf, unsigned buflen );
int iobuf_writebyte(IOBUF a, unsigned c);
int iobuf_write(IOBUF a, byte *buf, unsigned buflen );
int iobuf_writestr(IOBUF a, const char *buf );
diff --git a/include/mpi.h b/include/mpi.h
index 1354dda4c..87bb05363 100644
--- a/include/mpi.h
+++ b/include/mpi.h
@@ -132,6 +132,9 @@ int mpi_gcd( MPI g, MPI a, MPI b );
void mpi_pow( MPI w, MPI u, MPI v);
void mpi_powm( MPI res, MPI base, MPI exp, MPI mod);
+/*-- mpi-mpow.c --*/
+void mpi_mulpowm( MPI res, MPI *basearray, MPI *exparray, MPI mod);
+
/*-- mpi-cmp.c --*/
int mpi_cmp_ui( MPI u, ulong v );
int mpi_cmp( MPI u, MPI v );