]> granicus.if.org Git - apache/commitdiff
* modules/ssl/h2_h2.c: Use mod_ssl function pointer types by reference.
authorJoe Orton <jorton@apache.org>
Fri, 26 Feb 2016 16:59:06 +0000 (16:59 +0000)
committerJoe Orton <jorton@apache.org>
Fri, 26 Feb 2016 16:59:06 +0000 (16:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1732519 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_h2.c

index 719042f9d4a723199d44f9d1d1b3f2c6e30df81b..05fb6ef6fddeaf71f4ec6eee029bb2f10854e6c1 100644 (file)
@@ -56,11 +56,9 @@ const char *H2_MAGIC_TOKEN = "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n";
 /*******************************************************************************
  * The optional mod_ssl functions we need. 
  */
-static int (*opt_ssl_engine_disable)(conn_rec*);
-static int (*opt_ssl_is_https)(conn_rec*);
-static char *(*opt_ssl_var_lookup)(apr_pool_t *, server_rec *,
-                                   conn_rec *, request_rec *,
-                                   char *);
+static APR_OPTIONAL_FN_TYPE(ssl_engine_disable) *opt_ssl_engine_disable;
+static APR_OPTIONAL_FN_TYPE(ssl_is_https) *opt_ssl_is_https;
+static APR_OPTIONAL_FN_TYPE(ssl_var_lookup) *opt_ssl_var_lookup;
 
 
 /*******************************************************************************