/*
 * Copyright (C) 2002 Ilya Volynets, Total Knowledge
 *
 * This program is free software. Free means freedom.
 * You are hereby granted the right to use this program
 * in any way you want as long as following conditions are met:
 * 1. All source distributions with code unmodified will also retain this
 *    notice intact.
 * 2. All binary distributions will be accompanied by text file clearly
 *    attributing authorship to Ilya Volynets and sopnsorship to
 *    Total Knowledge using following wording:
 *    "This binary is built from sources developed by Ilya Volynets.
 *    Development was kindly sponsored by Total Knowledge"
 * 3. All modified versions, if distributed, will clearly indicate
 *    that they are not original works and that they were derived from
 *    work developed by Ilya Volynets and sponsored by Total Knowledge
 */



#ifndef _SSLPP_SSL_OBJECT_H
#define _SSLPP_SSL_OBJECT_H

#include <string>

class CSSLObject
{
    static int init_count;
protected:
    static SSL_CTX* ctx;
public:
    CSSLObject();
    virtual ~CSSLObject(){}
protected:
    virtual void checkErrors(const std::string& tag);
};


#endif /* _SSLPP_SSL_OBJECT_H */
