Changeset 04e6e65 in mod_gnutls for include


Ignore:
Timestamp:
Jun 3, 2016, 6:49:21 PM (19 months ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
master, debian, upstream
Children:
f785704
Parents:
379a297
Message:

Move declarations of cache-related functions to a dedicated header

This should make the code a little easier to understand, especially
regarding where these functions are used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/mod_gnutls.h.in

    r379a297 r04e6e65  
    345345
    346346/**
    347  * Init the Cache after Configuration is done
    348  */
    349 int mgs_cache_post_config(apr_pool_t *p, server_rec *s,
    350                                  mgs_srvconf_rec *sc);
    351 /**
    352  * Init the Cache inside each Process
    353  */
    354 int mgs_cache_child_init(apr_pool_t *p, server_rec *s,
    355                                 mgs_srvconf_rec *sc);
    356 /**
    357  * Setup the Session Caching
    358  */
    359 int mgs_cache_session_init(mgs_handle_t *ctxt);
    360 
    361 #define GNUTLS_SESSION_ID_STRING_LEN \
    362     ((GNUTLS_MAX_SESSION_ID + 1) * 2)
    363 
    364 /**
    365347 * Perform any reinitialization required in PKCS #11
    366348 */
    367349int mgs_pkcs11_reinit(server_rec * s);
    368350
    369 /**
    370  * Convert a SSL Session ID into a Null Terminated Hex Encoded String
    371  * @param id raw SSL Session ID
    372  * @param idlen Length of the raw Session ID
    373  * @param str Location to store the Hex Encoded String
    374  * @param strsize The Maximum Length that can be stored in str
    375  */
    376 char *mgs_session_id2sz(unsigned char *id, int idlen,
    377                                 char *str, int strsize);
    378 
    379 /**
    380  * Convert a time_t into a Null Terminated String
    381  * @param t time_t time
    382  * @param str Location to store the Hex Encoded String
    383  * @param strsize The Maximum Length that can be stored in str
    384  */
    385 char *mgs_time2sz(time_t t, char *str, int strsize);
    386351
    387352
Note: See TracChangeset for help on using the changeset viewer.