diff options
author | Werner Koch <wk@gnupg.org> | 2001-12-06 00:48:01 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2001-12-06 00:48:01 +0100 |
commit | e8676a0871990934ef2e14e527e7ff3d2edae169 (patch) | |
tree | 89111ca49210ac09036afb966687db07f2be10f6 /sm/gpgsm.h | |
parent | New error codes and another mapping fnc. (diff) | |
download | gnupg2-e8676a0871990934ef2e14e527e7ff3d2edae169.tar.xz gnupg2-e8676a0871990934ef2e14e527e7ff3d2edae169.zip |
Started with decryption stuff
Diffstat (limited to 'sm/gpgsm.h')
-rw-r--r-- | sm/gpgsm.h | 6 |
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, |