Commit eeb2c095 authored by Sander Temme's avatar Sander Temme
Browse files

Move struct definition out of the header file since it is only used in this source file

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@687819 13f79535-47bb-0310-9956-ffa450edef68
parent e5f24070
Loading
Loading
Loading
Loading
+0 −10
Changes for modules/ssl/ssl_private.h: 0 added lines, 10 removed lines.
Original line number Diff line number Diff line
@@ -462,16 +462,6 @@ typedef struct {
    const char   *szUserName;
} SSLDirConfigRec;

/**
 * Dynamic lock structure
 */
struct CRYPTO_dynlock_value {
    apr_pool_t *pool;
    const char* file; 
    int line;
    apr_thread_mutex_t *mutex;
};

/**
 *  function prototypes
 */
+8 −0
Changes for modules/ssl/ssl_util.c: 8 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -351,6 +351,14 @@ static void ssl_util_thr_lock(int mode, int type,
    }
}

/* Dynamic lock structure */
struct CRYPTO_dynlock_value {
    apr_pool_t *pool;
    const char* file; 
    int line;
    apr_thread_mutex_t *mutex;
};

/* Global reference to the pool passed into ssl_util_thread_setup() */
apr_pool_t *dynlockpool = NULL;