28 #include <sys/socket.h> 29 #include <netinet/in.h> 32 typedef struct bio_st BIO;
44 INLINE BioPtr(BIO *bio);
48 void set_nbio(
bool nbio);
51 bool should_retry()
const;
53 INLINE BIO &operator *()
const;
54 INLINE BIO *operator -> ()
const;
55 INLINE
operator BIO * ()
const;
57 INLINE
void set_bio(BIO *bio);
58 INLINE BIO *get_bio()
const;
60 INLINE
const std::string &get_server_name()
const;
61 INLINE
int get_port()
const;
65 std::string _server_name;
67 struct sockaddr_storage _addr;
74 #endif // HAVE_OPENSSL A container for a URL, e.g.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for all things that want to be reference-counted.