Changeset 05e2d9e in mod_gnutls


Ignore:
Timestamp:
Jan 14, 2020, 4:04:17 AM (7 months ago)
Author:
Fiona Klute <fiona.klute@…>
Branches:
master, proxy-ticket
Children:
b22def6
Parents:
cc748329
Message:

Move function declarations for gnutls_io.c into a separate header

Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • include/mod_gnutls.h.in

    rcc748329 r05e2d9e  
    261261
    262262
    263 /** Functions in gnutls_io.c **/
    264 
    265263/* apr_signal_block() for blocking SIGPIPE */
    266264apr_status_t apr_signal_block(int signum);
     
    294292apr_status_t mgs_cleanup_pre_config(void *data);
    295293
    296 /**
    297  * mgs_filter_input will filter the input data
    298  * by decrypting it using GnuTLS and passes it cleartext.
    299  *
    300  * @param f     the filter info record
    301  * @param bb    the bucket brigade, where to store the result to
    302  * @param mode  what shall we read?
    303  * @param block a block index we shall read from?
    304  * @return result status
    305  */
    306 apr_status_t mgs_filter_input(ap_filter_t * f,
    307                                      apr_bucket_brigade * bb,
    308                                      ap_input_mode_t mode,
    309                                      apr_read_type_e block,
    310                                      apr_off_t readbytes);
    311 
    312 /**
    313  * mgs_filter_output will filter the encrypt
    314  * the incoming bucket using GnuTLS and passes it onto the next filter.
    315  *
    316  * @param f     the filter info record
    317  * @param bb    the bucket brigade, where to store the result to
    318  * @return result status
    319  */
    320 apr_status_t mgs_filter_output(ap_filter_t * f,
    321                                       apr_bucket_brigade * bb);
    322 
    323 
    324 /**
    325  * mgs_transport_read is called from GnuTLS to provide encrypted
    326  * data from the client.
    327  *
    328  * @param ptr     pointer to the filter context
    329  * @param buffer  place to put data
    330  * @param len     maximum size
    331  * @return size   length of the data stored in buffer
    332  */
    333 ssize_t mgs_transport_read(gnutls_transport_ptr_t ptr,
    334                                   void *buffer, size_t len);
    335 
    336 /**
    337  * mgs_transport_write is called from GnuTLS to
    338  * write data to the client.
    339  *
    340  * @param ptr     pointer to the filter context
    341  * @param buffer  buffer to write to the client
    342  * @param len     size of the buffer
    343  * @return size   length of the data written
    344  */
    345 ssize_t mgs_transport_write(gnutls_transport_ptr_t ptr,
    346                                    const void *buffer, size_t len);
    347 
    348 
    349 int mgs_rehandshake(mgs_handle_t * ctxt);
    350 
    351294
    352295
  • src/Makefile.am

    rcc748329 r05e2d9e  
    1111mod_gnutls_la_CFLAGS = -Wall ${MODULE_CFLAGS}
    1212mod_gnutls_la_LDFLAGS = -module -avoid-version ${MODULE_LIBS}
    13 noinst_HEADERS = gnutls_cache.h gnutls_config.h gnutls_ocsp.h \
     13noinst_HEADERS = gnutls_cache.h gnutls_config.h gnutls_io.h gnutls_ocsp.h \
    1414        gnutls_proxy.h gnutls_sni.h gnutls_util.h gnutls_watchdog.h
    1515
  • src/gnutls_hooks.c

    rcc748329 r05e2d9e  
    2222#include "gnutls_cache.h"
    2323#include "gnutls_config.h"
     24#include "gnutls_io.h"
    2425#include "gnutls_ocsp.h"
    2526#include "gnutls_proxy.h"
  • src/gnutls_io.c

    rcc748329 r05e2d9e  
    1919
    2020#include "mod_gnutls.h"
     21#include "gnutls_io.h"
    2122#include "gnutls_proxy.h"
    2223
  • src/mod_gnutls.c

    rcc748329 r05e2d9e  
    2020#include "mod_gnutls.h"
    2121#include "gnutls_config.h"
     22#include "gnutls_io.h"
    2223#include "gnutls_ocsp.h"
    2324#include "gnutls_util.h"
Note: See TracChangeset for help on using the changeset viewer.