]> git.ipfire.org Git - thirdparty/squid.git/blob - src/ssl/stub_libsslsquid.cc
Renamed squid.h to squid-old.h and config.h to squid.h
[thirdparty/squid.git] / src / ssl / stub_libsslsquid.cc
1 #include "squid.h"
2 #include "fatal.h"
3
4 /* Stub File for the ssl/libsslsquid.la convenience library */
5
6 #define STUB_BASE "ssl/libsslsquid.la"
7
8 #define STUB { fatal(STUB_BASE " required."); }
9 #define STUB_RETVAL(x) { fatal(STUB_BASE " required."); return (x); }
10 #define STUB_RETREF(x) { fatal(STUB_BASE " required."); static x v; return v; }
11 #define STUB_RETREF2(x,y) { fatal(STUB_BASE " required."); static x v((y)); return v; }
12
13 #include "ssl/Config.h"
14 Ssl::Config::Config() STUB
15 Ssl::Config::~Config() STUB
16 Ssl::Config Ssl::TheConfig;
17
18 #include "ssl/context_storage.h"
19 //Ssl::CertificateStorageAction::CertificateStorageAction(const Mgr::Command::Pointer &cmd) STUB
20 Ssl::CertificateStorageAction::Pointer Ssl::CertificateStorageAction::Create(const Mgr::Command::Pointer &cmd) STUB_RETREF(Ssl::CertificateStorageAction::Pointer)
21 void Ssl::CertificateStorageAction::dump(StoreEntry *sentry) STUB
22 Ssl::LocalContextStorage::Item::Item(SSL_CTX * aSsl_ctx, std::string const & aName) STUB
23 Ssl::LocalContextStorage::Item::~Item() STUB
24 Ssl::LocalContextStorage::LocalContextStorage(size_t aMax_memory) STUB
25 Ssl::LocalContextStorage::~LocalContextStorage() STUB
26 void Ssl::LocalContextStorage::SetSize(size_t aMax_memory) STUB
27 SSL_CTX * Ssl::LocalContextStorage::add(char const * host_name, SSL_CTX * ssl_ctx) STUB_RETVAL(NULL)
28 SSL_CTX * Ssl::LocalContextStorage::find(char const * host_name) STUB_RETVAL(NULL)
29 void Ssl::LocalContextStorage::remove(char const * host_name) STUB
30 Ssl::GlobalContextStorage::GlobalContextStorage() STUB
31 Ssl::GlobalContextStorage::~GlobalContextStorage() STUB
32 void Ssl::GlobalContextStorage::addLocalStorage(Ip::Address const & address, size_t size_of_store) STUB
33 Ssl::LocalContextStorage & Ssl::GlobalContextStorage::getLocalStorage(Ip::Address const & address) STUB_RETREF2(Ssl::LocalContextStorage, 0)
34 void Ssl::GlobalContextStorage::reconfigureStart() STUB
35 //Ssl::GlobalContextStorage Ssl::TheGlobalContextStorage;
36
37 #include "ssl/ErrorDetail.h"
38 Ssl::ssl_error_t parseErrorString(const char *name) STUB_RETVAL(0)
39 const char *Ssl::getErrorName(ssl_error_t value) STUB_RETVAL(NULL)
40 Ssl::ErrorDetail::ErrorDetail(ssl_error_t err_no, X509 *cert) STUB
41 Ssl::ErrorDetail::ErrorDetail(ErrorDetail const &) STUB
42 const String & Ssl::ErrorDetail::toString() const STUB_RETREF(String)
43
44 #include "ssl/support.h"
45 SSL_CTX *sslCreateServerContext(const char *certfile, const char *keyfile, int version, const char *cipher, const char *options, const char *flags, const char *clientCA, const char *CAfile, const char *CApath, const char *CRLfile, const char *dhpath, const char *context) STUB_RETVAL(NULL)
46 SSL_CTX *sslCreateClientContext(const char *certfile, const char *keyfile, int version, const char *cipher, const char *options, const char *flags, const char *CAfile, const char *CApath, const char *CRLfile) STUB_RETVAL(NULL)
47 int ssl_read_method(int, char *, int) STUB_RETVAL(0)
48 int ssl_write_method(int, const char *, int) STUB_RETVAL(0)
49 void ssl_shutdown_method(int) STUB
50 const char *sslGetUserEmail(SSL *ssl) STUB_RETVAL(NULL)
51 // typedef char const *SSLGETATTRIBUTE(SSL *, const char *);
52 // SSLGETATTRIBUTE sslGetUserAttribute;
53 // SSLGETATTRIBUTE sslGetCAAttribute;
54 const char *sslGetUserCertificatePEM(SSL *ssl) STUB_RETVAL(NULL)
55 const char *sslGetUserCertificateChainPEM(SSL *ssl) STUB_RETVAL(NULL)
56 SSL_CTX *Ssl::generateSslContext(char const *host, Ssl::X509_Pointer const & signedX509, Ssl::EVP_PKEY_Pointer const & signedPkey) STUB_RETVAL(NULL)
57 bool Ssl::verifySslCertificateDate(SSL_CTX * sslContext) STUB_RETVAL(false)
58 SSL_CTX * Ssl::generateSslContextUsingPkeyAndCertFromMemory(const char * data) STUB_RETVAL(NULL)
59 int Ssl::matchX509CommonNames(X509 *peer_cert, void *check_data, int (*check_func)(void *check_data, ASN1_STRING *cn_data)) STUB_RETVAL(0)
60 int Ssl::asn1timeToString(ASN1_TIME *tm, char *buf, int len) STUB_RETVAL(0)