t/send-email: add test with quoted sender
[git/mjg.git] / gpg-interface.h
blobcf9902184272d20c6d5826cf9f10dcaebeb3e6e8
1 #ifndef GPG_INTERFACE_H
2 #define GPG_INTERFACE_H
4 extern int sign_buffer(struct strbuf *buffer, struct strbuf *signature, const char *signing_key);
5 extern int verify_signed_buffer(const char *payload, size_t payload_size, const char *signature, size_t signature_size, struct strbuf *gpg_output, struct strbuf *gpg_status);
6 extern int git_gpg_config(const char *, const char *, void *);
7 extern void set_signing_key(const char *);
8 extern const char *get_signing_key(void);
10 #endif