15 #ifndef BIOSTREAMPTR_H
16 #define BIOSTREAMPTR_H
18 #include "pandabase.h"
22 #define OPENSSL_NO_KRB5
24 #include "bioStream.h"
25 #include "referenceCount.h"
26 #include "openSSLWrapper.h"
27 #include "openssl/ssl.h"
36 INLINE BioStreamPtr(BioStream *stream);
37 virtual ~BioStreamPtr();
39 INLINE BioStream &operator *()
const;
40 INLINE BioStream *operator -> ()
const;
41 INLINE
operator BioStream * ()
const;
43 INLINE
void set_stream(BioStream *stream);
44 INLINE BioStream *get_stream()
const;
50 #include "bioStreamPtr.I"
52 #endif // HAVE_OPENSSL
A base class for all things that want to be reference-counted.