t/helper: add a test helper to compute hash speed
[gitweb.git] / gpg-interface.h
index 2c40a9175fe90673d7cc4ba7a108936d02b5a743..acf50c46109e57bcc7809ab394c73a4d050ad9f0 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef GPG_INTERFACE_H
 #define GPG_INTERFACE_H
 
+struct strbuf;
+
 #define GPG_VERIFY_VERBOSE             1
 #define GPG_VERIFY_RAW                 2
 #define GPG_VERIFY_OMIT_STATUS 4
@@ -31,9 +33,7 @@ void signature_check_clear(struct signature_check *sigc);
  * offset where the embedded detached signature begins, or the end of
  * the data when there is no such signature.
  */
-size_t parse_signature(const char *buf, unsigned long size);
-
-void parse_gpg_output(struct signature_check *);
+size_t parse_signature(const char *buf, size_t size);
 
 /*
  * Create a detached signature for the contents of "buffer" and append