Changeset 0fcba60 in mod_gnutls for src/gnutls_util.h


Ignore:
Timestamp:
Dec 17, 2018, 1:05:51 PM (22 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
debian/master, master, proxy-ticket
Children:
68b5156
Parents:
f674424
git-author:
Fiona Klute <fiona.klute@…> (12/17/18 13:02:43)
git-committer:
Fiona Klute <fiona.klute@…> (12/17/18 13:05:51)
Message:

Move compiled default priorities to gnutls_util.[hc]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/gnutls_util.h

    rf674424 r0fcba60  
    2525#ifndef __MOD_GNUTLS_UTIL_H__
    2626#define __MOD_GNUTLS_UTIL_H__
     27
     28/** Default GnuTLS priority string for mod_gnutls */
     29#define MGS_DEFAULT_PRIORITY "NORMAL"
    2730
    2831/** maximum allowed length of one header line */
     
    7477mgs_handle_t *init_gnutls_ctxt(conn_rec *c);
    7578
     79/**
     80 * Initialize the global default priorities, must be called by the
     81 * pre_config hook
     82 *
     83 * @return `GNUTLS_E_SUCCESS` or a GnuTLS error code
     84 */
     85int mgs_default_priority_init();
     86
     87/**
     88 * Get the global default priorities
     89 */
     90gnutls_priority_t mgs_get_default_prio();
     91
     92/**
     93 * Deinitialize the global default priorities, must be in the cleanup
     94 * hook of the pre_config pool.
     95 */
     96void mgs_default_priority_deinit();
     97
    7698#endif /* __MOD_GNUTLS_UTIL_H__ */
Note: See TracChangeset for help on using the changeset viewer.