summaryrefslogtreecommitdiffstats
path: root/sm/gpgsm.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2001-12-06 00:48:01 +0100
committerWerner Koch <wk@gnupg.org>2001-12-06 00:48:01 +0100
commite8676a0871990934ef2e14e527e7ff3d2edae169 (patch)
tree89111ca49210ac09036afb966687db07f2be10f6 /sm/gpgsm.h
parentNew error codes and another mapping fnc. (diff)
downloadgnupg2-e8676a0871990934ef2e14e527e7ff3d2edae169.tar.xz
gnupg2-e8676a0871990934ef2e14e527e7ff3d2edae169.zip
Started with decryption stuff
Diffstat (limited to 'sm/gpgsm.h')
-rw-r--r--sm/gpgsm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sm/gpgsm.h b/sm/gpgsm.h
index 7655eae47..14c5683a6 100644
--- a/sm/gpgsm.h
+++ b/sm/gpgsm.h
@@ -146,7 +146,6 @@ int gpgsm_validate_path (KsbaCert cert);
/*-- keylist.c --*/
void gpgsm_list_keys (CTRL ctrl, STRLIST names, FILE *fp);
-
/*-- import.c --*/
int gpgsm_import (CTRL ctrl, int in_fd);
@@ -156,6 +155,11 @@ int gpgsm_verify (CTRL ctrl, int in_fd, int data_fd);
/*-- sign.c --*/
int gpgsm_sign (CTRL ctrl, int data_fd, int detached, FILE *out_fp);
+/*-- encrypt.c --*/
+int gpgsm_encrypt (CTRL ctrl, int in_fd, FILE *out_fp);
+
+/*-- decrypt.c --*/
+int gpgsm_decrypt (CTRL ctrl, int in_fd, FILE *out_fp);
/*-- call-agent.c --*/
int gpgsm_agent_pksign (const char *keygrip,