aboutsummaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sm/gpgsm.h')
-rw-r--r--sm/gpgsm.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/sm/gpgsm.h b/sm/gpgsm.h
index ac169336a..1c66e1032 100644
--- a/sm/gpgsm.h
+++ b/sm/gpgsm.h
@@ -23,6 +23,19 @@
#include "util.h"
+/* Error numbers */
+enum {
+ GPGSM_EOF = -1,
+ GPGSM_No_Error = 0,
+ GPGSM_General_Error = 1,
+ GPGSM_Out_Of_Core = 2,
+ GPGSM_Invalid_Value = 3,
+ GPGSM_IO_Error = 4,
+
+
+};
+
+
/* A large struct name "opt" to keep global flags */
struct {
unsigned int debug; /* debug flags (DBG_foo_VALUE) */
@@ -83,4 +96,7 @@ void gpgsm_exit (int rc);
void gpgsm_server (void);
+/*-- import.c --*/
+int gpgsm_import (int in_fd);
+
#endif /*GPGSM_H*/