/usr/include/openssl
NameSizeModeActions
aes.h33110644editdlrm
asn1.h577360644editdlrm
asn1err.h51690644editdlrm
asn1t.h386010644editdlrm
async.h30190644editdlrm
asyncerr.h7390644editdlrm
bio.h414040644editdlrm
bioerr.h23550644editdlrm
blowfish.h21360644editdlrm
bn.h223090644editdlrm
bnerr.h13290644editdlrm
buffer.h15910644editdlrm
buffererr.h5870644editdlrm
byteorder.h84440644editdlrm
camellia.h32660644editdlrm
cast.h18800644editdlrm
cmac.h14490644editdlrm
cmp.h480380644editdlrm
cmperr.h48210644editdlrm
cmp_util.h16270644editdlrm
cms.h311030644editdlrm
cmserr.h45470644editdlrm
comp.h46960644editdlrm
comperr.h10020644editdlrm
conf.h103870644editdlrm
conferr.h16970644editdlrm
configuration-x86_64.h44690644editdlrm
configuration.h15840644editdlrm
conftypes.h11760644editdlrm
conf_api.h13280644editdlrm
core.h78200644editdlrm
core_dispatch.h469480644editdlrm
core_names.h298420644editdlrm
core_object.h10470644editdlrm
crmf.h196440644editdlrm
crmferr.h18580644editdlrm
crypto.h231190644editdlrm
cryptoerr.h19860644editdlrm
cryptoerr_legacy.h480190644editdlrm
ct.h222380644editdlrm
cterr.h12410644editdlrm
decoder.h49070644editdlrm
decodererr.h7400644editdlrm
des.h77640644editdlrm
dh.h130250644editdlrm
dherr.h17020644editdlrm
dsa.h109820644editdlrm
dsaerr.h11640644editdlrm
dtls1.h12390644editdlrm
ebcdic.h10250644editdlrm
ec.h623130644editdlrm
ecdh.h3610644editdlrm
ecdsa.h3610644editdlrm
ecerr.h33590644editdlrm
encoder.h45700644editdlrm
encodererr.h7410644editdlrm
engine.h375360644editdlrm
engineerr.h20340644editdlrm
err.h204360644editdlrm
ess.h87040644editdlrm
esserr.h9820644editdlrm
evp.h956340644editdlrm
evperr.h55280644editdlrm
e_os2.h84450644editdlrm
e_ostime.h11470644editdlrm
fips.h6010644editdlrm
fipskey.h12360644editdlrm
fips_names.h16380644editdlrm
hmac.h18920644editdlrm
hpke.h60810644editdlrm
http.h47170644editdlrm
httperr.h18510644editdlrm
idea.h22850644editdlrm
indicator.h8180644editdlrm
kdf.h51010644editdlrm
kdferr.h4800644editdlrm
lhash.h333750644editdlrm
macros.h107180644editdlrm
md2.h13360644editdlrm
md4.h16100644editdlrm
md5.h16080644editdlrm
mdc2.h13120644editdlrm
ml_kem.h9590644editdlrm
modes.h81350644editdlrm
objects.h75670644editdlrm
objectserr.h6860644editdlrm
obj_mac.h2895250644editdlrm
ocsp.h278560644editdlrm
ocsperr.h16360644editdlrm
opensslconf.h5100644editdlrm
opensslv.h34490644editdlrm
ossl_typ.h5610644editdlrm
params.h70600644editdlrm
param_build.h23630644editdlrm
pem.h226670644editdlrm
pem2.h5230644editdlrm
pemerr.h18360644editdlrm
pkcs7.h218710644editdlrm
pkcs7err.h22420644editdlrm
pkcs12.h170040644editdlrm
pkcs12err.h14270644editdlrm
proverr.h64140644editdlrm
provider.h33830644editdlrm
prov_ssl.h9690644editdlrm
quic.h21010644editdlrm
rand.h40580644editdlrm
randerr.h24860644editdlrm
rc2.h17710644editdlrm
rc4.h10750644editdlrm
rc5.h21460644editdlrm
ripemd.h15370644editdlrm
rsa.h222990644editdlrm
rsaerr.h38610644editdlrm
safestack.h291540644editdlrm
seed.h36110644editdlrm
self_test.h47200644editdlrm
sha.h44040644editdlrm
srp.h151590644editdlrm
srtp.h18880644editdlrm
ssl.h1222130644editdlrm
ssl2.h6250644editdlrm
ssl3.h127480644editdlrm
sslerr.h154130644editdlrm
sslerr_legacy.h182690644editdlrm
stack.h31220644editdlrm
store.h140080644editdlrm
storeerr.h17020644editdlrm
symhacks.h11020644editdlrm
thread.h8650644editdlrm
tls1.h633210644editdlrm
trace.h108230644editdlrm
ts.h194190644editdlrm
tserr.h20770644editdlrm
txt_db.h16350644editdlrm
types.h73020644editdlrm
ui.h185120644editdlrm
uierr.h10620644editdlrm
whrlpool.h16810644editdlrm
x509.h674890644editdlrm
x509err.h23160644editdlrm
x509v3.h1293470644editdlrm
x509v3err.h35780644editdlrm
x509_acert.h219190644editdlrm
x509_vfy.h471760644editdlrm
Edit: /usr/include/openssl/http.h (4717B)
/* * Copyright 2000-2025 The OpenSSL Project Authors. All Rights Reserved. * Copyright Siemens AG 2018-2020 * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.html */ #ifndef OPENSSL_HTTP_H #define OPENSSL_HTTP_H #pragma once #include #include #include #include #ifdef __cplusplus extern "C" { #endif #define OSSL_HTTP_NAME "http" #define OSSL_HTTPS_NAME "https" #define OSSL_HTTP_PREFIX OSSL_HTTP_NAME "://" #define OSSL_HTTPS_PREFIX OSSL_HTTPS_NAME "://" #define OSSL_HTTP_PORT "80" #define OSSL_HTTPS_PORT "443" #define OPENSSL_NO_PROXY "NO_PROXY" #define OPENSSL_HTTP_PROXY "HTTP_PROXY" #define OPENSSL_HTTPS_PROXY "HTTPS_PROXY" /* We want to have this even in case of OPENSSL_NO_HTTP */ int OSSL_parse_url(const char *url, char **pscheme, char **puser, char **phost, char **pport, int *pport_num, char **ppath, char **pquery, char **pfrag); #ifndef OPENSSL_NO_HTTP #define OSSL_HTTP_DEFAULT_MAX_LINE_LEN (4 * 1024) #define OSSL_HTTP_DEFAULT_MAX_RESP_LEN (100 * 1024) #define OSSL_HTTP_DEFAULT_MAX_CRL_LEN (32 * 1024 * 1024) #define OSSL_HTTP_DEFAULT_MAX_RESP_HDR_LINES 256 /* Low-level HTTP API */ OSSL_HTTP_REQ_CTX *OSSL_HTTP_REQ_CTX_new(BIO *wbio, BIO *rbio, int buf_size); void OSSL_HTTP_REQ_CTX_free(OSSL_HTTP_REQ_CTX *rctx); int OSSL_HTTP_REQ_CTX_set_request_line(OSSL_HTTP_REQ_CTX *rctx, int method_POST, const char *server, const char *port, const char *path); int OSSL_HTTP_REQ_CTX_add1_header(OSSL_HTTP_REQ_CTX *rctx, const char *name, const char *value); int OSSL_HTTP_REQ_CTX_set_expected(OSSL_HTTP_REQ_CTX *rctx, const char *content_type, int asn1, int timeout, int keep_alive); int OSSL_HTTP_REQ_CTX_set1_req(OSSL_HTTP_REQ_CTX *rctx, const char *content_type, const ASN1_ITEM *it, const ASN1_VALUE *req); int OSSL_HTTP_REQ_CTX_nbio(OSSL_HTTP_REQ_CTX *rctx); int OSSL_HTTP_REQ_CTX_nbio_d2i(OSSL_HTTP_REQ_CTX *rctx, ASN1_VALUE **pval, const ASN1_ITEM *it); BIO *OSSL_HTTP_REQ_CTX_exchange(OSSL_HTTP_REQ_CTX *rctx); BIO *OSSL_HTTP_REQ_CTX_get0_mem_bio(const OSSL_HTTP_REQ_CTX *rctx); size_t OSSL_HTTP_REQ_CTX_get_resp_len(const OSSL_HTTP_REQ_CTX *rctx); void OSSL_HTTP_REQ_CTX_set_max_response_length(OSSL_HTTP_REQ_CTX *rctx, unsigned long len); void OSSL_HTTP_REQ_CTX_set_max_response_hdr_lines(OSSL_HTTP_REQ_CTX *rctx, size_t count); int OSSL_HTTP_is_alive(const OSSL_HTTP_REQ_CTX *rctx); /* High-level HTTP API */ typedef BIO *(*OSSL_HTTP_bio_cb_t)(BIO *bio, void *arg, int connect, int detail); OSSL_HTTP_REQ_CTX *OSSL_HTTP_open(const char *server, const char *port, const char *proxy, const char *no_proxy, int use_ssl, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, int overall_timeout); int OSSL_HTTP_proxy_connect(BIO *bio, const char *server, const char *port, const char *proxyuser, const char *proxypass, int timeout, BIO *bio_err, const char *prog); int OSSL_HTTP_set1_request(OSSL_HTTP_REQ_CTX *rctx, const char *path, const STACK_OF(CONF_VALUE) *headers, const char *content_type, BIO *req, const char *expected_content_type, int expect_asn1, size_t max_resp_len, int timeout, int keep_alive); BIO *OSSL_HTTP_exchange(OSSL_HTTP_REQ_CTX *rctx, char **redirection_url); BIO *OSSL_HTTP_get(const char *url, const char *proxy, const char *no_proxy, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, const STACK_OF(CONF_VALUE) *headers, const char *expected_content_type, int expect_asn1, size_t max_resp_len, int timeout); BIO *OSSL_HTTP_transfer(OSSL_HTTP_REQ_CTX **prctx, const char *server, const char *port, const char *path, int use_ssl, const char *proxy, const char *no_proxy, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, const STACK_OF(CONF_VALUE) *headers, const char *content_type, BIO *req, const char *expected_content_type, int expect_asn1, size_t max_resp_len, int timeout, int keep_alive); int OSSL_HTTP_close(OSSL_HTTP_REQ_CTX *rctx, int ok); /* Auxiliary functions */ int OSSL_HTTP_parse_url(const char *url, int *pssl, char **puser, char **phost, char **pport, int *pport_num, char **ppath, char **pquery, char **pfrag); const char *OSSL_HTTP_adapt_proxy(const char *proxy, const char *no_proxy, const char *server, int use_ssl); #endif /* !defined(OPENSSL_NO_HTTP) */ #ifdef __cplusplus } #endif #endif /* !defined(OPENSSL_HTTP_H) */