diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-05-07 14:17:42 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-05-07 16:27:49 +0200 |
commit | 14c17a2b6e0c377c16db43d0e963a31db597ece5 (patch) | |
tree | c40c748e00665f6ebf7fe7fe23bcb1ef97766b2a /lib/vquic/vquic.h | |
parent | 2a81439553286f12cd04a4bdcdf66d8e026d8201 (diff) |
ngtcp2: introduce qlog support
If the QLOGDIR environment variable is set, enable qlogging.
... and create Curl_qlogdir() in the new generic vquic/vquic.c file for
QUIC functions that are backend independent.
Closes #5353
Diffstat (limited to 'lib/vquic/vquic.h')
-rw-r--r-- | lib/vquic/vquic.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/vquic/vquic.h b/lib/vquic/vquic.h new file mode 100644 index 000000000..ecff0edf4 --- /dev/null +++ b/lib/vquic/vquic.h @@ -0,0 +1,34 @@ +#ifndef HEADER_CURL_VQUIC_QUIC_H +#define HEADER_CURL_VQUIC_QUIC_H +/*************************************************************************** + * _ _ ____ _ + * Project ___| | | | _ \| | + * / __| | | | |_) | | + * | (__| |_| | _ <| |___ + * \___|\___/|_| \_\_____| + * + * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al. + * + * This software is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at https://curl.haxx.se/docs/copyright.html. + * + * You may opt to use, copy, modify, merge, publish, distribute and/or sell + * copies of the Software, and permit persons to whom the Software is + * furnished to do so, under the terms of the COPYING file. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ***************************************************************************/ + +#include "curl_setup.h" + +#ifdef ENABLE_QUIC +CURLcode Curl_qlogdir(struct Curl_easy *data, + unsigned char *scid, + size_t scidlen, + int *qlogfdp); +#endif + +#endif /* HEADER_CURL_VQUIC_QUIC_H */ |