From: Daniel M. <tub...@us...> - 2003-04-28 20:51:42
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src/ssl In directory sc8-pr-cvs1:/tmp/cvs-serv32286/ssl Modified Files: npssl.cc npssl.h Log Message: updates to the source for gcc 3.x compliant namespaces (std::string, etc...) Index: npssl.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/ssl/npssl.cc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** npssl.cc 17 Jul 2002 15:37:03 -0000 1.3 --- npssl.cc 28 Apr 2003 20:51:07 -0000 1.4 *************** *** 29,32 **** --- 29,33 ---- #include <unistd.h> + using namespace std; using namespace npbase; Index: npssl.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/ssl/npssl.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** npssl.h 17 Jul 2002 15:37:03 -0000 1.3 --- npssl.h 28 Apr 2003 20:51:08 -0000 1.4 *************** *** 45,51 **** bool server; ! string int_inbuffer; ! string int_outbuffer; ! string readbuffer; void ssl_error(void); --- 45,51 ---- bool server; ! std::string int_inbuffer; ! std::string int_outbuffer; ! std::string readbuffer; void ssl_error(void); *************** *** 53,57 **** public: ! void setVerifyLocations(const string &certname, const string &pathname); void setClientVerification(int mode,int (*verify_callback)(int, X509_STORE_CTX *)); void setClientVerificationDepth(int depth); --- 53,57 ---- public: ! void setVerifyLocations(const std::string &certname, const std::string &pathname); void setClientVerification(int mode,int (*verify_callback)(int, X509_STORE_CTX *)); void setClientVerificationDepth(int depth); *************** *** 61,65 **** long getVerifyResult( void ); ! void setCertFile(const string &filename); bool handShake(int infd, int outfd); --- 61,65 ---- long getVerifyResult( void ); ! void setCertFile(const std::string &filename); bool handShake(int infd, int outfd); *************** *** 68,74 **** // get functions ! string getS(void); char getch(void); ! string bufferedGetS(void); char bufferedGetch(void); void bufferedUnGetch(char c); --- 68,74 ---- // get functions ! std::string getS(void); char getch(void); ! std::string bufferedGetS(void); char bufferedGetch(void); void bufferedUnGetch(char c); *************** *** 77,83 **** // put functions ! bool putS(const string &str); bool putch(char c); ! bool bufferedPutS(const string &str); bool bufferedPutch(char c); --- 77,83 ---- // put functions ! bool putS(const std::string &str); bool putch(char c); ! bool bufferedPutS(const std::string &str); bool bufferedPutch(char c); |