123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- #ifndef OSSL_QUIC_ENGINE_H
- # define OSSL_QUIC_ENGINE_H
- # include <openssl/ssl.h>
- # include "internal/quic_predef.h"
- # include "internal/quic_port.h"
- # include "internal/thread_arch.h"
- # ifndef OPENSSL_NO_QUIC
- typedef struct quic_engine_args_st {
- OSSL_LIB_CTX *libctx;
- const char *propq;
-
- CRYPTO_MUTEX *mutex;
- OSSL_TIME (*now_cb)(void *arg);
- void *now_cb_arg;
- } QUIC_ENGINE_ARGS;
- QUIC_ENGINE *ossl_quic_engine_new(const QUIC_ENGINE_ARGS *args);
- void ossl_quic_engine_free(QUIC_ENGINE *qeng);
- QUIC_PORT *ossl_quic_engine_create_port(QUIC_ENGINE *qeng,
- const QUIC_PORT_ARGS *args);
- CRYPTO_MUTEX *ossl_quic_engine_get0_mutex(QUIC_ENGINE *qeng);
- OSSL_TIME ossl_quic_engine_get_time(QUIC_ENGINE *qeng);
- void ossl_quic_engine_set_inhibit_tick(QUIC_ENGINE *qeng, int inhibit);
- QUIC_REACTOR *ossl_quic_engine_get0_reactor(QUIC_ENGINE *qeng);
- # endif
- #endif
|