gpg-interface.hon commit log: teach --invert-grep option (22dfa8a)
   1#ifndef GPG_INTERFACE_H
   2#define GPG_INTERFACE_H
   3
   4struct signature_check {
   5        char *payload;
   6        char *gpg_output;
   7        char *gpg_status;
   8        char result; /* 0 (not checked),
   9                      * N (checked but no further result),
  10                      * U (untrusted good),
  11                      * G (good)
  12                      * B (bad) */
  13        char *signer;
  14        char *key;
  15};
  16
  17extern void signature_check_clear(struct signature_check *sigc);
  18extern int sign_buffer(struct strbuf *buffer, struct strbuf *signature, const char *signing_key);
  19extern 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);
  20extern int git_gpg_config(const char *, const char *, void *);
  21extern void set_signing_key(const char *);
  22extern const char *get_signing_key(void);
  23
  24#endif