lsquic_global.c revision 10c492f0
1/* Copyright (c) 2017 - 2018 LiteSpeed Technologies Inc.  See LICENSE. */
2/*
3 * Global state
4 */
5
6#include "lsquic_int_types.h"
7#include "lsquic_types.h"
8#include "lsquic.h"
9#include "lsquic_str.h"
10#include "lsquic_handshake.h"
11#include "lsquic_util.h"
12
13
14int
15lsquic_global_init (int flags)
16{
17    lsquic_init_timers();
18    return lsquic_enc_session_gquic_1.esf_global_init(flags);
19}
20
21
22void
23lsquic_global_cleanup (void)
24{
25    lsquic_enc_session_gquic_1.esf_global_cleanup();
26}
27