Standardize progress callback for dhparam, dsaparam, etc.
[openssl.git] / apps / include / apps.h
index f06d01cd37b15831a35e4c311b2e1b506866a808..b6dbe74fa9114a4950ed4032a0218046f0ba5e55 100644 (file)
@@ -94,6 +94,9 @@ typedef struct args_st {
 /* We need both wrap and the "real" function because libcrypto uses both. */
 int wrap_password_callback(char *buf, int bufsiz, int verify, void *cb_data);
 
+/* progress callback for dsaparam, dhparam, req, genpkey, etc. */
+int progress_cb(EVP_PKEY_CTX *ctx);
+
 int chopup_args(ARGS *arg, char *buf);
 void dump_cert_text(BIO *out, X509 *x);
 void print_name(BIO *out, const char *title, const X509_NAME *nm);