You can subscribe to this list here.
2002 |
Jan
|
Feb
(44) |
Mar
(51) |
Apr
(11) |
May
(5) |
Jun
(1) |
Jul
(19) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(3) |
Feb
|
Mar
|
Apr
(24) |
May
(37) |
Jun
(23) |
Jul
(14) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(17) |
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
2005 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(3) |
Nov
|
Dec
|
2007 |
Jan
|
Feb
(1) |
Mar
(3) |
Apr
|
May
(1) |
Jun
|
Jul
(2) |
Aug
(1) |
Sep
|
Oct
|
Nov
(7) |
Dec
|
From: Asbjorn M. <ste...@us...> - 2002-07-22 13:07:14
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src In directory usw-pr-cvs1:/tmp/cvs-serv26851 Modified Files: testTools.h testTools.cc Log Message: The map returned from getTestDataMap(...) is now "<unsigned int,string>" instead of "<int,string>". Index: testTools.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/testTools.h,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** testTools.h 18 Jul 2002 10:02:03 -0000 1.12 --- testTools.h 22 Jul 2002 13:07:10 -0000 1.13 *************** *** 118,122 **** * @return Map of testdata elements */ ! map<int,string> getTestDataMap(const string & testdata); #endif --- 118,122 ---- * @return Map of testdata elements */ ! map<unsigned int,string> getTestDataMap(const string & testdata); #endif Index: testTools.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/testTools.cc,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** testTools.cc 18 Jul 2002 10:02:03 -0000 1.15 --- testTools.cc 22 Jul 2002 13:07:10 -0000 1.16 *************** *** 101,105 **** if(i->m_data->m_status->m_ack != NULL) { ! if(*i->m_data->m_status->m_ack == true) { cerr << " ack=\"1\""; } else { --- 101,105 ---- if(i->m_data->m_status->m_ack != NULL) { ! if(*i->m_data->m_status->m_ack) { cerr << " ack=\"1\""; } else { *************** *** 430,436 **** ! map<int,string> getTestDataMap(const string & testdata) { ! map<int,string> dataMap; if(testdata.length() > 0) { --- 430,436 ---- ! map<unsigned int,string> getTestDataMap(const string & testdata) { ! map<unsigned int,string> dataMap; if(testdata.length() > 0) { |
From: Asbjorn M. <ste...@us...> - 2002-07-18 10:13:01
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src In directory usw-pr-cvs1:/tmp/cvs-serv26392 Modified Files: main_login.cc main_loginunspec.cc main_logout.cc main_poll.cc main_status.cc Log Message: CLEANUP: -made more function arguments const reference -now catching exceptions const reference -minor formatting changes Index: main_login.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_login.cc,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** main_login.cc 16 Apr 2002 17:10:15 -0000 1.10 --- main_login.cc 18 Jul 2002 10:12:58 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ /** @file main_login.cc --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ /** @file main_login.cc *************** *** 50,54 **** * @param req Response returned from the server */ ! void printRsp(const epp_LoginRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 50,54 ---- * @param req Response returned from the server */ ! void printRsp(const epp_LoginRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 159,166 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 159,166 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 171,175 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 171,175 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_loginunspec.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_loginunspec.cc,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** main_loginunspec.cc 19 Mar 2002 15:12:01 -0000 1.7 --- main_loginunspec.cc 18 Jul 2002 10:12:58 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> *************** *** 42,46 **** using namespace eppobject::epp; ! void printRsp(const epp_LoginRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 42,46 ---- using namespace eppobject::epp; ! void printRsp(const epp_LoginRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 127,134 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 127,134 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 139,143 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 139,143 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_logout.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_logout.cc,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** main_logout.cc 16 Apr 2002 17:10:15 -0000 1.7 --- main_logout.cc 18 Jul 2002 10:12:58 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> *************** *** 40,44 **** using namespace eppobject::epp; ! void printRsp(const epp_LogoutRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 40,44 ---- using namespace eppobject::epp; ! void printRsp(const epp_LogoutRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 98,105 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 98,105 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 110,114 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 110,114 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_poll.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_poll.cc,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** main_poll.cc 30 Apr 2002 12:59:57 -0000 1.10 --- main_poll.cc 18 Jul 2002 10:12:58 -0000 1.11 *************** *** 44,48 **** using namespace eppobject::contact; ! void printRsp(const epp_PollRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 44,48 ---- using namespace eppobject::contact; ! void printRsp(const epp_PollRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 212,219 **** } ! catch(epp_XMLException ex) { cout << "epp_XMLException: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "epp_Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 212,219 ---- } ! catch(const epp_XMLException & ex) { cout << "epp_XMLException: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "epp_Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 224,228 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 224,228 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_status.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_status.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** main_status.cc 15 Mar 2002 16:34:23 -0000 1.2 --- main_status.cc 18 Jul 2002 10:12:58 -0000 1.3 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> *************** *** 41,45 **** using namespace eppobject::epp; ! void printRsp(const epp_StatusRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 41,45 ---- using namespace eppobject::epp; ! void printRsp(const epp_StatusRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 88,95 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 88,95 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 100,104 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 100,104 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } |
From: Asbjorn M. <ste...@us...> - 2002-07-18 10:10:42
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src In directory usw-pr-cvs1:/tmp/cvs-serv25839 Modified Files: main_domaincheck.cc main_domaincreate.cc main_domaindelete.cc main_domaininfo.cc main_domainrenew.cc main_domaintransfer.cc main_domainupdate.cc main_hello.cc main_hostcheck.cc main_hostcreate.cc main_hostdelete.cc main_hostinfo.cc main_hostupdate.cc Log Message: CLEANUP: -made more function arguments const reference -now catching exceptions const reference -minor formatting changes Index: main_domaincheck.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_domaincheck.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** main_domaincheck.cc 17 Apr 2002 14:02:56 -0000 1.9 --- main_domaincheck.cc 18 Jul 2002 10:10:39 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> *************** *** 41,45 **** using namespace eppobject::epp; ! void printRsp(const epp_DomainCheckRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 41,45 ---- using namespace eppobject::epp; ! void printRsp(const epp_DomainCheckRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 148,155 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 148,155 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 160,164 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 160,164 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_domaincreate.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_domaincreate.cc,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** main_domaincreate.cc 17 Apr 2002 14:02:56 -0000 1.10 --- main_domaincreate.cc 18 Jul 2002 10:10:39 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> *************** *** 41,45 **** using namespace eppobject::epp; ! void printRsp(const epp_DomainCreateRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 41,45 ---- using namespace eppobject::epp; ! void printRsp(const epp_DomainCreateRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 165,172 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 165,172 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 177,181 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 177,181 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_domaindelete.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_domaindelete.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** main_domaindelete.cc 17 Apr 2002 14:02:56 -0000 1.9 --- main_domaindelete.cc 18 Jul 2002 10:10:39 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> *************** *** 41,45 **** using namespace eppobject::epp; ! void printRsp(const epp_DomainDeleteRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 41,45 ---- using namespace eppobject::epp; ! void printRsp(const epp_DomainDeleteRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 108,115 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 108,115 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 120,124 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 120,124 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_domaininfo.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_domaininfo.cc,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** main_domaininfo.cc 17 Apr 2002 14:02:56 -0000 1.11 --- main_domaininfo.cc 18 Jul 2002 10:10:39 -0000 1.12 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> *************** *** 43,47 **** ! void printRsp(const epp_DomainInfoRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 43,47 ---- ! void printRsp(const epp_DomainInfoRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 233,240 **** } ! catch(eppobject::epp::epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(eppobject::epp::epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 233,240 ---- } ! catch(const eppobject::epp::epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const eppobject::epp::epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 245,249 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 245,249 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_domainrenew.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_domainrenew.cc,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** main_domainrenew.cc 17 Apr 2002 14:02:56 -0000 1.10 --- main_domainrenew.cc 18 Jul 2002 10:10:39 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> *************** *** 42,46 **** ! void printRsp(const epp_DomainRenewRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 42,46 ---- ! void printRsp(const epp_DomainRenewRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 126,133 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 126,133 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 138,142 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 138,142 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_domaintransfer.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_domaintransfer.cc,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** main_domaintransfer.cc 22 May 2002 09:54:07 -0000 1.10 --- main_domaintransfer.cc 18 Jul 2002 10:10:39 -0000 1.11 *************** *** 43,47 **** ! void printRsp(const epp_DomainTransferRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 43,47 ---- ! void printRsp(const epp_DomainTransferRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 186,193 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 186,193 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 198,202 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 198,202 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_domainupdate.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_domainupdate.cc,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** main_domainupdate.cc 24 Apr 2002 15:03:15 -0000 1.11 --- main_domainupdate.cc 18 Jul 2002 10:10:39 -0000 1.12 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> *************** *** 43,47 **** ! void printRsp(const epp_DomainUpdateRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 43,47 ---- ! void printRsp(const epp_DomainUpdateRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 288,295 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 288,295 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 300,304 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 300,304 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_hello.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_hello.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** main_hello.cc 19 Mar 2002 10:47:43 -0000 1.9 --- main_hello.cc 18 Jul 2002 10:10:39 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ /** @file main_hello.cc --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ /** @file main_hello.cc *************** *** 48,52 **** * @param req Greeting returned from the server */ ! void printRsp(const epp_Greeting_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 48,52 ---- * @param req Greeting returned from the server */ ! void printRsp(const epp_Greeting_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 242,249 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 242,249 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 254,258 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 254,258 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_hostcheck.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_hostcheck.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** main_hostcheck.cc 17 Apr 2002 11:54:36 -0000 1.9 --- main_hostcheck.cc 18 Jul 2002 10:10:39 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> *************** *** 42,46 **** ! void printRsp(const epp_HostCheckRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 42,46 ---- ! void printRsp(const epp_HostCheckRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 147,154 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 147,154 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 159,163 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 159,163 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_hostcreate.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_hostcreate.cc,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** main_hostcreate.cc 25 Apr 2002 09:48:34 -0000 1.11 --- main_hostcreate.cc 18 Jul 2002 10:10:39 -0000 1.12 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> *************** *** 44,48 **** ! void printRsp(const epp_HostCreateRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 44,48 ---- ! void printRsp(const epp_HostCreateRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 159,166 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 159,166 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 171,175 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 171,175 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_hostdelete.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_hostdelete.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** main_hostdelete.cc 17 Apr 2002 11:54:36 -0000 1.9 --- main_hostdelete.cc 18 Jul 2002 10:10:39 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> *************** *** 42,46 **** ! void printRsp(const epp_HostDeleteRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 42,46 ---- ! void printRsp(const epp_HostDeleteRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 109,116 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 109,116 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 121,125 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 121,125 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_hostinfo.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_hostinfo.cc,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** main_hostinfo.cc 17 Apr 2002 11:54:36 -0000 1.10 --- main_hostinfo.cc 18 Jul 2002 10:10:39 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> *************** *** 43,47 **** ! void printRsp(const epp_HostInfoRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 43,47 ---- ! void printRsp(const epp_HostInfoRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 180,187 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 180,187 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 192,196 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 192,196 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_hostupdate.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_hostupdate.cc,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** main_hostupdate.cc 25 Apr 2002 09:48:34 -0000 1.11 --- main_hostupdate.cc 18 Jul 2002 10:10:39 -0000 1.12 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> *************** *** 43,47 **** ! void printRsp(const epp_HostUpdateRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 43,47 ---- ! void printRsp(const epp_HostUpdateRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 243,250 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 243,250 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 255,259 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 255,259 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } |
Update of /cvsroot/epp-rtk/epp-rtk/c++/src In directory usw-pr-cvs1:/tmp/cvs-serv25061 Modified Files: main_contactcheck.cc main_contactcreate.cc main_contactdelete.cc main_contactinfo.cc main_contacttransfer.cc main_contactupdate.cc Log Message: CLEANUP: -made more function arguments const reference -now catching exceptions const reference -minor formatting changes Index: main_contactcheck.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_contactcheck.cc,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** main_contactcheck.cc 16 Apr 2002 19:51:02 -0000 1.10 --- main_contactcheck.cc 18 Jul 2002 10:07:59 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> *************** *** 41,45 **** using namespace eppobject::epp; ! void printRsp(const epp_ContactCheckRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 41,45 ---- using namespace eppobject::epp; ! void printRsp(const epp_ContactCheckRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 150,157 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 150,157 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 162,166 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 162,166 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_contactcreate.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_contactcreate.cc,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** main_contactcreate.cc 16 Apr 2002 19:51:02 -0000 1.11 --- main_contactcreate.cc 18 Jul 2002 10:08:00 -0000 1.12 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> *************** *** 41,45 **** using namespace eppobject::epp; ! void printRsp(const epp_ContactCreateRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 41,45 ---- using namespace eppobject::epp; ! void printRsp(const epp_ContactCreateRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 183,190 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 183,190 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 195,199 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 195,199 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_contactdelete.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_contactdelete.cc,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** main_contactdelete.cc 16 Apr 2002 19:51:02 -0000 1.10 --- main_contactdelete.cc 18 Jul 2002 10:08:00 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> *************** *** 41,45 **** using namespace eppobject::epp; ! void printRsp(const epp_ContactDeleteRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 41,45 ---- using namespace eppobject::epp; ! void printRsp(const epp_ContactDeleteRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 109,116 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 109,116 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 121,125 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 121,125 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_contactinfo.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_contactinfo.cc,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** main_contactinfo.cc 16 Apr 2002 19:51:02 -0000 1.12 --- main_contactinfo.cc 18 Jul 2002 10:08:00 -0000 1.13 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> *************** *** 44,48 **** ! void printRsp(const epp_ContactInfoRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 44,48 ---- ! void printRsp(const epp_ContactInfoRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 272,279 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 272,279 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 284,288 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 284,288 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_contacttransfer.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_contacttransfer.cc,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** main_contacttransfer.cc 22 May 2002 09:54:07 -0000 1.10 --- main_contacttransfer.cc 18 Jul 2002 10:08:00 -0000 1.11 *************** *** 43,47 **** ! void printRsp(const epp_ContactTransferRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 43,47 ---- ! void printRsp(const epp_ContactTransferRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 175,182 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 175,182 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 187,191 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 187,191 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } Index: main_contactupdate.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_contactupdate.cc,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** main_contactupdate.cc 16 Apr 2002 19:51:03 -0000 1.11 --- main_contactupdate.cc 18 Jul 2002 10:08:00 -0000 1.12 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <vector> *************** *** 43,47 **** ! void printRsp(const epp_ContactUpdateRsp_ref req) { cout << "Printing Response:\n_______________________________\n"; --- 43,47 ---- ! void printRsp(const epp_ContactUpdateRsp_ref & req) { cout << "Printing Response:\n_______________________________\n"; *************** *** 236,243 **** } ! catch(epp_XMLException ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(epp_Exception ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR --- 236,243 ---- } ! catch(const epp_XMLException & ex) { cout << "Exception: " << ex.getString() << endl; } ! catch(const epp_Exception & ex) { cout << "Exception: " << endl; #ifndef TEST_IO_REQUEST2CERR *************** *** 248,252 **** #endif } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; } --- 248,252 ---- #endif } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; } |
From: Asbjorn M. <ste...@us...> - 2002-07-18 10:02:05
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src In directory usw-pr-cvs1:/tmp/cvs-serv23620 Modified Files: testTools.h testTools.cc Log Message: CLEANUP: -made more function arguments const reference -now catching exceptions const reference -minor formatting changes Index: testTools.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/testTools.h,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** testTools.h 16 Apr 2002 15:57:11 -0000 1.11 --- testTools.h 18 Jul 2002 10:02:03 -0000 1.12 *************** *** 48,52 **** * @param results The results element returned from the server */ ! void printResultsSeq(const eppobject::epp::epp_result_seq_ref results); /** Function that takes an eppobject::epp::epp_TransID object and writes --- 48,52 ---- * @param results The results element returned from the server */ ! void printResultsSeq(const eppobject::epp::epp_result_seq_ref & results); /** Function that takes an eppobject::epp::epp_TransID object and writes *************** *** 55,59 **** * @param transID The transaction ID element returned from the server */ ! void printTransID(const eppobject::epp::epp_TransID_ref transID); /** Function that takes an eppobject::epp::epp_Response object and writes --- 55,59 ---- * @param transID The transaction ID element returned from the server */ ! void printTransID(const eppobject::epp::epp_TransID_ref & transID); /** Function that takes an eppobject::epp::epp_Response object and writes *************** *** 62,66 **** * @param response The response element returned from the server */ ! void printResponsePart(const eppobject::epp::epp_Response_ref response); /** Function that takes an eppobject::epp::epp_Response object and writes --- 62,66 ---- * @param response The response element returned from the server */ ! void printResponsePart(const eppobject::epp::epp_Response_ref & response); /** Function that takes an eppobject::epp::epp_Response object and writes *************** *** 69,73 **** * @param response The response element returned from the server */ ! void printResponsePart1(const eppobject::epp::epp_Response_ref response); /** Function that takes an eppobject::epp::epp_Response object and writes --- 69,73 ---- * @param response The response element returned from the server */ ! void printResponsePart1(const eppobject::epp::epp_Response_ref & response); /** Function that takes an eppobject::epp::epp_Response object and writes *************** *** 76,80 **** * @param response The response element returned from the server */ ! void printResponsePart2(const eppobject::epp::epp_Response_ref response); /** Function that writes to cerr a standard resData header --- 76,80 ---- * @param response The response element returned from the server */ ! void printResponsePart2(const eppobject::epp::epp_Response_ref & response); /** Function that writes to cerr a standard resData header Index: testTools.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/testTools.cc,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** testTools.cc 16 Apr 2002 15:57:11 -0000 1.14 --- testTools.cc 18 Jul 2002 10:02:03 -0000 1.15 *************** *** 46,50 **** using namespace epptransport; ! void printResultsSeq(const epp_result_seq_ref results) { if(results != NULL) { --- 46,50 ---- using namespace epptransport; ! void printResultsSeq(const epp_result_seq_ref & results) { if(results != NULL) { *************** *** 125,129 **** ! void printTransID(const eppobject::epp::epp_TransID_ref transID) { if(transID != NULL) { --- 125,129 ---- ! void printTransID(const eppobject::epp::epp_TransID_ref & transID) { if(transID != NULL) { *************** *** 140,144 **** ! void printResponsePart(const epp_Response_ref response) { printResponsePart1(response); --- 140,144 ---- ! void printResponsePart(const epp_Response_ref & response) { printResponsePart1(response); *************** *** 146,150 **** } // printResponsePart ! void printResponsePart1(const epp_Response_ref response) { if(response != NULL) { --- 146,150 ---- } // printResponsePart ! void printResponsePart1(const epp_Response_ref & response) { if(response != NULL) { *************** *** 180,184 **** } // printResponsePart1 ! void printResponsePart2(const epp_Response_ref response) { if(response != NULL) { --- 180,184 ---- } // printResponsePart1 ! void printResponsePart2(const epp_Response_ref & response) { if(response != NULL) { *************** *** 402,406 **** } } ! catch(epptransport::epp_TrException ex) { cout << "Exception: " << ex.getString() << endl; exit(1); --- 402,406 ---- } } ! catch(const epptransport::epp_TrException & ex) { cout << "Exception: " << ex.getString() << endl; exit(1); |
From: Asbjorn M. <ste...@us...> - 2002-07-18 09:57:13
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src In directory usw-pr-cvs1:/tmp/cvs-serv22085 Modified Files: epp_Action.h epp_Extension.h epp_Hello.h epp_Login.h epp_Logout.h epp_Poll.h epp_Session.h epp_Status.h epp_Unspec.h epp_Hello.cc epp_Login.cc epp_Logout.cc epp_Poll.cc epp_Session.cc epp_Status.cc Log Message: CLEANUP: -const'ed functions where possible -made more function arguments const reference -in epp_Unspec/epp_Extension, removed variable name in fromXML-functions -in epp_Poll, removed unused variable -minor formatting changes Index: epp_Action.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_Action.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** epp_Action.h 15 Mar 2002 13:20:13 -0000 1.5 --- epp_Action.h 18 Jul 2002 09:57:09 -0000 1.6 *************** *** 66,70 **** typedef refcnt_ptr<epp_Action> epp_Action_ref; ! }}; #endif --- 66,70 ---- typedef refcnt_ptr<epp_Action> epp_Action_ref; ! }} #endif Index: epp_Extension.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_Extension.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** epp_Extension.h 15 Mar 2002 13:20:13 -0000 1.3 --- epp_Extension.h 18 Jul 2002 09:57:09 -0000 1.4 *************** *** 59,63 **** * @param xml An XML #epp_string */ ! virtual void fromXML(const eppobject::epp::epp_string & xml) {}; }; --- 59,63 ---- * @param xml An XML #epp_string */ ! virtual void fromXML(const eppobject::epp::epp_string &) {}; }; Index: epp_Hello.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_Hello.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** epp_Hello.h 15 Mar 2002 13:20:13 -0000 1.5 --- epp_Hello.h 18 Jul 2002 09:57:09 -0000 1.6 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HELLO_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HELLO_H *************** *** 56,60 **** * @return Response element of object */ ! epp_Greeting_ref getResponseData(); /** Function that returns the correctly formatted EPP <hello> xml --- 56,60 ---- * @return Response element of object */ ! epp_Greeting_ref getResponseData() const; /** Function that returns the correctly formatted EPP <hello> xml *************** *** 75,79 **** typedef refcnt_ptr<epp_Hello> epp_Hello_ref; ! }}; --- 75,79 ---- typedef refcnt_ptr<epp_Hello> epp_Hello_ref; ! }} Index: epp_Login.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_Login.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** epp_Login.h 15 Mar 2002 13:20:13 -0000 1.5 --- epp_Login.h 18 Jul 2002 09:57:09 -0000 1.6 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_LOGIN_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_LOGIN_H *************** *** 64,68 **** * @return Response element of object */ ! epp_LoginRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 64,68 ---- * @return Response element of object */ ! epp_LoginRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns Index: epp_Logout.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_Logout.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** epp_Logout.h 15 Mar 2002 13:20:13 -0000 1.5 --- epp_Logout.h 18 Jul 2002 09:57:09 -0000 1.6 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_LOGOUT_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_LOGOUT_H *************** *** 64,68 **** * @return Response element of object */ ! epp_LogoutRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 64,68 ---- * @return Response element of object */ ! epp_LogoutRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns Index: epp_Poll.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_Poll.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_Poll.h 15 Mar 2002 13:20:13 -0000 1.8 --- epp_Poll.h 18 Jul 2002 09:57:09 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_POLL_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_POLL_H *************** *** 71,75 **** * @return Response element of object */ ! epp_PollRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 71,75 ---- * @return Response element of object */ ! epp_PollRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns *************** *** 92,96 **** typedef refcnt_ptr<epp_Poll> epp_Poll_ref; ! }}; --- 92,96 ---- typedef refcnt_ptr<epp_Poll> epp_Poll_ref; ! }} Index: epp_Session.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_Session.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_Session.h 15 Mar 2002 13:20:13 -0000 1.7 --- epp_Session.h 18 Jul 2002 09:57:09 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_SESSION_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_SESSION_H *************** *** 86,90 **** /// Setting the transport object /// @param transport Transport object to use ! virtual void setTransport(const epptransport::epp_TransportBase_ref transport) { m_transport = transport; --- 86,90 ---- /// Setting the transport object /// @param transport Transport object to use ! virtual void setTransport(const epptransport::epp_TransportBase_ref & transport) { m_transport = transport; *************** *** 143,147 **** typedef refcnt_ptr<epp_Session> epp_Session_ref; ! }}; #endif --- 143,147 ---- typedef refcnt_ptr<epp_Session> epp_Session_ref; ! }} #endif Index: epp_Status.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_Status.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** epp_Status.h 15 Mar 2002 13:20:13 -0000 1.2 --- epp_Status.h 18 Jul 2002 09:57:09 -0000 1.3 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_STATUS_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_STATUS_H *************** *** 64,68 **** * @return Response element of object */ ! epp_StatusRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 64,68 ---- * @return Response element of object */ ! epp_StatusRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns Index: epp_Unspec.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_Unspec.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_Unspec.h 15 Mar 2002 13:20:13 -0000 1.7 --- epp_Unspec.h 18 Jul 2002 09:57:09 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_UNSPEC_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_UNSPEC_H *************** *** 62,66 **** * @param xml An XML #epp_string */ ! virtual void fromXML(const eppobject::epp::epp_string & xml) {}; }; --- 62,66 ---- * @param xml An XML #epp_string */ ! virtual void fromXML(const eppobject::epp::epp_string &) {}; }; Index: epp_Hello.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_Hello.cc,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** epp_Hello.cc 8 Mar 2002 12:00:15 -0000 1.6 --- epp_Hello.cc 18 Jul 2002 09:57:09 -0000 1.7 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 37,41 **** using namespace eppobject::epp; ! epp_Greeting_ref epp_Hello::getResponseData() { return m_response; --- 37,41 ---- using namespace eppobject::epp; ! epp_Greeting_ref epp_Hello::getResponseData() const { return m_response; Index: epp_Login.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_Login.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_Login.cc 8 Mar 2002 12:00:15 -0000 1.8 --- epp_Login.cc 18 Jul 2002 09:57:09 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 42,46 **** } ! epp_LoginRsp_ref epp_Login::getResponseData() { return m_response; --- 42,46 ---- } ! epp_LoginRsp_ref epp_Login::getResponseData() const { return m_response; Index: epp_Logout.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_Logout.cc,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_Logout.cc 8 Mar 2002 12:00:15 -0000 1.7 --- epp_Logout.cc 18 Jul 2002 09:57:09 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 42,46 **** } ! epp_LogoutRsp_ref epp_Logout::getResponseData() { return m_response; --- 42,46 ---- } ! epp_LogoutRsp_ref epp_Logout::getResponseData() const { return m_response; Index: epp_Poll.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_Poll.cc,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** epp_Poll.cc 12 Mar 2002 14:13:31 -0000 1.10 --- epp_Poll.cc 18 Jul 2002 09:57:09 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 44,48 **** } ! epp_PollRsp_ref epp_Poll::getResponseData() { return m_response; --- 44,48 ---- } ! epp_PollRsp_ref epp_Poll::getResponseData() const { return m_response; *************** *** 112,117 **** if(!resChildNode->isNull()) { - - string nodeName = resChildNode->getNodeName(); // Which poll resData to handle by default: --- 112,115 ---- Index: epp_Session.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_Session.cc,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_Session.cc 24 Apr 2002 14:43:25 -0000 1.7 --- epp_Session.cc 18 Jul 2002 09:57:09 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "epp_Session.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "epp_Session.h" Index: epp_Status.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_Status.cc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** epp_Status.cc 8 Mar 2002 11:45:35 -0000 1.1 --- epp_Status.cc 18 Jul 2002 09:57:09 -0000 1.2 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 42,46 **** } ! epp_StatusRsp_ref epp_Status::getResponseData() { return m_response; --- 42,46 ---- } ! epp_StatusRsp_ref epp_Status::getResponseData() const { return m_response; |
From: Asbjorn M. <ste...@us...> - 2002-07-17 16:22:55
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src In directory usw-pr-cvs1:/tmp/cvs-serv15022 Modified Files: epp_HostCheck.h epp_HostCreate.h epp_HostDelete.h epp_HostInfo.h epp_HostUpdate.h epp_HostCheck.cc epp_HostCreate.cc epp_HostDelete.cc epp_HostInfo.cc epp_HostUpdate.cc Log Message: CLEANUP: -const'ed functions where possible -made more function arguments const reference -turned off lint-flagging of "suspicious" lines in cases where we know that they are ok -minor formatting changes Index: epp_HostCheck.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_HostCheck.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** epp_HostCheck.h 19 Mar 2002 17:51:48 -0000 1.6 --- epp_HostCheck.h 17 Jul 2002 16:22:52 -0000 1.7 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTCHECK_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTCHECK_H *************** *** 63,67 **** * @return Response element of object */ ! epp_HostCheckRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 63,67 ---- * @return Response element of object */ ! epp_HostCheckRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns *************** *** 84,88 **** typedef refcnt_ptr<epp_HostCheck> epp_HostCheck_ref; ! }}; #endif --- 84,88 ---- typedef refcnt_ptr<epp_HostCheck> epp_HostCheck_ref; ! }} #endif Index: epp_HostCreate.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_HostCreate.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** epp_HostCreate.h 15 Mar 2002 13:20:13 -0000 1.5 --- epp_HostCreate.h 17 Jul 2002 16:22:52 -0000 1.6 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTCREATE_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTCREATE_H *************** *** 63,67 **** * @return Response element of object */ ! epp_HostCreateRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 63,67 ---- * @return Response element of object */ ! epp_HostCreateRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns *************** *** 84,88 **** typedef refcnt_ptr<epp_HostCreate> epp_HostCreate_ref; ! }}; #endif --- 84,88 ---- typedef refcnt_ptr<epp_HostCreate> epp_HostCreate_ref; ! }} #endif Index: epp_HostDelete.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_HostDelete.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** epp_HostDelete.h 15 Mar 2002 13:20:13 -0000 1.5 --- epp_HostDelete.h 17 Jul 2002 16:22:52 -0000 1.6 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTDELETE_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTDELETE_H *************** *** 63,67 **** * @return Response element of object */ ! epp_HostDeleteRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 63,67 ---- * @return Response element of object */ ! epp_HostDeleteRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns *************** *** 84,88 **** typedef refcnt_ptr<epp_HostDelete> epp_HostDelete_ref; ! }}; --- 84,88 ---- typedef refcnt_ptr<epp_HostDelete> epp_HostDelete_ref; ! }} Index: epp_HostInfo.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_HostInfo.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** epp_HostInfo.h 15 Mar 2002 13:20:13 -0000 1.5 --- epp_HostInfo.h 17 Jul 2002 16:22:52 -0000 1.6 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTINFO_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTINFO_H *************** *** 63,67 **** * @return Response element of object */ ! epp_HostInfoRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 63,67 ---- * @return Response element of object */ ! epp_HostInfoRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns *************** *** 84,88 **** typedef refcnt_ptr<epp_HostInfo> epp_HostInfo_ref; ! }}; #endif --- 84,88 ---- typedef refcnt_ptr<epp_HostInfo> epp_HostInfo_ref; ! }} #endif Index: epp_HostUpdate.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_HostUpdate.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_HostUpdate.h 19 Mar 2002 17:51:48 -0000 1.8 --- epp_HostUpdate.h 17 Jul 2002 16:22:52 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTUPDATE_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTUPDATE_H *************** *** 54,59 **** */ void addRemAddElement(eppobject::epp::EPP_output & outputobject, ! const epp_HostUpdateAddRemove_ref element, ! const eppobject::epp::epp_string & mode); /** Helper function putting the change element into the request output object --- 54,59 ---- */ void addRemAddElement(eppobject::epp::EPP_output & outputobject, ! const epp_HostUpdateAddRemove_ref & element, ! const eppobject::epp::epp_string & mode) const; /** Helper function putting the change element into the request output object *************** *** 62,66 **** */ void addChangeElement(eppobject::epp::EPP_output & outputobject, ! const epp_HostUpdateChange_ref element); public: --- 62,66 ---- */ void addChangeElement(eppobject::epp::EPP_output & outputobject, ! const epp_HostUpdateChange_ref & element) const; public: *************** *** 80,84 **** * @return Response element of object */ ! epp_HostUpdateRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 80,84 ---- * @return Response element of object */ ! epp_HostUpdateRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns *************** *** 101,105 **** typedef refcnt_ptr<epp_HostUpdate> epp_HostUpdate_ref; ! }}; #endif --- 101,105 ---- typedef refcnt_ptr<epp_HostUpdate> epp_HostUpdate_ref; ! }} #endif Index: epp_HostCheck.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_HostCheck.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_HostCheck.cc 8 Mar 2002 12:00:15 -0000 1.8 --- epp_HostCheck.cc 17 Jul 2002 16:22:52 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 43,47 **** } ! epp_HostCheckRsp_ref epp_HostCheck::getResponseData() { return m_response; --- 43,47 ---- } ! epp_HostCheckRsp_ref epp_HostCheck::getResponseData() const { return m_response; *************** *** 136,143 **** string avail = chkResChildNode->getAttribute("avail"); // cout << "avail: " << avail << endl; ! if(avail == "1" || avail == "true") chRes.m_avail.ref(new epp_boolean(true)); else if(avail == "0" || avail == "false") chRes.m_avail.ref(new epp_boolean(false)); else throw epp_XMLException(__FILE__, __LINE__, "Empty or unknown avail-attribute"); chRes.m_value.ref(new epp_string(chkResChildNode->getNodeData())); --- 136,146 ---- string avail = chkResChildNode->getAttribute("avail"); // cout << "avail: " << avail << endl; ! ! //lint -e1556 ! // We know that the new-assignments are not really suspicious... if(avail == "1" || avail == "true") chRes.m_avail.ref(new epp_boolean(true)); else if(avail == "0" || avail == "false") chRes.m_avail.ref(new epp_boolean(false)); else throw epp_XMLException(__FILE__, __LINE__, "Empty or unknown avail-attribute"); + //lint +e1556 chRes.m_value.ref(new epp_string(chkResChildNode->getNodeData())); Index: epp_HostCreate.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_HostCreate.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_HostCreate.cc 8 Mar 2002 12:00:15 -0000 1.8 --- epp_HostCreate.cc 17 Jul 2002 16:22:52 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 43,47 **** } ! epp_HostCreateRsp_ref epp_HostCreate::getResponseData() { return m_response; --- 43,47 ---- } ! epp_HostCreateRsp_ref epp_HostCreate::getResponseData() const { return m_response; Index: epp_HostDelete.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_HostDelete.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_HostDelete.cc 8 Mar 2002 12:00:15 -0000 1.9 --- epp_HostDelete.cc 17 Jul 2002 16:22:52 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 44,48 **** } ! epp_HostDeleteRsp_ref epp_HostDelete::getResponseData() { return m_response; --- 44,48 ---- } ! epp_HostDeleteRsp_ref epp_HostDelete::getResponseData() const { return m_response; Index: epp_HostInfo.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_HostInfo.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_HostInfo.cc 8 Mar 2002 12:00:15 -0000 1.9 --- epp_HostInfo.cc 17 Jul 2002 16:22:52 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 43,47 **** } ! epp_HostInfoRsp_ref epp_HostInfo::getResponseData() { return m_response; --- 43,47 ---- } ! epp_HostInfoRsp_ref epp_HostInfo::getResponseData() const { return m_response; Index: epp_HostUpdate.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_HostUpdate.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_HostUpdate.cc 8 Mar 2002 12:00:15 -0000 1.8 --- epp_HostUpdate.cc 17 Jul 2002 16:22:52 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 44,48 **** } ! epp_HostUpdateRsp_ref epp_HostUpdate::getResponseData() { return m_response; --- 44,48 ---- } ! epp_HostUpdateRsp_ref epp_HostUpdate::getResponseData() const { return m_response; *************** *** 109,114 **** void epp_HostUpdate::addRemAddElement(eppobject::epp::EPP_output & outputobject, ! const epp_HostUpdateAddRemove_ref element, ! const eppobject::epp::epp_string & mode) { if(element == NULL) { --- 109,114 ---- void epp_HostUpdate::addRemAddElement(eppobject::epp::EPP_output & outputobject, ! const epp_HostUpdateAddRemove_ref & element, ! const eppobject::epp::epp_string & mode) const { if(element == NULL) { *************** *** 160,165 **** } void epp_HostUpdate::addChangeElement(eppobject::epp::EPP_output & outputobject, ! const epp_HostUpdateChange_ref element) { if(element == NULL) { --- 160,166 ---- } + void epp_HostUpdate::addChangeElement(eppobject::epp::EPP_output & outputobject, ! const epp_HostUpdateChange_ref & element) const { if(element == NULL) { |
From: Asbjorn M. <ste...@us...> - 2002-07-17 16:16:10
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src In directory usw-pr-cvs1:/tmp/cvs-serv12352 Modified Files: epp_DomainCheck.h epp_DomainCreate.h epp_DomainDelete.h epp_DomainInfo.h epp_DomainRenew.h epp_DomainTransfer.h epp_DomainUpdate.h epp_DomainCheck.cc epp_DomainCreate.cc epp_DomainDelete.cc epp_DomainInfo.cc epp_DomainRenew.cc epp_DomainTransfer.cc epp_DomainUpdate.cc Log Message: CLEANUP: -const'ed functions where possible -made more function arguments const reference -turned off lint-flagging of "suspicious" lines in cases where we know that they are ok -minor formatting changes Index: epp_DomainCheck.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_DomainCheck.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** epp_DomainCheck.h 19 Mar 2002 17:51:48 -0000 1.6 --- epp_DomainCheck.h 17 Jul 2002 16:16:07 -0000 1.7 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINCHECK_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINCHECK_H *************** *** 64,68 **** * @return Response element of object */ ! epp_DomainCheckRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 64,68 ---- * @return Response element of object */ ! epp_DomainCheckRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns *************** *** 85,89 **** typedef refcnt_ptr<epp_DomainCheck> epp_DomainCheck_ref; ! }}; #endif --- 85,89 ---- typedef refcnt_ptr<epp_DomainCheck> epp_DomainCheck_ref; ! }} #endif Index: epp_DomainCreate.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_DomainCreate.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** epp_DomainCreate.h 19 Mar 2002 17:51:48 -0000 1.6 --- epp_DomainCreate.h 17 Jul 2002 16:16:07 -0000 1.7 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINCREATE_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINCREATE_H *************** *** 64,68 **** * @return Response element of object */ ! epp_DomainCreateRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 64,68 ---- * @return Response element of object */ ! epp_DomainCreateRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns *************** *** 85,89 **** typedef refcnt_ptr<epp_DomainCreate> epp_DomainCreate_ref; ! }}; #endif --- 85,89 ---- typedef refcnt_ptr<epp_DomainCreate> epp_DomainCreate_ref; ! }} #endif Index: epp_DomainDelete.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_DomainDelete.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** epp_DomainDelete.h 19 Mar 2002 17:51:48 -0000 1.6 --- epp_DomainDelete.h 17 Jul 2002 16:16:07 -0000 1.7 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINDELETE_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINDELETE_H *************** *** 63,67 **** * @return Response element of object */ ! epp_DomainDeleteRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 63,67 ---- * @return Response element of object */ ! epp_DomainDeleteRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns *************** *** 84,88 **** typedef refcnt_ptr<epp_DomainDelete> epp_DomainDelete_ref; ! }}; #endif --- 84,88 ---- typedef refcnt_ptr<epp_DomainDelete> epp_DomainDelete_ref; ! }} #endif Index: epp_DomainInfo.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_DomainInfo.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** epp_DomainInfo.h 15 Mar 2002 13:20:13 -0000 1.5 --- epp_DomainInfo.h 17 Jul 2002 16:16:07 -0000 1.6 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAININFO_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAININFO_H *************** *** 63,67 **** * @return Response element of object */ ! epp_DomainInfoRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 63,67 ---- * @return Response element of object */ ! epp_DomainInfoRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns *************** *** 84,89 **** typedef refcnt_ptr<epp_DomainInfo> epp_DomainInfo_ref; ! }}; #endif - --- 84,88 ---- typedef refcnt_ptr<epp_DomainInfo> epp_DomainInfo_ref; ! }} #endif Index: epp_DomainRenew.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_DomainRenew.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** epp_DomainRenew.h 19 Mar 2002 17:51:48 -0000 1.6 --- epp_DomainRenew.h 17 Jul 2002 16:16:07 -0000 1.7 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINRENEW_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINRENEW_H *************** *** 63,67 **** * @return Response element of object */ ! epp_DomainRenewRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 63,67 ---- * @return Response element of object */ ! epp_DomainRenewRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns *************** *** 84,88 **** typedef refcnt_ptr<epp_DomainRenew> epp_DomainRenew_ref; ! }}; #endif --- 84,88 ---- typedef refcnt_ptr<epp_DomainRenew> epp_DomainRenew_ref; ! }} #endif Index: epp_DomainTransfer.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_DomainTransfer.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** epp_DomainTransfer.h 19 Mar 2002 17:51:48 -0000 1.6 --- epp_DomainTransfer.h 17 Jul 2002 16:16:07 -0000 1.7 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINTRANSFER_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINTRANSFER_H *************** *** 63,67 **** * @return Response element of object */ ! epp_DomainTransferRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 63,67 ---- * @return Response element of object */ ! epp_DomainTransferRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns *************** *** 84,88 **** typedef refcnt_ptr<epp_DomainTransfer> epp_DomainTransfer_ref; ! }}; #endif --- 84,88 ---- typedef refcnt_ptr<epp_DomainTransfer> epp_DomainTransfer_ref; ! }} #endif Index: epp_DomainUpdate.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_DomainUpdate.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_DomainUpdate.h 19 Mar 2002 17:51:48 -0000 1.7 --- epp_DomainUpdate.h 17 Jul 2002 16:16:07 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINUPDATE_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINUPDATE_H *************** *** 54,59 **** */ void addRemAddElement(eppobject::epp::EPP_output & outputobject, ! const epp_DomainUpdateAddRemove_ref element, ! const eppobject::epp::epp_string & mode); /** Helper function putting the change element into the request output object --- 54,59 ---- */ void addRemAddElement(eppobject::epp::EPP_output & outputobject, ! const epp_DomainUpdateAddRemove_ref & element, ! const eppobject::epp::epp_string & mode) const; /** Helper function putting the change element into the request output object *************** *** 62,66 **** */ void addChangeElement(eppobject::epp::EPP_output & outputobject, ! const epp_DomainUpdateChange_ref element); public: --- 62,66 ---- */ void addChangeElement(eppobject::epp::EPP_output & outputobject, ! const epp_DomainUpdateChange_ref & element) const; public: *************** *** 80,84 **** * @return Response element of object */ ! epp_DomainUpdateRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 80,84 ---- * @return Response element of object */ ! epp_DomainUpdateRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns *************** *** 101,105 **** typedef refcnt_ptr<epp_DomainUpdate> epp_DomainUpdate_ref; ! }}; #endif --- 101,105 ---- typedef refcnt_ptr<epp_DomainUpdate> epp_DomainUpdate_ref; ! }} #endif Index: epp_DomainCheck.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_DomainCheck.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_DomainCheck.cc 8 Mar 2002 12:00:14 -0000 1.8 --- epp_DomainCheck.cc 17 Jul 2002 16:16:07 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 43,47 **** } ! epp_DomainCheckRsp_ref epp_DomainCheck::getResponseData() { return m_response; --- 43,47 ---- } ! epp_DomainCheckRsp_ref epp_DomainCheck::getResponseData() const { return m_response; *************** *** 136,143 **** string avail = chkResChildNode->getAttribute("avail"); // cout << "avail: " << avail << endl; ! if(avail == "1" || avail == "true") chRes.m_avail.ref(new epp_boolean(true)); else if(avail == "0" || avail == "false") chRes.m_avail.ref(new epp_boolean(false)); else throw epp_XMLException(__FILE__, __LINE__, "Empty or unknown avail-attribute"); chRes.m_value.ref(new epp_string(chkResChildNode->getNodeData())); --- 136,146 ---- string avail = chkResChildNode->getAttribute("avail"); // cout << "avail: " << avail << endl; ! ! //lint -e1556 ! // We know that the new-assignments are not really suspicious... if(avail == "1" || avail == "true") chRes.m_avail.ref(new epp_boolean(true)); else if(avail == "0" || avail == "false") chRes.m_avail.ref(new epp_boolean(false)); else throw epp_XMLException(__FILE__, __LINE__, "Empty or unknown avail-attribute"); + //lint +e1556 chRes.m_value.ref(new epp_string(chkResChildNode->getNodeData())); Index: epp_DomainCreate.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_DomainCreate.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_DomainCreate.cc 8 Mar 2002 12:00:14 -0000 1.9 --- epp_DomainCreate.cc 17 Jul 2002 16:16:07 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 44,48 **** } ! epp_DomainCreateRsp_ref epp_DomainCreate::getResponseData() { return m_response; --- 44,48 ---- } ! epp_DomainCreateRsp_ref epp_DomainCreate::getResponseData() const { return m_response; Index: epp_DomainDelete.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_DomainDelete.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_DomainDelete.cc 8 Mar 2002 12:00:14 -0000 1.9 --- epp_DomainDelete.cc 17 Jul 2002 16:16:07 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 43,47 **** } ! epp_DomainDeleteRsp_ref epp_DomainDelete::getResponseData() { return m_response; --- 43,47 ---- } ! epp_DomainDeleteRsp_ref epp_DomainDelete::getResponseData() const { return m_response; Index: epp_DomainInfo.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_DomainInfo.cc,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** epp_DomainInfo.cc 8 Mar 2002 12:00:14 -0000 1.10 --- epp_DomainInfo.cc 17 Jul 2002 16:16:07 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 43,47 **** } ! epp_DomainInfoRsp_ref epp_DomainInfo::getResponseData() { return m_response; --- 43,47 ---- } ! epp_DomainInfoRsp_ref epp_DomainInfo::getResponseData() const { return m_response; Index: epp_DomainRenew.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_DomainRenew.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_DomainRenew.cc 8 Mar 2002 12:00:15 -0000 1.9 --- epp_DomainRenew.cc 17 Jul 2002 16:16:07 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 45,49 **** } ! epp_DomainRenewRsp_ref epp_DomainRenew::getResponseData() { return m_response; --- 45,49 ---- } ! epp_DomainRenewRsp_ref epp_DomainRenew::getResponseData() const { return m_response; Index: epp_DomainTransfer.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_DomainTransfer.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_DomainTransfer.cc 8 Mar 2002 12:00:15 -0000 1.9 --- epp_DomainTransfer.cc 17 Jul 2002 16:16:07 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 45,49 **** } ! epp_DomainTransferRsp_ref epp_DomainTransfer::getResponseData() { return m_response; --- 45,49 ---- } ! epp_DomainTransferRsp_ref epp_DomainTransfer::getResponseData() const { return m_response; Index: epp_DomainUpdate.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_DomainUpdate.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_DomainUpdate.cc 8 Mar 2002 12:00:15 -0000 1.9 --- epp_DomainUpdate.cc 17 Jul 2002 16:16:07 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 43,47 **** } ! epp_DomainUpdateRsp_ref epp_DomainUpdate::getResponseData() { return m_response; --- 43,47 ---- } ! epp_DomainUpdateRsp_ref epp_DomainUpdate::getResponseData() const { return m_response; *************** *** 109,114 **** void epp_DomainUpdate::addRemAddElement(eppobject::epp::EPP_output & outputobject, ! const epp_DomainUpdateAddRemove_ref element, ! const eppobject::epp::epp_string & mode) { if(element == NULL) { --- 109,114 ---- void epp_DomainUpdate::addRemAddElement(eppobject::epp::EPP_output & outputobject, ! const epp_DomainUpdateAddRemove_ref & element, ! const eppobject::epp::epp_string & mode) const { if(element == NULL) { *************** *** 166,170 **** void epp_DomainUpdate::addChangeElement(eppobject::epp::EPP_output & outputobject, ! const epp_DomainUpdateChange_ref element) { if(element == NULL) { --- 166,170 ---- void epp_DomainUpdate::addChangeElement(eppobject::epp::EPP_output & outputobject, ! const epp_DomainUpdateChange_ref & element) const { if(element == NULL) { |
From: Asbjorn M. <ste...@us...> - 2002-07-17 16:09:35
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src In directory usw-pr-cvs1:/tmp/cvs-serv9634 Modified Files: epp_ContactCheck.h epp_ContactCreate.h epp_ContactDelete.h epp_ContactInfo.h epp_ContactTransfer.h epp_ContactUpdate.h epp_ContactCheck.cc epp_ContactCreate.cc epp_ContactDelete.cc epp_ContactInfo.cc epp_ContactTransfer.cc epp_ContactUpdate.cc Log Message: CLEANUP: -const'ed functions where possible -made more function arguments const reference -turned off lint-flagging of "suspicious" lines in cases where we know that they are ok -minor formatting changes Index: epp_ContactCheck.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_ContactCheck.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** epp_ContactCheck.h 19 Mar 2002 17:51:48 -0000 1.6 --- epp_ContactCheck.h 17 Jul 2002 16:09:32 -0000 1.7 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTCHECK_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTCHECK_H *************** *** 63,67 **** * @return Response element of object */ ! epp_ContactCheckRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 63,67 ---- * @return Response element of object */ ! epp_ContactCheckRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns Index: epp_ContactCreate.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_ContactCreate.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** epp_ContactCreate.h 19 Mar 2002 17:51:48 -0000 1.6 --- epp_ContactCreate.h 17 Jul 2002 16:09:32 -0000 1.7 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTCREATE_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTCREATE_H *************** *** 63,67 **** * @return Response element of object */ ! epp_ContactCreateRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 63,67 ---- * @return Response element of object */ ! epp_ContactCreateRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns Index: epp_ContactDelete.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_ContactDelete.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** epp_ContactDelete.h 19 Mar 2002 17:51:48 -0000 1.6 --- epp_ContactDelete.h 17 Jul 2002 16:09:32 -0000 1.7 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTDELETE_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTDELETE_H *************** *** 63,67 **** * @return Response element of object */ ! epp_ContactDeleteRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 63,67 ---- * @return Response element of object */ ! epp_ContactDeleteRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns Index: epp_ContactInfo.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_ContactInfo.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** epp_ContactInfo.h 19 Mar 2002 17:51:48 -0000 1.6 --- epp_ContactInfo.h 17 Jul 2002 16:09:32 -0000 1.7 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTINFO_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTINFO_H *************** *** 64,68 **** * @return Response element of object */ ! epp_ContactInfoRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 64,68 ---- * @return Response element of object */ ! epp_ContactInfoRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns *************** *** 85,89 **** typedef refcnt_ptr<epp_ContactInfo> epp_ContactInfo_ref; ! }}; #endif --- 85,89 ---- typedef refcnt_ptr<epp_ContactInfo> epp_ContactInfo_ref; ! }} #endif Index: epp_ContactTransfer.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_ContactTransfer.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** epp_ContactTransfer.h 19 Mar 2002 17:51:48 -0000 1.6 --- epp_ContactTransfer.h 17 Jul 2002 16:09:32 -0000 1.7 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTTRANSFER_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTTRANSFER_H *************** *** 64,68 **** * @return Response element of object */ ! epp_ContactTransferRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 64,68 ---- * @return Response element of object */ ! epp_ContactTransferRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns *************** *** 85,89 **** typedef refcnt_ptr<epp_ContactTransfer> epp_ContactTransfer_ref; ! }}; #endif --- 85,89 ---- typedef refcnt_ptr<epp_ContactTransfer> epp_ContactTransfer_ref; ! }} #endif Index: epp_ContactUpdate.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_ContactUpdate.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_ContactUpdate.h 19 Mar 2002 17:51:48 -0000 1.7 --- epp_ContactUpdate.h 17 Jul 2002 16:09:32 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTUPDATE_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTUPDATE_H *************** *** 54,59 **** */ void addRemAddElement(eppobject::epp::EPP_output & outputobject, ! const epp_ContactUpdateAddRemove_ref element, ! const eppobject::epp::epp_string & mode); /** Helper function putting the change element into the request output object --- 54,59 ---- */ void addRemAddElement(eppobject::epp::EPP_output & outputobject, ! const epp_ContactUpdateAddRemove_ref & element, ! const eppobject::epp::epp_string & mode) const; /** Helper function putting the change element into the request output object *************** *** 62,66 **** */ void addChangeElement(eppobject::epp::EPP_output & outputobject, ! const epp_ContactUpdateChange_ref element); public: --- 62,66 ---- */ void addChangeElement(eppobject::epp::EPP_output & outputobject, ! const epp_ContactUpdateChange_ref & element) const; public: *************** *** 80,84 **** * @return Response element of object */ ! epp_ContactUpdateRsp_ref getResponseData(); /** Function that takes the request data object, parses it, and returns --- 80,84 ---- * @return Response element of object */ ! epp_ContactUpdateRsp_ref getResponseData() const; /** Function that takes the request data object, parses it, and returns *************** *** 101,105 **** typedef refcnt_ptr<epp_ContactUpdate> epp_ContactUpdate_ref; ! }}; #endif --- 101,105 ---- typedef refcnt_ptr<epp_ContactUpdate> epp_ContactUpdate_ref; ! }} #endif Index: epp_ContactCheck.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_ContactCheck.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_ContactCheck.cc 8 Mar 2002 12:00:14 -0000 1.8 --- epp_ContactCheck.cc 17 Jul 2002 16:09:32 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 43,47 **** } ! epp_ContactCheckRsp_ref epp_ContactCheck::getResponseData() { return m_response; --- 43,47 ---- } ! epp_ContactCheckRsp_ref epp_ContactCheck::getResponseData() const { return m_response; *************** *** 138,145 **** string avail = chkResChildNode->getAttribute("avail"); // cout << "avail: " << avail << endl; ! if(avail == "1" || avail == "true") chRes.m_avail.ref(new epp_boolean(true)); else if(avail == "0" || avail == "false") chRes.m_avail.ref(new epp_boolean(false)); else throw epp_XMLException(__FILE__, __LINE__, "Empty or unknown avail-attribute"); chRes.m_value.ref(new epp_string(chkResChildNode->getNodeData())); --- 138,148 ---- string avail = chkResChildNode->getAttribute("avail"); // cout << "avail: " << avail << endl; ! ! //lint -e1556 ! // We know that the new-assignments are not really suspicious... if(avail == "1" || avail == "true") chRes.m_avail.ref(new epp_boolean(true)); else if(avail == "0" || avail == "false") chRes.m_avail.ref(new epp_boolean(false)); else throw epp_XMLException(__FILE__, __LINE__, "Empty or unknown avail-attribute"); + //lint +e1556 chRes.m_value.ref(new epp_string(chkResChildNode->getNodeData())); Index: epp_ContactCreate.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_ContactCreate.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_ContactCreate.cc 8 Mar 2002 12:00:14 -0000 1.9 --- epp_ContactCreate.cc 17 Jul 2002 16:09:32 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 44,48 **** } ! epp_ContactCreateRsp_ref epp_ContactCreate::getResponseData() { return m_response; --- 44,48 ---- } ! epp_ContactCreateRsp_ref epp_ContactCreate::getResponseData() const { return m_response; Index: epp_ContactDelete.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_ContactDelete.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_ContactDelete.cc 8 Mar 2002 12:00:14 -0000 1.9 --- epp_ContactDelete.cc 17 Jul 2002 16:09:32 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 44,48 **** } ! epp_ContactDeleteRsp_ref epp_ContactDelete::getResponseData() { return m_response; --- 44,48 ---- } ! epp_ContactDeleteRsp_ref epp_ContactDelete::getResponseData() const { return m_response; Index: epp_ContactInfo.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_ContactInfo.cc,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** epp_ContactInfo.cc 8 Mar 2002 12:00:14 -0000 1.12 --- epp_ContactInfo.cc 17 Jul 2002 16:09:32 -0000 1.13 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 43,47 **** } ! epp_ContactInfoRsp_ref epp_ContactInfo::getResponseData() { return m_response; --- 43,47 ---- } ! epp_ContactInfoRsp_ref epp_ContactInfo::getResponseData() const { return m_response; Index: epp_ContactTransfer.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_ContactTransfer.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_ContactTransfer.cc 8 Mar 2002 12:00:14 -0000 1.9 --- epp_ContactTransfer.cc 17 Jul 2002 16:09:32 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 44,48 **** } ! epp_ContactTransferRsp_ref epp_ContactTransfer::getResponseData() { return m_response; --- 44,48 ---- } ! epp_ContactTransferRsp_ref epp_ContactTransfer::getResponseData() const { return m_response; Index: epp_ContactUpdate.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/epp_ContactUpdate.cc,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** epp_ContactUpdate.cc 8 Mar 2002 12:00:14 -0000 1.10 --- epp_ContactUpdate.cc 17 Jul 2002 16:09:33 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "config.h" *************** *** 44,48 **** } ! epp_ContactUpdateRsp_ref epp_ContactUpdate::getResponseData() { return m_response; --- 44,48 ---- } ! epp_ContactUpdateRsp_ref epp_ContactUpdate::getResponseData() const { return m_response; *************** *** 108,113 **** void epp_ContactUpdate::addRemAddElement(eppobject::epp::EPP_output & outputobject, ! const epp_ContactUpdateAddRemove_ref element, ! const eppobject::epp::epp_string & mode) { if(element == NULL) { --- 108,113 ---- void epp_ContactUpdate::addRemAddElement(eppobject::epp::EPP_output & outputobject, ! const epp_ContactUpdateAddRemove_ref & element, ! const eppobject::epp::epp_string & mode) const { if(element == NULL) { *************** *** 144,148 **** void epp_ContactUpdate::addChangeElement(eppobject::epp::EPP_output & outputobject, ! const epp_ContactUpdateChange_ref element) { if(element == NULL) { --- 144,148 ---- void epp_ContactUpdate::addChangeElement(eppobject::epp::EPP_output & outputobject, ! const epp_ContactUpdateChange_ref & element) const { if(element == NULL) { |
From: Asbjorn M. <ste...@us...> - 2002-07-17 15:37:07
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src/ssl In directory usw-pr-cvs1:/tmp/cvs-serv28790 Modified Files: npssl.cc npssl.h Log Message: CLEANUP: -const'ed functions where possible -added "default" to switch-statement -changed some attribute names in functions as they hided class member of the same names -turned off lint-checking of ignoring return values in cases where we believe it is fine to do so -added some casting to avoid lint-warnings -destructor can now not throw exceptions -fixed two memory leaks -remove unused variable (rep) -constructor did not initialize ssl -minor formatting changes Index: npssl.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/ssl/npssl.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** npssl.cc 20 Feb 2002 17:26:02 -0000 1.2 --- npssl.cc 17 Jul 2002 15:37:03 -0000 1.3 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "npssl.h" --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include "npssl.h" *************** *** 31,97 **** using namespace npbase; - //--------------------------------------------------------- char *sslerror(int err) { ! ! static char buf[4196]; ! switch (err) { ! case SSL_ERROR_NONE: strcpy(buf, "SSL_ERROR_NONE"); break; ! case SSL_ERROR_ZERO_RETURN: strcpy(buf, "SSL_ERROR_ZERO_RETURN"); break; ! case SSL_ERROR_WANT_READ: strcpy(buf, "SSL_WANT_READ"); break; ! case SSL_ERROR_WANT_WRITE: strcpy(buf, "SSL_WANT_WRITE"); break; ! case SSL_ERROR_WANT_X509_LOOKUP: strcpy(buf, "SSL_WANT_X509_LOOKUP"); break; ! case SSL_ERROR_SYSCALL: strcpy(buf, "SSL_ERROR_SYSCALL"); break; ! case SSL_ERROR_SSL: strcpy(buf, "SSL_ERROR_SSL"); break; ! } ! ! return buf; } - //--------------------------------------------------------- - - npbase::npssl::npssl(int bufsiz, const bool mode = true) { ! // Create input/output buffer ! this->bufsiz = bufsiz; ! buf = new char[bufsiz]; ! ! // Initialize SSL library ! SSL_load_error_strings(); ! SSL_library_init(); ! ! // Add ciphers and message digests ! OpenSSL_add_ssl_algorithms(); ! ! // create a new SSL_CTX object as ! // framework for TLS/SSL enabled functions ctx = SSL_CTX_new(SSLv23_method()); ! if (ctx == NULL) ssl_error(); ! server = mode; } - void npbase::npssl::setClientVerification(int mode,int (*verify_callback)(int, X509_STORE_CTX *)) { ! SSL_CTX_set_verify(ctx, mode, verify_callback); } - void npbase::npssl::setClientVerificationDepth(int depth) { ! SSL_CTX_set_verify_depth(ctx, depth); } - void npbase::npssl::newConnection(void) { // create a new SSL structure for a connection ssl = SSL_new(ctx); ! if (ssl == NULL) ssl_error(); ! // configure the connection for client mode if necessary if(!server) --- 31,105 ---- using namespace npbase; char *sslerror(int err) { ! ! static char buf[4196]; ! switch (err) { ! case SSL_ERROR_NONE: strcpy(buf, "SSL_ERROR_NONE"); break; ! case SSL_ERROR_ZERO_RETURN: strcpy(buf, "SSL_ERROR_ZERO_RETURN"); break; ! case SSL_ERROR_WANT_READ: strcpy(buf, "SSL_WANT_READ"); break; ! case SSL_ERROR_WANT_WRITE: strcpy(buf, "SSL_WANT_WRITE"); break; ! case SSL_ERROR_WANT_X509_LOOKUP: strcpy(buf, "SSL_WANT_X509_LOOKUP"); break; ! case SSL_ERROR_SYSCALL: strcpy(buf, "SSL_ERROR_SYSCALL"); break; ! case SSL_ERROR_SSL: strcpy(buf, "SSL_ERROR_SSL"); break; ! default: strcpy(buf, "SSL_ERROR_DEFAULT"); break; ! } ! ! return buf; } ! npbase::npssl::npssl(int myBufsiz, const bool mode = true) { ! ! // Create input/output buffer ! bufsiz = myBufsiz; ! buf = new char[(unsigned int)bufsiz]; ! ! // Initialize SSL library ! //lint -e534 ! // We are not interested in the return values here ! SSL_load_error_strings(); ! SSL_library_init(); ! //lint +e534 ! ! // Add ciphers and message digests ! //lint -e534 ! // We are not interested in the return value here ! OpenSSL_add_ssl_algorithms(); ! //lint +e534 ! ! // create a new SSL_CTX object as ! // framework for TLS/SSL enabled functions ctx = SSL_CTX_new(SSLv23_method()); ! if (ctx == NULL) ssl_error(); ! server = mode; + + ssl = (SSL *)NULL; } ! void npbase::npssl::setClientVerification(int mode,int (*verify_callback)(int, X509_STORE_CTX *)) { + SSL_CTX_set_verify(ctx, mode, verify_callback); } ! void npbase::npssl::setClientVerificationDepth(int depth) { + SSL_CTX_set_verify_depth(ctx, depth); } + void npbase::npssl::newConnection(void) { + // create a new SSL structure for a connection ssl = SSL_new(ctx); ! if (ssl == NULL) ssl_error(); ! // configure the connection for client mode if necessary if(!server) *************** *** 99,374 **** } - void npbase::npssl::setExData(int index, void * data) { ! // create a new SSL structure for a connection ! SSL_set_ex_data(ssl, index, data); } X509 * npbase::npssl::getPeerCertificate( void ) { ! return SSL_get_peer_certificate(ssl); ! } - long npbase::npssl::getVerifyResult( void) { ! return SSL_get_verify_result(ssl); } - //--------------------------------------------------------- npbase::npssl::~npssl() { ! ! SSL_shutdown(ssl); ! SSL_CTX_free(ctx); ! delete buf; } - //--------------------------------------------------------- void npbase::npssl::setCertFile(const string &certname) { ! ! if (!SSL_CTX_use_certificate_file(ctx, certname.c_str(), SSL_FILETYPE_PEM)) ! ssl_error(); ! ! if (!SSL_CTX_use_PrivateKey_file(ctx, certname.c_str(), SSL_FILETYPE_PEM)) ! ssl_error(); ! ! if (!SSL_CTX_check_private_key(ctx)) ! ssl_error(); } - void npbase::npssl::setVerifyLocations(const string &certname, const string &pathname) { if(!SSL_CTX_load_verify_locations(ctx, certname.c_str(),pathname.c_str())) ssl_error(); - } - //--------------------------------------------------------- bool npbase::npssl::handShake(int fdin, int fdout) { ! ! ! // SSL_set_rfd - connect the SSL object with fdin ! if (SSL_set_rfd(ssl, fdin) != 1) { ! // An error occurred ! ssl_error(); ! } ! ! // SSL_set_wfd - connect the SSL object with fdout ! if (SSL_set_wfd(ssl, fdout) != 1) { ! // An error occurred ! ssl_error(); ! } ! ! if(server) { ! if (SSL_accept(ssl) != 1) ! ssl_error(); ! } else { ! if (SSL_connect(ssl) != 1) ! ssl_error(); ! } ! ! return true; } - //--------------------------------------------------------- void npbase::npssl::ssl_error(void) { ! ERR_print_errors_fp(stderr); ! ! SSL_shutdown(ssl); ! SSL_CTX_free(ctx); ! delete buf; ! exit(1); } - //--------------------------------------------------------- char npbase::npssl::getch(void) { ! ! memset(buf, 0, bufsiz); ! int bytesread = SSL_read(ssl, buf, 1); ! ! if (bytesread == 0) { ! ERR_print_errors_fp(stderr); ! return EOF; ! } ! ! if (bytesread == -1) { ! ERR_print_errors_fp(stderr); ! string rep = "0"; ! return EOF; ! } ! ! return buf[0]; } - //--------------------------------------------------------- string npbase::npssl::getS(void) { ! ! memset(buf, 0, bufsiz); ! int bytesread = SSL_read(ssl, buf, bufsiz - 1); ! ! if (bytesread == 0) { ! ERR_print_errors_fp(stderr); ! string rep = "0"; ! rep[0] = (char)-1; ! return rep; ! } ! ! if (bytesread == -1) { ! ERR_print_errors_fp(stderr); ! string rep = "0"; ! rep[0] = (char)-1; ! return rep; ! } ! ! return buf; } - //--------------------------------------------------------- string npbase::npssl::bufferedGetS(void) { ! ! if (int_inbuffer.length() == 0) { ! int_inbuffer = getS(); ! ! if (int_inbuffer.find(-1) != string::npos) { ! string s = "0"; ! s[0] = (char) -1; ! return s; ! } ! ! while (int_inbuffer.find('\n') == string::npos) { ! int_inbuffer += getS(); ! if (int_inbuffer.find(-1) != string::npos) { ! string s = "0"; ! s[0] = (char) -1; ! return s; } ! } ! } ! ! string::size_type pos = int_inbuffer.find('\n'); ! string readstr; ! if (pos != string::npos) { ! readstr = int_inbuffer.substr(0, pos + 1); ! int_inbuffer = int_inbuffer.substr(pos + 1); ! } else { ! readstr = int_inbuffer; ! int_inbuffer = ""; ! } ! ! return readstr; } - //--------------------------------------------------------- void npbase::npssl::bufferedUnGetch(char c) { ! ! int_inbuffer = c + int_inbuffer; ! ! return; } - //--------------------------------------------------------- char npbase::npssl::bufferedGetch(void) { ! ! if (int_inbuffer == "") { ! int_inbuffer = getS(); ! ! if (int_inbuffer.find((char)-1) != string::npos) ! return EOF; ! ! while (int_inbuffer.find('\n') == string::npos) { if (int_inbuffer.find((char)-1) != string::npos) return EOF; ! ! int_inbuffer += getS(); ! } ! } ! ! char c = int_inbuffer[0]; ! int_inbuffer = int_inbuffer.substr(1); ! ! return c; } - //--------------------------------------------------------- - - bool npbase::npssl::hasMore(void) { ! return int_inbuffer.length() > 0; } - //--------------------------------------------------------- bool npbase::npssl::putS(const string &str) { ! ! int byteswrote = SSL_write(ssl, str.c_str(), str.length()); ! ! if (byteswrote == 0) { ! ERR_print_errors_fp(stderr); ! return false; ! } ! ! if (byteswrote == -1) { ! ERR_print_errors_fp(stderr); ! return false; ! } ! ! return true; } - //--------------------------------------------------------- bool npbase::npssl::bufferedPutch(char c) { ! ! int_outbuffer += c; ! if (int_outbuffer.find('\n') != string::npos) { ! ! string::size_type pos = int_outbuffer.find('\n'); ! string writestr = int_outbuffer.substr(0, pos + 1); ! int_outbuffer = int_outbuffer.substr(pos + 1); ! ! return putS(writestr); ! } ! ! return true; } - //--------------------------------------------------------- bool npbase::npssl::bufferedPutS(const string &str) { ! int_outbuffer += str; ! ! if (int_outbuffer.find('\n') != string::npos) { ! string::size_type pos = int_outbuffer.find('\n'); ! string writestr = int_outbuffer.substr(0, pos + 1); ! int_outbuffer = int_outbuffer.substr(pos + 1); ! ! return putS(writestr); ! } ! ! return true; } - //--------------------------------------------------------- bool npbase::npssl::flush(void) { ! ! if (int_outbuffer != "") { ! bool res = putS(int_outbuffer); ! int_outbuffer = ""; ! return res; ! } else ! return true; } - --- 107,377 ---- } ! void npbase::npssl::setExData(int myIndex, void * data) { ! ! // create a new SSL structure for a connection ! //lint -e534 ! // We are not interested in the return value here ! SSL_set_ex_data(ssl, myIndex, data); ! //lint +e534 } + X509 * npbase::npssl::getPeerCertificate( void ) { ! return SSL_get_peer_certificate(ssl); } ! long npbase::npssl::getVerifyResult( void) { + return SSL_get_verify_result(ssl); } npbase::npssl::~npssl() { ! ! // To avoid the destructor from throwing an exception: ! try { ! SSL_shutdown(ssl); ! SSL_CTX_free(ctx); ! delete[] buf; ! } catch(...) { ! } ! } void npbase::npssl::setCertFile(const string &certname) { ! ! if (!SSL_CTX_use_certificate_file(ctx, certname.c_str(), SSL_FILETYPE_PEM)) ! ssl_error(); ! ! if (!SSL_CTX_use_PrivateKey_file(ctx, certname.c_str(), SSL_FILETYPE_PEM)) ! ssl_error(); ! ! if (!SSL_CTX_check_private_key(ctx)) ! ssl_error(); } + void npbase::npssl::setVerifyLocations(const string &certname, const string &pathname) { + if(!SSL_CTX_load_verify_locations(ctx, certname.c_str(),pathname.c_str())) ssl_error(); } bool npbase::npssl::handShake(int fdin, int fdout) { ! ! // SSL_set_rfd - connect the SSL object with fdin ! if (SSL_set_rfd(ssl, fdin) != 1) { ! // An error occurred ! ssl_error(); ! } ! ! // SSL_set_wfd - connect the SSL object with fdout ! if (SSL_set_wfd(ssl, fdout) != 1) { ! // An error occurred ! ssl_error(); ! } ! ! if(server) { ! if (SSL_accept(ssl) != 1) ! ssl_error(); ! } else { ! if (SSL_connect(ssl) != 1) ! ssl_error(); ! } ! ! return true; } void npbase::npssl::ssl_error(void) { + + ERR_print_errors_fp(stderr); ! //lint -e534 ! // We are not interested in the return value here ! SSL_shutdown(ssl); ! //lint +e534 ! SSL_CTX_free(ctx); ! delete[] buf; ! exit(1); } char npbase::npssl::getch(void) { ! ! memset(buf, 0, (unsigned int)bufsiz); ! int bytesread = SSL_read(ssl, buf, 1); ! ! if (bytesread == 0) { ! ERR_print_errors_fp(stderr); ! return EOF; ! } ! ! if (bytesread == -1) { ! ERR_print_errors_fp(stderr); ! return EOF; ! } ! ! return buf[0]; } string npbase::npssl::getS(void) { ! ! memset(buf, 0, (unsigned int)bufsiz); ! int bytesread = SSL_read(ssl, buf, bufsiz - 1); ! ! if (bytesread == 0) { ! ERR_print_errors_fp(stderr); ! string rep = "0"; ! rep[0] = (char)-1; ! return rep; ! } ! ! if (bytesread == -1) { ! ERR_print_errors_fp(stderr); ! string rep = "0"; ! rep[0] = (char)-1; ! return rep; ! } ! ! return buf; } string npbase::npssl::bufferedGetS(void) { ! ! if (int_inbuffer.length() == 0) { ! int_inbuffer = getS(); ! if (int_inbuffer.find(-1) != string::npos) { ! string s = "0"; ! s[0] = (char) -1; ! return s; } ! ! while (int_inbuffer.find('\n') == string::npos) { ! int_inbuffer += getS(); ! ! if (int_inbuffer.find(-1) != string::npos) { ! string s = "0"; ! s[0] = (char) -1; ! return s; ! } ! } ! } ! ! string::size_type pos = int_inbuffer.find('\n'); ! string readstr; ! if (pos != string::npos) { ! readstr = int_inbuffer.substr(0, pos + 1); ! int_inbuffer = int_inbuffer.substr(pos + 1); ! } else { ! readstr = int_inbuffer; ! int_inbuffer = ""; ! } ! ! return readstr; } void npbase::npssl::bufferedUnGetch(char c) { ! ! int_inbuffer = c + int_inbuffer; ! ! return; } char npbase::npssl::bufferedGetch(void) { ! ! if (int_inbuffer == "") { ! int_inbuffer = getS(); ! if (int_inbuffer.find((char)-1) != string::npos) return EOF; ! ! while (int_inbuffer.find('\n') == string::npos) { ! if (int_inbuffer.find((char)-1) != string::npos) ! return EOF; ! ! int_inbuffer += getS(); ! } ! } ! ! char c = int_inbuffer[0]; ! int_inbuffer = int_inbuffer.substr(1); ! ! return c; } ! bool npbase::npssl::hasMore(void) const { ! ! return int_inbuffer.length() > 0; } bool npbase::npssl::putS(const string &str) { ! ! int byteswrote = SSL_write(ssl, str.c_str(), (int)str.length()); ! ! if (byteswrote == 0) { ! ERR_print_errors_fp(stderr); ! return false; ! } ! ! if (byteswrote == -1) { ! ERR_print_errors_fp(stderr); ! return false; ! } ! ! return true; } bool npbase::npssl::bufferedPutch(char c) { ! ! int_outbuffer += c; ! if (int_outbuffer.find('\n') != string::npos) { ! ! string::size_type pos = int_outbuffer.find('\n'); ! string writestr = int_outbuffer.substr(0, pos + 1); ! int_outbuffer = int_outbuffer.substr(pos + 1); ! ! return putS(writestr); ! } ! ! return true; } bool npbase::npssl::bufferedPutS(const string &str) { ! int_outbuffer += str; ! ! if (int_outbuffer.find('\n') != string::npos) { ! string::size_type pos = int_outbuffer.find('\n'); ! string writestr = int_outbuffer.substr(0, pos + 1); ! int_outbuffer = int_outbuffer.substr(pos + 1); ! ! return putS(writestr); ! } ! ! return true; } bool npbase::npssl::flush(void) { ! ! if (int_outbuffer != "") { ! bool res = putS(int_outbuffer); ! int_outbuffer = ""; ! return res; ! } else ! return true; } Index: npssl.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/ssl/npssl.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** npssl.h 20 Feb 2002 17:26:02 -0000 1.2 --- npssl.h 17 Jul 2002 15:37:03 -0000 1.3 *************** *** 1,33 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef npssl_h_included #define npssl_h_included - // ------------------------------------------------- #include <openssl/ssl.h> --- 1,32 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef npssl_h_included #define npssl_h_included #include <openssl/ssl.h> *************** *** 36,100 **** #include <string> - // ------------------------------------------------- namespace npbase { ! class npssl { ! SSL *ssl; ! SSL_CTX *ctx; ! int bufsiz; ! char *buf; ! bool server; ! ! string int_inbuffer; ! string int_outbuffer; ! string readbuffer; ! ! void ssl_error(void); ! ! public: ! ! ! void setVerifyLocations(const string &certname, const string &pathname); ! void setClientVerification(int mode,int (*verify_callback)(int, X509_STORE_CTX *)); ! void setClientVerificationDepth(int depth); ! void newConnection(void); ! void setExData(int index, void * data); ! X509 * getPeerCertificate( void ); ! long getVerifyResult( void ); ! ! void setCertFile(const string &filename); ! bool handShake(int infd, int outfd); ! ! int get_rfd(void); ! int get_wfd(void); ! ! // get functions ! string getS(void); ! char getch(void); ! string bufferedGetS(void); ! char bufferedGetch(void); ! void bufferedUnGetch(char c); ! ! bool hasMore(void); ! ! // put functions ! bool putS(const string &str); ! bool putch(char c); ! bool bufferedPutS(const string &str); ! bool bufferedPutch(char c); ! ! ! bool flush(void); ! ! ! npssl(int bufsiz, bool mode); ! ~npssl(); ! }; ! ! ! }; - // ------------------------------------------------- #endif --- 35,93 ---- #include <string> namespace npbase { + + class npssl { + SSL *ssl; + SSL_CTX *ctx; + int bufsiz; + char *buf; + bool server; + + string int_inbuffer; + string int_outbuffer; + string readbuffer; + + void ssl_error(void); + + public: + + void setVerifyLocations(const string &certname, const string &pathname); + void setClientVerification(int mode,int (*verify_callback)(int, X509_STORE_CTX *)); + void setClientVerificationDepth(int depth); + void newConnection(void); + void setExData(int myIndex, void * data); + X509 * getPeerCertificate( void ); + long getVerifyResult( void ); + + void setCertFile(const string &filename); + bool handShake(int infd, int outfd); + + int get_rfd(void); + int get_wfd(void); + + // get functions + string getS(void); + char getch(void); + string bufferedGetS(void); + char bufferedGetch(void); + void bufferedUnGetch(char c); + + bool hasMore(void) const; + + // put functions + bool putS(const string &str); + bool putch(char c); + bool bufferedPutS(const string &str); + bool bufferedPutch(char c); + + bool flush(void); + + npssl(int myBufsiz, bool mode); + ~npssl(); + }; ! } #endif |
From: Asbjorn M. <ste...@us...> - 2002-07-17 15:02:14
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src/data In directory usw-pr-cvs1:/tmp/cvs-serv16482 Modified Files: epp_contactXMLbase.h epp_contactdata.h epp_domainXMLbase.h epp_domaindata.h epp_eppXMLbase.h epp_eppdata.h epp_hostXMLbase.h epp_hostdata.h Log Message: CLEANUP: -made more function arguments const reference -turned off a few lint-warnings for deprecated functions -changed some variable names as they hided symbols with same names -minor formatting changes Index: epp_contactXMLbase.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_contactXMLbase.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_contactXMLbase.h 8 Mar 2002 11:41:27 -0000 1.8 --- epp_contactXMLbase.h 17 Jul 2002 15:02:11 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTXMLBASE_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTXMLBASE_H *************** *** 56,60 **** */ void addAddressElement(eppobject::epp::EPP_output & outputobject, ! const epp_ContactNameAddress_ref element, const eppobject::epp::epp_string & tag, const eppobject::epp::epp_boolean & update = false); --- 56,60 ---- */ void addAddressElement(eppobject::epp::EPP_output & outputobject, ! const epp_ContactNameAddress_ref & element, const eppobject::epp::epp_string & tag, const eppobject::epp::epp_boolean & update = false); *************** *** 100,103 **** epp_ContactNameAddress parseAddress(const DOM_Node & adrNode); ! }}; #endif --- 100,103 ---- epp_ContactNameAddress parseAddress(const DOM_Node & adrNode); ! }} #endif Index: epp_contactdata.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_contactdata.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** epp_contactdata.h 14 Mar 2002 16:45:17 -0000 1.6 --- epp_contactdata.h 17 Jul 2002 15:02:11 -0000 1.7 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTDATA_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTDATA_H *************** *** 78,81 **** typedef refcnt_ptr<epp_contact_status_seq> epp_contact_status_seq_ref; ! }}; #endif --- 78,81 ---- typedef refcnt_ptr<epp_contact_status_seq> epp_contact_status_seq_ref; ! }} #endif Index: epp_domainXMLbase.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_domainXMLbase.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** epp_domainXMLbase.h 8 Mar 2002 11:41:27 -0000 1.5 --- epp_domainXMLbase.h 17 Jul 2002 15:02:11 -0000 1.6 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINXMLBASE_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINXMLBASE_H Index: epp_domaindata.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_domaindata.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_domaindata.h 14 Mar 2002 16:45:17 -0000 1.8 --- epp_domaindata.h 17 Jul 2002 15:02:11 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINDATA_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINDATA_H *************** *** 71,75 **** enum epp_DomainPeriodUnitType { YEAR, ! MONTH, }; --- 71,75 ---- enum epp_DomainPeriodUnitType { YEAR, ! MONTH }; *************** *** 81,85 **** ADMIN, BILLING, ! TECH, }; --- 81,85 ---- ADMIN, BILLING, ! TECH }; Index: epp_eppXMLbase.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_eppXMLbase.h,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** epp_eppXMLbase.h 15 May 2002 16:29:27 -0000 1.12 --- epp_eppXMLbase.h 17 Jul 2002 15:02:11 -0000 1.13 *************** *** 66,70 **** */ void addExtensionElement(EPP_output & outputobject, ! const epp_Extension_ref unspecpart); --- 66,70 ---- */ void addExtensionElement(EPP_output & outputobject, ! const epp_Extension_ref & unspecpart); *************** *** 74,79 **** * @throw epp_XMLException If mandatory data is missing in the epp_Credentials object */ ! void addCredsElement(EPP_output & outputobject, ! const epp_Credentials_ref credspart); --- 74,79 ---- * @throw epp_XMLException If mandatory data is missing in the epp_Credentials object */ ! void addCredsElement(EPP_output & outputobject, ! const epp_Credentials_ref & credspart); *************** *** 85,89 **** */ void addAuthInfoElement(EPP_output & outputobject, ! const epp_AuthInfo_ref element, const epp_string & tag); --- 85,89 ---- */ void addAuthInfoElement(EPP_output & outputobject, ! const epp_AuthInfo_ref & element, const epp_string & tag); *************** *** 153,157 **** * @throw epp_Exception If there response node reports an error condition */ ! epp_Response_ref createGenericResponse(domtools::dom_ptr & node); --- 153,157 ---- * @throw epp_Exception If there response node reports an error condition */ ! epp_Response_ref createGenericResponse(const domtools::dom_ptr & node); *************** *** 161,165 **** * @throw epp_XMLException If it is unable find the correct XML-elements in the Node */ ! epp_Greeting_ref createGreetingResponse(domtools::dom_ptr & node); --- 161,165 ---- * @throw epp_XMLException If it is unable find the correct XML-elements in the Node */ ! epp_Greeting_ref createGreetingResponse(const domtools::dom_ptr & node); *************** *** 178,182 **** * @throw epp_XMLException If it is unable find the correct XML-elements in the Node */ ! epp_Service_ref createServiceObject(domtools::dom_ptr & node); /** Returns the corresponsing epp_string text for the given epp_StatusCommandType-enum --- 178,182 ---- * @throw epp_XMLException If it is unable find the correct XML-elements in the Node */ ! epp_Service_ref createServiceObject(const domtools::dom_ptr & node); /** Returns the corresponsing epp_string text for the given epp_StatusCommandType-enum *************** *** 192,196 **** * @throw epp_XMLException If it is unable find the correct XML-elements in the Node */ ! epp_DataCollectionPolicy_ref createDCPObject(domtools::dom_ptr & node); --- 192,196 ---- * @throw epp_XMLException If it is unable find the correct XML-elements in the Node */ ! epp_DataCollectionPolicy_ref createDCPObject(const domtools::dom_ptr & node); *************** *** 249,255 **** */ void addUnspecElement(EPP_output & outputobject, ! const epp_Unspec_ref unspecpart); ! }}; #endif --- 249,255 ---- */ void addUnspecElement(EPP_output & outputobject, ! const epp_Unspec_ref & unspecpart); ! }} #endif Index: epp_eppdata.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_eppdata.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_eppdata.h 19 Mar 2002 10:47:43 -0000 1.9 --- epp_eppdata.h 17 Jul 2002 15:02:11 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_EPPDATA_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_EPPDATA_H *************** *** 52,56 **** QUERY, REJECT, ! REQUEST, }; --- 52,56 ---- QUERY, REJECT, ! REQUEST }; *************** *** 74,78 **** enum epp_PollOpType { ACK, ! REQ, }; --- 74,78 ---- enum epp_PollOpType { ACK, ! REQ }; *************** *** 95,99 **** /// Authorization information type enum epp_AuthInfoType { ! PW, }; --- 95,99 ---- /// Authorization information type enum epp_AuthInfoType { ! PW }; Index: epp_hostXMLbase.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_hostXMLbase.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** epp_hostXMLbase.h 20 Feb 2002 17:26:02 -0000 1.4 --- epp_hostXMLbase.h 17 Jul 2002 15:02:11 -0000 1.5 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTXMLBASE_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTXMLBASE_H Index: epp_hostdata.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_hostdata.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** epp_hostdata.h 14 Mar 2002 16:45:17 -0000 1.6 --- epp_hostdata.h 17 Jul 2002 15:02:11 -0000 1.7 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTDATA_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTDATA_H *************** *** 65,69 **** enum epp_HostAddressType { IPV4, ! IPV6, }; --- 65,69 ---- enum epp_HostAddressType { IPV4, ! IPV6 }; |
From: Asbjorn M. <ste...@us...> - 2002-07-17 15:01:55
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src/data In directory usw-pr-cvs1:/tmp/cvs-serv16388 Modified Files: epp_contactXMLbase.cc epp_domainXMLbase.cc epp_eppXMLbase.cc epp_hostXMLbase.cc Log Message: CLEANUP: -made more function arguments const reference -turned off a few lint-warnings for deprecated functions -changed some variable names as they hided symbols with same names -minor formatting changes Index: epp_contactXMLbase.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_contactXMLbase.cc,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** epp_contactXMLbase.cc 13 Jun 2002 14:06:13 -0000 1.11 --- epp_contactXMLbase.cc 17 Jul 2002 15:01:51 -0000 1.12 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ /** @file epp_contactXMLbase.cc --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ /** @file epp_contactXMLbase.cc *************** *** 51,57 **** void eppobject::contact::addAddressElement(eppobject::epp::EPP_output & outputobject, ! const epp_ContactNameAddress_ref element, const eppobject::epp::epp_string & tag, ! const eppobject::epp::epp_boolean & update = false) { if(element == NULL) { --- 51,57 ---- void eppobject::contact::addAddressElement(eppobject::epp::EPP_output & outputobject, ! const epp_ContactNameAddress_ref & element, const eppobject::epp::epp_string & tag, ! const eppobject::epp::epp_boolean & update /* = false */) { if(element == NULL) { *************** *** 248,251 **** --- 248,255 ---- *********************************23**********************************/ + //lint -e1773 + // "Info 1773: Attempt to cast away const (or volatile)" + // As the functions below are deprecated, we are not concerned about + // these warnings. *************** *** 297,301 **** // <FIXME>Should we check that all mandatory fields present?</fixme> ! for(unsigned int i = 0; i < elemNodes.getLength(); i++) { DOM_Node elNode = elemNodes.item(i); --- 301,305 ---- // <FIXME>Should we check that all mandatory fields present?</fixme> ! for(unsigned int i = 0; i < elemNodes.getLength(); i++) { DOM_Node elNode = elemNodes.item(i); *************** *** 346,347 **** --- 350,352 ---- } + //lint +e1773 Index: epp_domainXMLbase.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_domainXMLbase.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_domainXMLbase.cc 8 Mar 2002 11:41:27 -0000 1.8 --- epp_domainXMLbase.cc 17 Jul 2002 15:01:51 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ /** @file epp_domainXMLbase.cc --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ /** @file epp_domainXMLbase.cc Index: epp_eppXMLbase.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_eppXMLbase.cc,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** epp_eppXMLbase.cc 31 May 2002 14:27:19 -0000 1.16 --- epp_eppXMLbase.cc 17 Jul 2002 15:01:51 -0000 1.17 *************** *** 59,63 **** ! void eppobject::epp::addExtensionElement(EPP_output & outputobject, const epp_Extension_ref extension) { if(extension == NULL) { --- 59,63 ---- ! void eppobject::epp::addExtensionElement(EPP_output & outputobject, const epp_Extension_ref & extension) { if(extension == NULL) { *************** *** 98,102 **** ! void eppobject::epp::addCredsElement(EPP_output & outputobject, const epp_Credentials_ref credspart) { if(credspart == NULL) { --- 98,102 ---- ! void eppobject::epp::addCredsElement(EPP_output & outputobject, const epp_Credentials_ref & credspart) { if(credspart == NULL) { *************** *** 134,138 **** ! void eppobject::epp::addAuthInfoElement(EPP_output & outputobject, const epp_AuthInfo_ref element, const epp_string & tag) { if(element == NULL) { --- 134,138 ---- ! void eppobject::epp::addAuthInfoElement(EPP_output & outputobject, const epp_AuthInfo_ref & element, const epp_string & tag) { if(element == NULL) { *************** *** 306,310 **** ! epp_Response_ref eppobject::epp::createGenericResponse(domtools::dom_ptr & node) { epp_Response_ref res(new epp_Response); --- 306,310 ---- ! epp_Response_ref eppobject::epp::createGenericResponse(const domtools::dom_ptr & node) { epp_Response_ref res(new epp_Response); *************** *** 385,391 **** while(!resultChildNode->isNull()) { ! string nodeName = resultChildNode->getNodeName(); ! if(nodeName == "msg") { result.m_msg.ref(new epp_string(resultChildNode->getNodeData())); // cout << "msg: " << *result.m_msg << endl; --- 385,391 ---- while(!resultChildNode->isNull()) { ! string resNodeName = resultChildNode->getNodeName(); ! if(resNodeName == "msg") { result.m_msg.ref(new epp_string(resultChildNode->getNodeData())); // cout << "msg: " << *result.m_msg << endl; *************** *** 404,408 **** } // if "msg" ! else if(nodeName == "value") { if(result.m_values == NULL) { result.m_values.ref(new epp_string_seq); --- 404,408 ---- } // if "msg" ! else if(resNodeName == "value") { if(result.m_values == NULL) { result.m_values.ref(new epp_string_seq); *************** *** 414,418 **** } // if "value" ! else if(nodeName == "data") { dom_ptr dataChildNode = dom_ptr(resultChildNode->getFirstChildElement()); --- 414,418 ---- } // if "value" ! else if(resNodeName == "data") { dom_ptr dataChildNode = dom_ptr(resultChildNode->getFirstChildElement()); *************** *** 474,478 **** ! epp_Greeting_ref eppobject::epp::createGreetingResponse(domtools::dom_ptr & node) { epp_Greeting_ref gr(new epp_Greeting()); --- 474,478 ---- ! epp_Greeting_ref eppobject::epp::createGreetingResponse(const domtools::dom_ptr & node) { epp_Greeting_ref gr(new epp_Greeting()); *************** *** 503,509 **** while(!elNode->isNull()) { ! string nodeName = elNode->getNodeName(); ! if(nodeName == "version") { if(gr->m_svc_menu->m_versions == NULL) { gr->m_svc_menu->m_versions.ref(new epp_string_seq); --- 503,509 ---- while(!elNode->isNull()) { ! string serNodeName = elNode->getNodeName(); ! if(serNodeName == "version") { if(gr->m_svc_menu->m_versions == NULL) { gr->m_svc_menu->m_versions.ref(new epp_string_seq); *************** *** 514,518 **** } // if "version" ! else if(nodeName == "lang") { if(gr->m_svc_menu->m_langs == NULL) { gr->m_svc_menu->m_langs.ref(new epp_string_seq); --- 514,518 ---- } // if "version" ! else if(serNodeName == "lang") { if(gr->m_svc_menu->m_langs == NULL) { gr->m_svc_menu->m_langs.ref(new epp_string_seq); *************** *** 523,527 **** } // if "lang" ! else if(nodeName == "objURI") { if(gr->m_svc_menu->m_services == NULL) { gr->m_svc_menu->m_services.ref(new epp_objuri_seq); --- 523,527 ---- } // if "lang" ! else if(serNodeName == "objURI") { if(gr->m_svc_menu->m_services == NULL) { gr->m_svc_menu->m_services.ref(new epp_objuri_seq); *************** *** 532,536 **** } // if "objURI" ! else if(nodeName == "svcExtension") { gr->m_svc_menu->m_extensions.ref(new epp_exturi_seq); --- 532,536 ---- } // if "objURI" ! else if(serNodeName == "svcExtension") { gr->m_svc_menu->m_extensions.ref(new epp_exturi_seq); *************** *** 594,598 **** ! epp_Service_ref eppobject::epp::createServiceObject(domtools::dom_ptr & node) { epp_Service_ref eService(new epp_Service()); --- 594,598 ---- ! epp_Service_ref eppobject::epp::createServiceObject(const domtools::dom_ptr & node) { epp_Service_ref eService(new epp_Service()); *************** *** 625,629 **** ! epp_DataCollectionPolicy_ref eppobject::epp::createDCPObject(domtools::dom_ptr & node) { epp_DataCollectionPolicy_ref dcp(new epp_DataCollectionPolicy); --- 625,629 ---- ! epp_DataCollectionPolicy_ref eppobject::epp::createDCPObject(const domtools::dom_ptr & node) { epp_DataCollectionPolicy_ref dcp(new epp_DataCollectionPolicy); *************** *** 746,749 **** --- 746,759 ---- *********************************23**********************************/ + //lint -e1773 + // "Info 1773: Attempt to cast away const (or volatile)" + //lint -e1746 + // "Info 1746: parameter <x> in function <y> could be made const reference" + //lint -e1764 + // "Info 1764: Reference parameter <x> (line <y>) could be declared const ref" + + // As the functions below are deprecated, we are not concerned about + // the above lint-warnings. + // Warning: This function is deprecated, use the dom_ptr version instead! *************** *** 769,772 **** --- 779,783 ---- + // Warning: This function is deprecated, use the dom_ptr version instead! DOM_Document eppobject::epp::createDOM_Document(const epp_string & xml) *************** *** 963,969 **** result.m_values.ref(new epp_string_seq); ! for(unsigned int i = 0; i < valueNodes.getLength(); i++) { ! DOM_Node valueNode = valueNodes.item(i); string value; getNodeData(valueNode, value); --- 974,980 ---- result.m_values.ref(new epp_string_seq); ! for(unsigned int j = 0; j < valueNodes.getLength(); j++) { ! DOM_Node valueNode = valueNodes.item(j); string value; getNodeData(valueNode, value); *************** *** 1022,1026 **** } ! void eppobject::epp::addUnspecElement(EPP_output & outputobject, const epp_Unspec_ref unspec) { if(unspec == NULL) --- 1033,1037 ---- } ! void eppobject::epp::addUnspecElement(EPP_output & outputobject, const epp_Unspec_ref & unspec) { if(unspec == NULL) *************** *** 1043,1044 **** --- 1054,1058 ---- } + //lint +e1773 + //lint +e1746 + //lint +e1764 Index: epp_hostXMLbase.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_hostXMLbase.cc,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_hostXMLbase.cc 8 Mar 2002 11:41:27 -0000 1.7 --- epp_hostXMLbase.cc 17 Jul 2002 15:01:51 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ /** @file epp_hostXMLbase.cc --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ /** @file epp_hostXMLbase.cc |
Update of /cvsroot/epp-rtk/epp-rtk/c++/src/data In directory usw-pr-cvs1:/tmp/cvs-serv17570 Modified Files: epp_LoginReq.h epp_LoginRsp.h epp_LogoutReq.h epp_LogoutRsp.h epp_MessageQueue.h epp_Options.h epp_PollContactTransfer.h epp_PollDomainTransfer.h epp_PollReq.h epp_PollResData.h epp_PollResDataUnion.h epp_PollResFactory.h epp_PollRsp.h epp_Response.h epp_Result.h epp_ResultData.h epp_Service.h epp_ServiceMenu.h epp_StatusReq.h epp_StatusResultData.h epp_StatusRsp.h epp_TransID.h epp_TransferRequest.h epp_XMLException.h epp_PollResFactory.cc Log Message: CLEANUP: -all constructors now have const reference arguments -turned off lint-flagging of "suspicious" lines in cases where we know that they are ok -removed "throw()" declaration from exception class constructors -const'ed functions where possible -now casting pointers to the correct type when NULLing pointers -minor formatting changes Index: epp_LoginReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_LoginReq.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** epp_LoginReq.h 9 Mar 2002 15:48:46 -0000 1.10 --- epp_LoginReq.h 17 Jul 2002 13:44:48 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_LOGINREQ_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_LOGINREQ_H *************** *** 54,60 **** /// Constructor, using only references ! epp_LoginReq(epp_Command_ref _m_cmd, ! epp_objuri_seq_ref _m_services, ! epp_exturi_seq_ref _m_extensions) : epp_GenericReq(_m_cmd) { --- 54,60 ---- /// Constructor, using only references ! epp_LoginReq(const epp_Command_ref & _m_cmd, ! const epp_objuri_seq_ref & _m_services, ! const epp_exturi_seq_ref & _m_extensions) : epp_GenericReq(_m_cmd) { *************** *** 67,71 **** typedef refcnt_ptr<epp_LoginReq> epp_LoginReq_ref; ! }}; #endif --- 67,71 ---- typedef refcnt_ptr<epp_LoginReq> epp_LoginReq_ref; ! }} #endif Index: epp_LoginRsp.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_LoginRsp.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_LoginRsp.h 9 Mar 2002 15:48:46 -0000 1.8 --- epp_LoginRsp.h 17 Jul 2002 13:44:48 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_LOGINRSP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_LOGINRSP_H *************** *** 51,55 **** /// Constructor ! epp_LoginRsp(epp_Response_ref _m_rsp) : epp_GenericRsp(_m_rsp) {}; --- 51,55 ---- /// Constructor ! epp_LoginRsp(const epp_Response_ref & _m_rsp) : epp_GenericRsp(_m_rsp) {}; *************** *** 59,63 **** typedef refcnt_ptr<epp_LoginRsp> epp_LoginRsp_ref; ! }}; #endif --- 59,63 ---- typedef refcnt_ptr<epp_LoginRsp> epp_LoginRsp_ref; ! }} #endif Index: epp_LogoutReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_LogoutReq.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_LogoutReq.h 14 Mar 2002 16:45:16 -0000 1.8 --- epp_LogoutReq.h 17 Jul 2002 13:44:48 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_LOGOUTREQ_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_LOGOUTREQ_H *************** *** 54,59 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_LogoutReq(epp_Extension_ref _m_ext, ! epp_trid _m_client_trid) { m_ext = _m_ext; --- 54,59 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_LogoutReq(const epp_Extension_ref & _m_ext, ! const epp_trid & _m_client_trid) { m_ext = _m_ext; *************** *** 62,67 **** /// Constructor, using only references ! epp_LogoutReq(epp_Extension_ref _m_ext, ! epp_trid_ref _m_client_trid) { m_ext = _m_ext; --- 62,67 ---- /// Constructor, using only references ! epp_LogoutReq(const epp_Extension_ref & _m_ext, ! const epp_trid_ref & _m_client_trid) { m_ext = _m_ext; *************** *** 73,77 **** typedef refcnt_ptr<epp_LogoutReq> epp_LogoutReq_ref; ! }}; #endif --- 73,77 ---- typedef refcnt_ptr<epp_LogoutReq> epp_LogoutReq_ref; ! }} #endif Index: epp_LogoutRsp.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_LogoutRsp.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_LogoutRsp.h 22 Feb 2002 17:14:14 -0000 1.7 --- epp_LogoutRsp.h 17 Jul 2002 13:44:48 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_LOGOUTRSP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_LOGOUTRSP_H *************** *** 51,55 **** /// Constructor ! epp_LogoutRsp(epp_Response_ref _m_rsp) : epp_GenericRsp(_m_rsp) {}; --- 51,55 ---- /// Constructor ! epp_LogoutRsp(const epp_Response_ref & _m_rsp) : epp_GenericRsp(_m_rsp) {}; *************** *** 59,63 **** typedef refcnt_ptr<epp_LogoutRsp> epp_LogoutRsp_ref; ! }}; #endif --- 59,63 ---- typedef refcnt_ptr<epp_LogoutRsp> epp_LogoutRsp_ref; ! }} #endif Index: epp_MessageQueue.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_MessageQueue.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** epp_MessageQueue.h 22 Feb 2002 15:46:02 -0000 1.3 --- epp_MessageQueue.h 17 Jul 2002 13:44:48 -0000 1.4 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_MESSAGEQUEUE_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_MESSAGEQUEUE_H *************** *** 53,66 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_MessageQueue(epp_long _m_count, ! epp_datetime _m_queue_date) { m_count.ref(new epp_long(_m_count)); m_queue_date.ref(new epp_datetime(_m_queue_date)); }; /// Constructor, using only references ! epp_MessageQueue(epp_long_ref _m_count, ! epp_datetime_ref _m_queue_date) { m_count = _m_count; --- 53,69 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_MessageQueue(const epp_long & _m_count, ! const epp_datetime & _m_queue_date) { + //lint -e1556 + // We know that this line is not really suspicious... m_count.ref(new epp_long(_m_count)); + //lint +e1556 m_queue_date.ref(new epp_datetime(_m_queue_date)); }; /// Constructor, using only references ! epp_MessageQueue(const epp_long_ref & _m_count, ! const epp_datetime_ref & _m_queue_date) { m_count = _m_count; *************** *** 71,75 **** typedef refcnt_ptr<epp_MessageQueue> epp_MessageQueue_ref; ! }}; #endif --- 74,78 ---- typedef refcnt_ptr<epp_MessageQueue> epp_MessageQueue_ref; ! }} #endif Index: epp_Options.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_Options.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_Options.h 22 Feb 2002 15:46:02 -0000 1.7 --- epp_Options.h 17 Jul 2002 13:44:48 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_OPTIONS_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_OPTIONS_H *************** *** 53,58 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_Options(epp_string _m_version, ! epp_string _m_lang) { m_version.ref(new epp_string(_m_version)); --- 53,58 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_Options(const epp_string & _m_version, ! const epp_string & _m_lang) { m_version.ref(new epp_string(_m_version)); *************** *** 61,66 **** /// Constructor, using only references ! epp_Options(epp_string_ref _m_version, ! epp_string_ref _m_lang) { m_version = _m_version; --- 61,66 ---- /// Constructor, using only references ! epp_Options(const epp_string_ref & _m_version, ! const epp_string_ref & _m_lang) { m_version = _m_version; *************** *** 72,76 **** typedef refcnt_ptr<epp_Options> epp_Options_ref; ! }}; #endif --- 72,76 ---- typedef refcnt_ptr<epp_Options> epp_Options_ref; ! }} #endif Index: epp_PollContactTransfer.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_PollContactTransfer.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** epp_PollContactTransfer.h 9 Mar 2002 15:48:46 -0000 1.5 --- epp_PollContactTransfer.h 17 Jul 2002 13:44:48 -0000 1.6 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_POLLCONTACTTRANSFER_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_POLLCONTACTTRANSFER_H *************** *** 56,61 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_PollContactTransfer(epp_string _m_contact_id, ! epp_AuthInfo_ref _m_auth_info) { m_contact_id.ref(new epp_string(_m_contact_id)); --- 56,61 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_PollContactTransfer(const epp_string & _m_contact_id, ! const epp_AuthInfo_ref & _m_auth_info) { m_contact_id.ref(new epp_string(_m_contact_id)); *************** *** 64,69 **** /// Constructor, using only references ! epp_PollContactTransfer(epp_string_ref _m_contact_id, ! epp_AuthInfo_ref _m_auth_info) { m_contact_id = _m_contact_id; --- 64,69 ---- /// Constructor, using only references ! epp_PollContactTransfer(const epp_string_ref & _m_contact_id, ! const epp_AuthInfo_ref & _m_auth_info) { m_contact_id = _m_contact_id; *************** *** 76,80 **** typedef refcnt_ptr<epp_PollContactTransfer> epp_PollContactTransfer_ref; ! }}; #endif --- 76,80 ---- typedef refcnt_ptr<epp_PollContactTransfer> epp_PollContactTransfer_ref; ! }} #endif Index: epp_PollDomainTransfer.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_PollDomainTransfer.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_PollDomainTransfer.h 9 Mar 2002 15:48:46 -0000 1.7 --- epp_PollDomainTransfer.h 17 Jul 2002 13:44:48 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_POLLDOMAINTRANSFER_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_POLLDOMAINTRANSFER_H *************** *** 56,61 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_PollDomainTransfer(epp_string _m_domain_name, ! epp_AuthInfo_ref _m_auth_info) { m_domain_name.ref(new epp_string(_m_domain_name)); --- 56,61 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_PollDomainTransfer(const epp_string & _m_domain_name, ! const epp_AuthInfo_ref & _m_auth_info) { m_domain_name.ref(new epp_string(_m_domain_name)); *************** *** 64,69 **** /// Constructor, using only references ! epp_PollDomainTransfer(epp_string_ref _m_domain_name, ! epp_AuthInfo_ref _m_auth_info) { m_domain_name = _m_domain_name; --- 64,69 ---- /// Constructor, using only references ! epp_PollDomainTransfer(const epp_string_ref & _m_domain_name, ! const epp_AuthInfo_ref & _m_auth_info) { m_domain_name = _m_domain_name; *************** *** 75,79 **** typedef refcnt_ptr<epp_PollDomainTransfer> epp_PollDomainTransfer_ref; ! }}; #endif --- 75,79 ---- typedef refcnt_ptr<epp_PollDomainTransfer> epp_PollDomainTransfer_ref; ! }} #endif Index: epp_PollReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_PollReq.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_PollReq.h 14 Mar 2002 16:45:16 -0000 1.7 --- epp_PollReq.h 17 Jul 2002 13:44:48 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_POLLREQ_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_POLLREQ_H *************** *** 55,61 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_PollReq(epp_Command_ref _m_cmd, ! epp_PollOpType _m_op, ! epp_string _m_msgID) : epp_GenericReq(_m_cmd) { --- 55,61 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_PollReq(const epp_Command_ref & _m_cmd, ! const epp_PollOpType & _m_op, ! const epp_string & _m_msgID) : epp_GenericReq(_m_cmd) { *************** *** 65,71 **** /// Constructor, using only references ! epp_PollReq(epp_Command_ref _m_cmd, ! epp_PollOpType_ref _m_op, ! epp_string_ref _m_msgID) : epp_GenericReq(_m_cmd) { --- 65,71 ---- /// Constructor, using only references ! epp_PollReq(const epp_Command_ref & _m_cmd, ! const epp_PollOpType_ref & _m_op, ! const epp_string_ref & _m_msgID) : epp_GenericReq(_m_cmd) { *************** *** 78,82 **** typedef refcnt_ptr<epp_PollReq> epp_PollReq_ref; ! }}; #endif --- 78,82 ---- typedef refcnt_ptr<epp_PollReq> epp_PollReq_ref; ! }} #endif Index: epp_PollResData.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_PollResData.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_PollResData.h 12 Mar 2002 20:38:33 -0000 1.8 --- epp_PollResData.h 17 Jul 2002 13:44:48 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_POLLRESDATA_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_POLLRESDATA_H *************** *** 67,71 **** ! }}; #endif --- 67,71 ---- ! }} #endif Index: epp_PollResDataUnion.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_PollResDataUnion.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_PollResDataUnion.h 9 Mar 2002 15:48:46 -0000 1.8 --- epp_PollResDataUnion.h 17 Jul 2002 13:44:48 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_POLLRESDATAUNION_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_POLLRESDATAUNION_H *************** *** 155,159 **** typedef refcnt_ptr<epp_PollResDataUnion> epp_PollResDataUnion_ref; ! }}; #endif --- 155,159 ---- typedef refcnt_ptr<epp_PollResDataUnion> epp_PollResDataUnion_ref; ! }} #endif Index: epp_PollResFactory.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_PollResFactory.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** epp_PollResFactory.h 12 Mar 2002 20:38:33 -0000 1.2 --- epp_PollResFactory.h 17 Jul 2002 13:44:48 -0000 1.3 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_POLLRESFACTORY_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_POLLRESFACTORY_H *************** *** 81,85 **** typedef refcnt_ptr<epp_PollResFactory> epp_PollResFactory_ref; ! }}; #endif --- 81,85 ---- typedef refcnt_ptr<epp_PollResFactory> epp_PollResFactory_ref; ! }} #endif Index: epp_PollRsp.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_PollRsp.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_PollRsp.h 14 Mar 2002 16:45:16 -0000 1.7 --- epp_PollRsp.h 17 Jul 2002 13:44:48 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_POLLRSP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_POLLRSP_H *************** *** 54,59 **** /// Constructor, using only references ! epp_PollRsp(epp_Response_ref _m_rsp, ! epp_PollResData_ref _m_res_data) : epp_GenericRsp(_m_rsp) { --- 54,59 ---- /// Constructor, using only references ! epp_PollRsp(const epp_Response_ref & _m_rsp, ! const epp_PollResData_ref & _m_res_data) : epp_GenericRsp(_m_rsp) { *************** *** 65,69 **** typedef refcnt_ptr<epp_PollRsp> epp_PollRsp_ref; ! }}; #endif --- 65,69 ---- typedef refcnt_ptr<epp_PollRsp> epp_PollRsp_ref; ! }} #endif Index: epp_Response.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_Response.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_Response.h 8 Mar 2002 11:41:27 -0000 1.9 --- epp_Response.h 17 Jul 2002 13:44:48 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_RESPONSE_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_RESPONSE_H *************** *** 58,65 **** /// Constructor, using only references ! epp_Response(epp_result_seq_ref _m_results, ! epp_MessageQueue_ref _m_message_queue, ! epp_xml_string_ref _m_ext_string, ! epp_TransID_ref _m_trans_id) { m_results = _m_results; --- 58,65 ---- /// Constructor, using only references ! epp_Response(const epp_result_seq_ref & _m_results, ! const epp_MessageQueue_ref & _m_message_queue, ! const epp_xml_string_ref & _m_ext_string, ! const epp_TransID_ref & _m_trans_id) { m_results = _m_results; *************** *** 73,77 **** typedef refcnt_ptr<epp_Response> epp_Response_ref; ! }}; #endif --- 73,77 ---- typedef refcnt_ptr<epp_Response> epp_Response_ref; ! }} #endif Index: epp_Result.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_Result.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_Result.h 9 Mar 2002 15:48:46 -0000 1.9 --- epp_Result.h 17 Jul 2002 13:44:48 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_RESULT_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_RESULT_H *************** *** 60,71 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_Result(epp_short _m_code, ! epp_string_seq_ref _m_values, ! epp_string _m_msg, ! epp_string _m_lang, ! epp_string _m_id, ! epp_ResultData_ref _m_data) { m_code.ref(new epp_short(_m_code)); m_values = _m_values; m_msg.ref(new epp_string(_m_msg)); --- 60,74 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_Result(const epp_short & _m_code, ! const epp_string_seq_ref & _m_values, ! const epp_string & _m_msg, ! const epp_string & _m_lang, ! const epp_string & _m_id, ! const epp_ResultData_ref & _m_data) { + //lint -e1556 + // We know that this line is not really suspicious... m_code.ref(new epp_short(_m_code)); + //lint +e1556 m_values = _m_values; m_msg.ref(new epp_string(_m_msg)); *************** *** 76,85 **** /// Constructor, using only references ! epp_Result(epp_short_ref _m_code, ! epp_string_seq_ref _m_values, ! epp_string_ref _m_msg, ! epp_string_ref _m_lang, ! epp_string_ref _m_id, ! epp_ResultData_ref _m_data) { m_code = _m_code; --- 79,88 ---- /// Constructor, using only references ! epp_Result(const epp_short_ref & _m_code, ! const epp_string_seq_ref & _m_values, ! const epp_string_ref & _m_msg, ! const epp_string_ref & _m_lang, ! const epp_string_ref & _m_id, ! const epp_ResultData_ref & _m_data) { m_code = _m_code; *************** *** 95,99 **** typedef refcnt_ptr<epp_Result> epp_Result_ref; ! }}; #endif --- 98,102 ---- typedef refcnt_ptr<epp_Result> epp_Result_ref; ! }} #endif Index: epp_ResultData.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_ResultData.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** epp_ResultData.h 14 Mar 2002 16:45:16 -0000 1.2 --- epp_ResultData.h 17 Jul 2002 13:44:48 -0000 1.3 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_RESULTDATA_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! ... [truncated message content] |
From: Asbjorn M. <ste...@us...> - 2002-07-17 13:37:34
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src/data In directory usw-pr-cvs1:/tmp/cvs-serv15284 Modified Files: epp_AuthInfo.h epp_Exception.h epp_GenericCheckRsp.h epp_GenericReq.h epp_GenericRsp.h epp_Greeting.h epp_CheckResult.h epp_Command.h epp_Credentials.h epp_DataCollectionPolicy.h epp_dcpStatement.h Log Message: CLEANUP: -all constructors now have const reference arguments -turned off lint-flagging of "suspicious" lines in cases where we know that they are ok -removed "throw()" declaration from exception class constructor -const'ed functions where possible -minor formatting changes Index: epp_AuthInfo.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_AuthInfo.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** epp_AuthInfo.h 22 Feb 2002 15:46:02 -0000 1.6 --- epp_AuthInfo.h 17 Jul 2002 13:37:30 -0000 1.7 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_AUTHINFO_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_AUTHINFO_H *************** *** 54,60 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_AuthInfo(epp_AuthInfoType _m_type, ! epp_roid _m_roid, ! epp_string _m_value) { m_type.ref(new epp_AuthInfoType(_m_type)); --- 54,60 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_AuthInfo(const epp_AuthInfoType & _m_type, ! const epp_roid & _m_roid, ! const epp_string & _m_value) { m_type.ref(new epp_AuthInfoType(_m_type)); *************** *** 64,70 **** /// Constructor, using only references ! epp_AuthInfo(epp_AuthInfoType_ref _m_type, ! epp_roid_ref _m_roid, ! epp_string_ref _m_value) { m_type = _m_type; --- 64,70 ---- /// Constructor, using only references ! epp_AuthInfo(const epp_AuthInfoType_ref & _m_type, ! const epp_roid_ref & _m_roid, ! const epp_string_ref & _m_value) { m_type = _m_type; *************** *** 77,81 **** typedef refcnt_ptr<epp_AuthInfo> epp_AuthInfo_ref; ! }}; #endif --- 77,81 ---- typedef refcnt_ptr<epp_AuthInfo> epp_AuthInfo_ref; ! }} #endif Index: epp_Exception.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_Exception.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_Exception.h 31 May 2002 14:23:53 -0000 1.8 --- epp_Exception.h 17 Jul 2002 13:37:30 -0000 1.9 *************** *** 62,66 **** epp_Exception(const epp_result_seq_ref & _m_details, const epp_TransID_ref & _m_trans_id, ! const epp_xml_string_ref & _m_ext_string = epp_xml_string_ref(new epp_xml_string(""))) throw() { m_details = _m_details; --- 62,66 ---- epp_Exception(const epp_result_seq_ref & _m_details, const epp_TransID_ref & _m_trans_id, ! const epp_xml_string_ref & _m_ext_string = epp_xml_string_ref(new epp_xml_string(""))) { m_details = _m_details; *************** *** 71,75 **** /// Returns the error details /// @deprecated Only returns #epp_result_seq_ref. Access the data directly instead. ! virtual epp_result_seq_ref getDetails() { return m_details; --- 71,75 ---- /// Returns the error details /// @deprecated Only returns #epp_result_seq_ref. Access the data directly instead. ! virtual epp_result_seq_ref getDetails() const { return m_details; *************** *** 77,81 **** }; ! }}; #endif --- 77,81 ---- }; ! }} #endif Index: epp_GenericCheckRsp.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_GenericCheckRsp.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** epp_GenericCheckRsp.h 22 Feb 2002 17:14:14 -0000 1.3 --- epp_GenericCheckRsp.h 17 Jul 2002 13:37:30 -0000 1.4 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_GENERICCHECKRSP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_GENERICCHECKRSP_H *************** *** 53,58 **** /// Constructor ! epp_GenericCheckRsp(epp_Response_ref _m_rsp, ! epp_check_result_seq_ref _m_results) : epp_GenericRsp(_m_rsp) { --- 53,58 ---- /// Constructor ! epp_GenericCheckRsp(const epp_Response_ref & _m_rsp, ! const epp_check_result_seq_ref & _m_results) : epp_GenericRsp(_m_rsp) { *************** *** 64,68 **** typedef refcnt_ptr<epp_GenericCheckRsp> epp_GenericCheckRsp_ref; ! }}; #endif --- 64,68 ---- typedef refcnt_ptr<epp_GenericCheckRsp> epp_GenericCheckRsp_ref; ! }} #endif Index: epp_GenericReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_GenericReq.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** epp_GenericReq.h 22 Feb 2002 15:46:02 -0000 1.2 --- epp_GenericReq.h 17 Jul 2002 13:37:30 -0000 1.3 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_GENERICREQ_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_GENERICREQ_H *************** *** 51,55 **** /// Constructor ! epp_GenericReq(epp_Command_ref _m_cmd) { m_cmd = _m_cmd; --- 51,55 ---- /// Constructor ! epp_GenericReq(const epp_Command_ref & _m_cmd) { m_cmd = _m_cmd; *************** *** 61,65 **** typedef refcnt_ptr<epp_GenericReq> epp_GenericReq_ref; ! }}; #endif --- 61,65 ---- typedef refcnt_ptr<epp_GenericReq> epp_GenericReq_ref; ! }} #endif Index: epp_GenericRsp.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_GenericRsp.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** epp_GenericRsp.h 22 Feb 2002 15:46:02 -0000 1.2 --- epp_GenericRsp.h 17 Jul 2002 13:37:30 -0000 1.3 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_GENERICRSP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_GENERICRSP_H *************** *** 51,55 **** /// Constructor ! epp_GenericRsp(epp_Response_ref _m_rsp) { m_rsp = _m_rsp; --- 51,55 ---- /// Constructor ! epp_GenericRsp(const epp_Response_ref & _m_rsp) { m_rsp = _m_rsp; *************** *** 61,65 **** typedef refcnt_ptr<epp_GenericRsp> epp_GenericRsp_ref; ! }}; #endif --- 61,65 ---- typedef refcnt_ptr<epp_GenericRsp> epp_GenericRsp_ref; ! }} #endif Index: epp_Greeting.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_Greeting.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_Greeting.h 14 Mar 2002 16:45:16 -0000 1.9 --- epp_Greeting.h 17 Jul 2002 13:37:30 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_GREETING_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_GREETING_H *************** *** 58,65 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_Greeting(epp_string _m_server_id, ! epp_datetime _m_server_date, ! epp_ServiceMenu_ref _m_svc_menu, ! epp_DataCollectionPolicy_ref _m_dcp) { m_server_id.ref(new epp_string(_m_server_id)); --- 58,65 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_Greeting(const epp_string & _m_server_id, ! const epp_datetime & _m_server_date, ! const epp_ServiceMenu_ref & _m_svc_menu, ! const epp_DataCollectionPolicy_ref & _m_dcp) { m_server_id.ref(new epp_string(_m_server_id)); *************** *** 70,77 **** /// Constructor, using only references ! epp_Greeting(epp_string_ref _m_server_id, ! epp_datetime_ref _m_server_date, ! epp_ServiceMenu_ref _m_svc_menu, ! epp_DataCollectionPolicy_ref _m_dcp) { m_server_id = _m_server_id; --- 70,77 ---- /// Constructor, using only references ! epp_Greeting(const epp_string_ref & _m_server_id, ! const epp_datetime_ref & _m_server_date, ! const epp_ServiceMenu_ref & _m_svc_menu, ! const epp_DataCollectionPolicy_ref & _m_dcp) { m_server_id = _m_server_id; *************** *** 85,89 **** typedef refcnt_ptr<epp_Greeting> epp_Greeting_ref; ! }}; #endif --- 85,89 ---- typedef refcnt_ptr<epp_Greeting> epp_Greeting_ref; ! }} #endif Index: epp_CheckResult.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_CheckResult.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_CheckResult.h 8 Mar 2002 11:41:27 -0000 1.7 --- epp_CheckResult.h 17 Jul 2002 13:37:30 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CHECKRESULT_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CHECKRESULT_H *************** *** 55,64 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_CheckResult(epp_boolean _m_avail, ! epp_string _m_value, ! epp_string _m_reason, ! epp_string _m_lang) { m_avail.ref(new epp_boolean(_m_avail)); m_value.ref(new epp_string(_m_value)); m_reason.ref(new epp_string(_m_reason)); --- 55,67 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_CheckResult(const epp_boolean & _m_avail, ! const epp_string & _m_value, ! const epp_string & _m_reason, ! const epp_string & _m_lang) { + //lint -e1556 + // We know that this line is not really suspicious... m_avail.ref(new epp_boolean(_m_avail)); + //lint +e1556 m_value.ref(new epp_string(_m_value)); m_reason.ref(new epp_string(_m_reason)); *************** *** 67,74 **** /// Constructor, using only references ! epp_CheckResult(epp_boolean_ref _m_avail, ! epp_string_ref _m_value, ! epp_string_ref _m_reason, ! epp_string_ref _m_lang) { m_avail = _m_avail; --- 70,77 ---- /// Constructor, using only references ! epp_CheckResult(const epp_boolean_ref & _m_avail, ! const epp_string_ref & _m_value, ! const epp_string_ref & _m_reason, ! const epp_string_ref & _m_lang) { m_avail = _m_avail; *************** *** 82,86 **** typedef refcnt_ptr<epp_CheckResult> epp_CheckResult_ref; ! }}; #endif --- 85,89 ---- typedef refcnt_ptr<epp_CheckResult> epp_CheckResult_ref; ! }} #endif Index: epp_Command.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_Command.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_Command.h 9 Mar 2002 15:48:45 -0000 1.9 --- epp_Command.h 17 Jul 2002 13:37:30 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_COMMAND_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_COMMAND_H *************** *** 57,63 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_Command(epp_Credentials_ref _m_creds, ! epp_Extension_ref _m_ext, ! epp_trid _m_client_trid) { m_creds = _m_creds; --- 57,63 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_Command(const epp_Credentials_ref & _m_creds, ! const epp_Extension_ref & _m_ext, ! const epp_trid & _m_client_trid) { m_creds = _m_creds; *************** *** 67,73 **** /// Constructor, using only references ! epp_Command(epp_Credentials_ref _m_creds, ! epp_Extension_ref _m_ext, ! epp_trid_ref _m_client_trid) { m_creds = _m_creds; --- 67,73 ---- /// Constructor, using only references ! epp_Command(const epp_Credentials_ref & _m_creds, ! const epp_Extension_ref & _m_ext, ! const epp_trid_ref & _m_client_trid) { m_creds = _m_creds; *************** *** 80,84 **** typedef refcnt_ptr<epp_Command> epp_Command_ref; ! }}; #endif --- 80,84 ---- typedef refcnt_ptr<epp_Command> epp_Command_ref; ! }} #endif Index: epp_Credentials.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_Credentials.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_Credentials.h 9 Mar 2002 15:48:46 -0000 1.7 --- epp_Credentials.h 17 Jul 2002 13:37:30 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CREDENTIALS_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CREDENTIALS_H *************** *** 56,63 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_Credentials(epp_string _m_client_id, ! epp_string _m_password, ! epp_string _m_new_password, ! epp_Options_ref _m_options) { m_client_id.ref(new epp_string(_m_client_id)); --- 56,63 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_Credentials(const epp_string & _m_client_id, ! const epp_string & _m_password, ! const epp_string & _m_new_password, ! const epp_Options_ref & _m_options) { m_client_id.ref(new epp_string(_m_client_id)); *************** *** 68,75 **** /// Constructor, using only references ! epp_Credentials(epp_string_ref _m_client_id, ! epp_string_ref _m_password, ! epp_string_ref _m_new_password, ! epp_Options_ref _m_options) { m_client_id = _m_client_id; --- 68,75 ---- /// Constructor, using only references ! epp_Credentials(const epp_string_ref & _m_client_id, ! const epp_string_ref & _m_password, ! const epp_string_ref & _m_new_password, ! const epp_Options_ref & _m_options) { m_client_id = _m_client_id; *************** *** 83,87 **** typedef refcnt_ptr<epp_Credentials> epp_Credentials_ref; ! }}; #endif --- 83,87 ---- typedef refcnt_ptr<epp_Credentials> epp_Credentials_ref; ! }} #endif Index: epp_DataCollectionPolicy.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_DataCollectionPolicy.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** epp_DataCollectionPolicy.h 12 Mar 2002 20:38:32 -0000 1.2 --- epp_DataCollectionPolicy.h 17 Jul 2002 13:37:30 -0000 1.3 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DATACOLLECTIONPOLICY_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DATACOLLECTIONPOLICY_H *************** *** 54,59 **** /// Constructor, using only references ! epp_DataCollectionPolicy(epp_dcpAccessType_ref _m_access, ! epp_dcpStatement_seq_ref _m_statements) { m_access = _m_access; --- 54,59 ---- /// Constructor, using only references ! epp_DataCollectionPolicy(const epp_dcpAccessType_ref & _m_access, ! const epp_dcpStatement_seq_ref & _m_statements) { m_access = _m_access; *************** *** 65,69 **** typedef refcnt_ptr<epp_DataCollectionPolicy> epp_DataCollectionPolicy_ref; ! }}; #endif --- 65,69 ---- typedef refcnt_ptr<epp_DataCollectionPolicy> epp_DataCollectionPolicy_ref; ! }} #endif Index: epp_dcpStatement.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_dcpStatement.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** epp_dcpStatement.h 19 Mar 2002 10:47:43 -0000 1.4 --- epp_dcpStatement.h 17 Jul 2002 13:37:30 -0000 1.5 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DCPSTATEMENT_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DCPSTATEMENT_H *************** *** 54,60 **** /// Constructor, using only references ! epp_dcpStatement(epp_dcpPurpose_seq_ref _m_purposes, ! epp_dcpRecipient_seq_ref _m_recipients, ! epp_dcpRetentionType_ref _m_retention) { m_purposes = _m_purposes; --- 54,60 ---- /// Constructor, using only references ! epp_dcpStatement(const epp_dcpPurpose_seq_ref & _m_purposes, ! const epp_dcpRecipient_seq_ref & _m_recipients, ! const epp_dcpRetentionType_ref & _m_retention) { m_purposes = _m_purposes; *************** *** 67,71 **** typedef refcnt_ptr<epp_dcpStatement> epp_dcpStatement_ref; ! }}; #endif --- 67,71 ---- typedef refcnt_ptr<epp_dcpStatement> epp_dcpStatement_ref; ! }} #endif |
From: Asbjorn M. <ste...@us...> - 2002-07-17 13:23:01
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src/data In directory usw-pr-cvs1:/tmp/cvs-serv9802 Modified Files: epp_HostAddress.h epp_HostCheckReq.h epp_HostCheckRsp.h epp_HostCreateReq.h epp_HostCreateRsp.h epp_HostDeleteReq.h epp_HostDeleteRsp.h epp_HostInfoReq.h epp_HostInfoRsp.h epp_HostStatus.h epp_HostUpdateAddRemove.h epp_HostUpdateChange.h epp_HostUpdateReq.h epp_HostUpdateRsp.h Log Message: src/data/epp_Host*: CLEANUP: -all constructors now have const reference arguments -minor formatting changes Index: epp_HostAddress.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_HostAddress.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_HostAddress.h 22 Feb 2002 15:46:02 -0000 1.7 --- epp_HostAddress.h 17 Jul 2002 13:22:57 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTADDRESS_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTADDRESS_H *************** *** 53,58 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_HostAddress(epp_HostAddressType _m_type, ! eppobject::epp::epp_string _m_ip) { m_type.ref(new epp_HostAddressType(_m_type)); --- 53,58 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_HostAddress(const epp_HostAddressType & _m_type, ! const eppobject::epp::epp_string & _m_ip) { m_type.ref(new epp_HostAddressType(_m_type)); *************** *** 61,66 **** /// Constructor, using only references ! epp_HostAddress(epp_HostAddressType_ref _m_type, ! eppobject::epp::epp_string_ref _m_ip) { m_type = _m_type; --- 61,66 ---- /// Constructor, using only references ! epp_HostAddress(const epp_HostAddressType_ref & _m_type, ! const eppobject::epp::epp_string_ref & _m_ip) { m_type = _m_type; *************** *** 72,76 **** typedef refcnt_ptr<epp_HostAddress> epp_HostAddress_ref; ! }}; #endif --- 72,76 ---- typedef refcnt_ptr<epp_HostAddress> epp_HostAddress_ref; ! }} #endif Index: epp_HostCheckReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_HostCheckReq.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_HostCheckReq.h 9 Mar 2002 15:48:46 -0000 1.9 --- epp_HostCheckReq.h 17 Jul 2002 13:22:57 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTCHECKREQ_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTCHECKREQ_H *************** *** 53,58 **** /// Constructor ! epp_HostCheckReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string_seq_ref _m_names) : epp::epp_GenericReq(_m_cmd) { --- 53,58 ---- /// Constructor ! epp_HostCheckReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string_seq_ref & _m_names) : epp::epp_GenericReq(_m_cmd) { *************** *** 64,68 **** typedef refcnt_ptr<epp_HostCheckReq> epp_HostCheckReq_ref; ! }}; #endif --- 64,68 ---- typedef refcnt_ptr<epp_HostCheckReq> epp_HostCheckReq_ref; ! }} #endif Index: epp_HostCheckRsp.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_HostCheckRsp.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_HostCheckRsp.h 9 Mar 2002 15:48:46 -0000 1.9 --- epp_HostCheckRsp.h 17 Jul 2002 13:22:57 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTCHECKRSP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTCHECKRSP_H *************** *** 52,57 **** /// Constructor ! epp_HostCheckRsp(eppobject::epp::epp_Response_ref _m_rsp, ! eppobject::epp::epp_check_result_seq_ref _m_results) : epp::epp_GenericCheckRsp(_m_rsp, _m_results) {}; --- 52,57 ---- /// Constructor ! epp_HostCheckRsp(const eppobject::epp::epp_Response_ref & _m_rsp, ! const eppobject::epp::epp_check_result_seq_ref & _m_results) : epp::epp_GenericCheckRsp(_m_rsp, _m_results) {}; *************** *** 61,65 **** typedef refcnt_ptr<epp_HostCheckRsp> epp_HostCheckRsp_ref; ! }}; #endif --- 61,65 ---- typedef refcnt_ptr<epp_HostCheckRsp> epp_HostCheckRsp_ref; ! }} #endif Index: epp_HostCreateReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_HostCreateReq.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_HostCreateReq.h 14 Mar 2002 16:45:16 -0000 1.8 --- epp_HostCreateReq.h 17 Jul 2002 13:22:57 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTCREATEREQ_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTCREATEREQ_H *************** *** 56,62 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_HostCreateReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string _m_name, ! epp_host_address_seq_ref _m_addresses) : epp::epp_GenericReq(_m_cmd) { --- 56,62 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_HostCreateReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string & _m_name, ! const epp_host_address_seq_ref & _m_addresses) : epp::epp_GenericReq(_m_cmd) { *************** *** 66,72 **** /// Constructor, using only references ! epp_HostCreateReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string_ref _m_name, ! epp_host_address_seq_ref _m_addresses) : epp::epp_GenericReq(_m_cmd) { --- 66,72 ---- /// Constructor, using only references ! epp_HostCreateReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string_ref & _m_name, ! const epp_host_address_seq_ref & _m_addresses) : epp::epp_GenericReq(_m_cmd) { *************** *** 79,83 **** typedef refcnt_ptr<epp_HostCreateReq> epp_HostCreateReq_ref; ! }}; #endif --- 79,83 ---- typedef refcnt_ptr<epp_HostCreateReq> epp_HostCreateReq_ref; ! }} #endif Index: epp_HostCreateRsp.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_HostCreateRsp.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** epp_HostCreateRsp.h 14 Mar 2002 16:45:16 -0000 1.10 --- epp_HostCreateRsp.h 17 Jul 2002 13:22:57 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTCREATERSP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTCREATERSP_H *************** *** 55,61 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_HostCreateRsp(eppobject::epp::epp_Response_ref _m_rsp, ! eppobject::epp::epp_string _m_name, ! eppobject::epp::epp_datetime _m_creation_date) : epp::epp_GenericRsp(_m_rsp) { --- 55,61 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_HostCreateRsp(const eppobject::epp::epp_Response_ref & _m_rsp, ! const eppobject::epp::epp_string & _m_name, ! const eppobject::epp::epp_datetime & _m_creation_date) : epp::epp_GenericRsp(_m_rsp) { *************** *** 65,71 **** /// Constructor, using only references ! epp_HostCreateRsp(eppobject::epp::epp_Response_ref _m_rsp, ! eppobject::epp::epp_string_ref _m_name, ! eppobject::epp::epp_datetime_ref _m_creation_date) : epp::epp_GenericRsp(_m_rsp) { --- 65,71 ---- /// Constructor, using only references ! epp_HostCreateRsp(const eppobject::epp::epp_Response_ref & _m_rsp, ! const eppobject::epp::epp_string_ref & _m_name, ! const eppobject::epp::epp_datetime_ref & _m_creation_date) : epp::epp_GenericRsp(_m_rsp) { *************** *** 78,82 **** typedef refcnt_ptr<epp_HostCreateRsp> epp_HostCreateRsp_ref; ! }}; #endif --- 78,82 ---- typedef refcnt_ptr<epp_HostCreateRsp> epp_HostCreateRsp_ref; ! }} #endif Index: epp_HostDeleteReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_HostDeleteReq.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_HostDeleteReq.h 9 Mar 2002 15:48:46 -0000 1.9 --- epp_HostDeleteReq.h 17 Jul 2002 13:22:57 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTDELETEREQ_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTDELETEREQ_H *************** *** 54,59 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_HostDeleteReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string _m_name) : epp::epp_GenericReq(_m_cmd) { --- 54,59 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_HostDeleteReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string & _m_name) : epp::epp_GenericReq(_m_cmd) { *************** *** 62,67 **** /// Constructor, using only references ! epp_HostDeleteReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string_ref _m_name) : epp::epp_GenericReq(_m_cmd) { --- 62,67 ---- /// Constructor, using only references ! epp_HostDeleteReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string_ref & _m_name) : epp::epp_GenericReq(_m_cmd) { *************** *** 73,77 **** typedef refcnt_ptr<epp_HostDeleteReq> epp_HostDeleteReq_ref; ! }}; #endif --- 73,77 ---- typedef refcnt_ptr<epp_HostDeleteReq> epp_HostDeleteReq_ref; ! }} #endif Index: epp_HostDeleteRsp.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_HostDeleteRsp.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_HostDeleteRsp.h 9 Mar 2002 15:48:46 -0000 1.9 --- epp_HostDeleteRsp.h 17 Jul 2002 13:22:57 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTDELETERSP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTDELETERSP_H *************** *** 51,55 **** /// Constructor ! epp_HostDeleteRsp(eppobject::epp::epp_Response_ref _m_rsp) : epp::epp_GenericRsp(_m_rsp) {}; --- 51,55 ---- /// Constructor ! epp_HostDeleteRsp(const eppobject::epp::epp_Response_ref & _m_rsp) : epp::epp_GenericRsp(_m_rsp) {}; *************** *** 59,63 **** typedef refcnt_ptr<epp_HostDeleteRsp> epp_HostDeleteRsp_ref; ! }}; #endif --- 59,63 ---- typedef refcnt_ptr<epp_HostDeleteRsp> epp_HostDeleteRsp_ref; ! }} #endif Index: epp_HostInfoReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_HostInfoReq.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_HostInfoReq.h 9 Mar 2002 15:48:46 -0000 1.9 --- epp_HostInfoReq.h 17 Jul 2002 13:22:57 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTINFOREQ_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTINFOREQ_H *************** *** 54,59 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_HostInfoReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string _m_name) : epp::epp_GenericReq(_m_cmd) { --- 54,59 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_HostInfoReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string & _m_name) : epp::epp_GenericReq(_m_cmd) { *************** *** 62,67 **** /// Constructor, using only references ! epp_HostInfoReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string_ref _m_name) : epp::epp_GenericReq(_m_cmd) { --- 62,67 ---- /// Constructor, using only references ! epp_HostInfoReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string_ref & _m_name) : epp::epp_GenericReq(_m_cmd) { *************** *** 73,77 **** typedef refcnt_ptr<epp_HostInfoReq> epp_HostInfoReq_ref; ! }}; #endif --- 73,77 ---- typedef refcnt_ptr<epp_HostInfoReq> epp_HostInfoReq_ref; ! }} #endif Index: epp_HostInfoRsp.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_HostInfoRsp.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_HostInfoRsp.h 14 Mar 2002 16:45:16 -0000 1.9 --- epp_HostInfoRsp.h 17 Jul 2002 13:22:57 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTINFORSP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTINFORSP_H *************** *** 65,79 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_HostInfoRsp(eppobject::epp::epp_Response_ref _m_rsp, ! eppobject::epp::epp_string _m_name, ! eppobject::epp::epp_roid _m_roid, ! epp_host_status_seq_ref _m_status, ! epp_host_address_seq_ref _m_addresses, ! eppobject::epp::epp_string _m_client_id, ! eppobject::epp::epp_string _m_created_by, ! eppobject::epp::epp_datetime _m_created_date, ! eppobject::epp::epp_string _m_updated_by, ! eppobject::epp::epp_datetime _m_updated_date, ! eppobject::epp::epp_datetime _m_transfer_date) : epp::epp_GenericRsp(_m_rsp) { --- 65,79 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_HostInfoRsp(const eppobject::epp::epp_Response_ref & _m_rsp, ! const eppobject::epp::epp_string & _m_name, ! const eppobject::epp::epp_roid & _m_roid, ! const epp_host_status_seq_ref & _m_status, ! const epp_host_address_seq_ref & _m_addresses, ! const eppobject::epp::epp_string & _m_client_id, ! const eppobject::epp::epp_string & _m_created_by, ! const eppobject::epp::epp_datetime & _m_created_date, ! const eppobject::epp::epp_string & _m_updated_by, ! const eppobject::epp::epp_datetime & _m_updated_date, ! const eppobject::epp::epp_datetime & _m_transfer_date) : epp::epp_GenericRsp(_m_rsp) { *************** *** 91,105 **** /// Constructor, using only references ! epp_HostInfoRsp(eppobject::epp::epp_Response_ref _m_rsp, ! eppobject::epp::epp_string_ref _m_name, ! eppobject::epp::epp_roid_ref _m_roid, ! epp_host_status_seq_ref _m_status, ! epp_host_address_seq_ref _m_addresses, ! eppobject::epp::epp_string_ref _m_client_id, ! eppobject::epp::epp_string_ref _m_created_by, ! eppobject::epp::epp_datetime_ref _m_created_date, ! eppobject::epp::epp_string_ref _m_updated_by, ! eppobject::epp::epp_datetime_ref _m_updated_date, ! eppobject::epp::epp_datetime_ref _m_transfer_date) : epp::epp_GenericRsp(_m_rsp) { --- 91,105 ---- /// Constructor, using only references ! epp_HostInfoRsp(const eppobject::epp::epp_Response_ref & _m_rsp, ! const eppobject::epp::epp_string_ref & _m_name, ! const eppobject::epp::epp_roid_ref & _m_roid, ! const epp_host_status_seq_ref & _m_status, ! const epp_host_address_seq_ref & _m_addresses, ! const eppobject::epp::epp_string_ref & _m_client_id, ! const eppobject::epp::epp_string_ref & _m_created_by, ! const eppobject::epp::epp_datetime_ref & _m_created_date, ! const eppobject::epp::epp_string_ref & _m_updated_by, ! const eppobject::epp::epp_datetime_ref & _m_updated_date, ! const eppobject::epp::epp_datetime_ref & _m_transfer_date) : epp::epp_GenericRsp(_m_rsp) { *************** *** 120,124 **** typedef refcnt_ptr<epp_HostInfoRsp> epp_HostInfoRsp_ref; ! }}; #endif --- 120,124 ---- typedef refcnt_ptr<epp_HostInfoRsp> epp_HostInfoRsp_ref; ! }} #endif Index: epp_HostStatus.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_HostStatus.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_HostStatus.h 22 Feb 2002 15:46:02 -0000 1.7 --- epp_HostStatus.h 17 Jul 2002 13:22:57 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTSTATUS_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTSTATUS_H *************** *** 54,60 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_HostStatus(epp_HostStatusType _m_type, ! eppobject::epp::epp_string _m_lang, ! eppobject::epp::epp_string _m_value) { m_type.ref(new epp_HostStatusType(_m_type)); --- 54,60 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_HostStatus(const epp_HostStatusType & _m_type, ! const eppobject::epp::epp_string & _m_lang, ! const eppobject::epp::epp_string & _m_value) { m_type.ref(new epp_HostStatusType(_m_type)); *************** *** 64,70 **** /// Constructor, using only references ! epp_HostStatus(epp_HostStatusType_ref _m_type, ! eppobject::epp::epp_string_ref _m_lang, ! eppobject::epp::epp_string_ref _m_value) { m_type = _m_type; --- 64,70 ---- /// Constructor, using only references ! epp_HostStatus(const epp_HostStatusType_ref & _m_type, ! const eppobject::epp::epp_string_ref & _m_lang, ! const eppobject::epp::epp_string_ref & _m_value) { m_type = _m_type; *************** *** 77,81 **** typedef refcnt_ptr<epp_HostStatus> epp_HostStatus_ref; ! }}; #endif --- 77,81 ---- typedef refcnt_ptr<epp_HostStatus> epp_HostStatus_ref; ! }} #endif Index: epp_HostUpdateAddRemove.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_HostUpdateAddRemove.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** epp_HostUpdateAddRemove.h 14 Mar 2002 16:45:16 -0000 1.6 --- epp_HostUpdateAddRemove.h 17 Jul 2002 13:22:57 -0000 1.7 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTUPDATEADDREMOVE_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTUPDATEADDREMOVE_H *************** *** 53,58 **** /// Constructor, using only references ! epp_HostUpdateAddRemove(epp_host_address_seq_ref _m_addresses, ! epp_host_status_seq_ref _m_status) { m_addresses = _m_addresses; --- 53,58 ---- /// Constructor, using only references ! epp_HostUpdateAddRemove(const epp_host_address_seq_ref & _m_addresses, ! const epp_host_status_seq_ref & _m_status) { m_addresses = _m_addresses; *************** *** 64,68 **** typedef refcnt_ptr<epp_HostUpdateAddRemove> epp_HostUpdateAddRemove_ref; ! }}; #endif --- 64,68 ---- typedef refcnt_ptr<epp_HostUpdateAddRemove> epp_HostUpdateAddRemove_ref; ! }} #endif Index: epp_HostUpdateChange.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_HostUpdateChange.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_HostUpdateChange.h 14 Mar 2002 16:45:16 -0000 1.7 --- epp_HostUpdateChange.h 17 Jul 2002 13:22:57 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTUPDATECHANGE_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTUPDATECHANGE_H *************** *** 53,57 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_HostUpdateChange(eppobject::epp::epp_string _m_name) { m_name.ref(new eppobject::epp::epp_string(_m_name)); --- 53,57 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_HostUpdateChange(const eppobject::epp::epp_string & _m_name) { m_name.ref(new eppobject::epp::epp_string(_m_name)); *************** *** 59,63 **** /// Constructor, using only references ! epp_HostUpdateChange(eppobject::epp::epp_string_ref _m_name) { m_name = _m_name; --- 59,63 ---- /// Constructor, using only references ! epp_HostUpdateChange(const eppobject::epp::epp_string_ref & _m_name) { m_name = _m_name; *************** *** 68,72 **** typedef refcnt_ptr<epp_HostUpdateChange> epp_HostUpdateChange_ref; ! }}; #endif --- 68,72 ---- typedef refcnt_ptr<epp_HostUpdateChange> epp_HostUpdateChange_ref; ! }} #endif Index: epp_HostUpdateReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_HostUpdateReq.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_HostUpdateReq.h 14 Mar 2002 16:45:16 -0000 1.8 --- epp_HostUpdateReq.h 17 Jul 2002 13:22:57 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTUPDATEREQ_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTUPDATEREQ_H *************** *** 59,67 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_HostUpdateReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string _m_name, ! epp_HostUpdateAddRemove_ref _m_add, ! epp_HostUpdateAddRemove_ref _m_remove, ! epp_HostUpdateChange_ref _m_change) : epp::epp_GenericReq(_m_cmd) { --- 59,67 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_HostUpdateReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string & _m_name, ! const epp_HostUpdateAddRemove_ref & _m_add, ! const epp_HostUpdateAddRemove_ref & _m_remove, ! const epp_HostUpdateChange_ref & _m_change) : epp::epp_GenericReq(_m_cmd) { *************** *** 73,81 **** /// Constructor, using only references ! epp_HostUpdateReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string_ref _m_name, ! epp_HostUpdateAddRemove_ref _m_add, ! epp_HostUpdateAddRemove_ref _m_remove, ! epp_HostUpdateChange_ref _m_change) : epp::epp_GenericReq(_m_cmd) { --- 73,81 ---- /// Constructor, using only references ! epp_HostUpdateReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string_ref & _m_name, ! const epp_HostUpdateAddRemove_ref & _m_add, ! const epp_HostUpdateAddRemove_ref & _m_remove, ! const epp_HostUpdateChange_ref & _m_change) : epp::epp_GenericReq(_m_cmd) { *************** *** 90,94 **** typedef refcnt_ptr<epp_HostUpdateReq> epp_HostUpdateReq_ref; ! }}; #endif --- 90,94 ---- typedef refcnt_ptr<epp_HostUpdateReq> epp_HostUpdateReq_ref; ! }} #endif Index: epp_HostUpdateRsp.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_HostUpdateRsp.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_HostUpdateRsp.h 9 Mar 2002 15:48:46 -0000 1.9 --- epp_HostUpdateRsp.h 17 Jul 2002 13:22:57 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTUPDATERSP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_HOSTUPDATERSP_H *************** *** 51,55 **** /// Constructor ! epp_HostUpdateRsp(eppobject::epp::epp_Response_ref _m_rsp) : epp::epp_GenericRsp(_m_rsp) {}; --- 51,55 ---- /// Constructor ! epp_HostUpdateRsp(const eppobject::epp::epp_Response_ref & _m_rsp) : epp::epp_GenericRsp(_m_rsp) {}; *************** *** 59,63 **** typedef refcnt_ptr<epp_HostUpdateRsp> epp_HostUpdateRsp_ref; ! }}; #endif --- 59,63 ---- typedef refcnt_ptr<epp_HostUpdateRsp> epp_HostUpdateRsp_ref; ! }} #endif |
Update of /cvsroot/epp-rtk/epp-rtk/c++/src/data In directory usw-pr-cvs1:/tmp/cvs-serv8214 Modified Files: epp_ContactAddress.h epp_ContactCheckReq.h epp_ContactCheckRsp.h epp_ContactCreateReq.h epp_ContactCreateRsp.h epp_ContactDeleteReq.h epp_ContactDeleteRsp.h epp_ContactInfoReq.h epp_ContactInfoRsp.h epp_ContactNameAddress.h epp_ContactPhone.h epp_ContactStatus.h epp_ContactTransferReq.h epp_ContactTransferRsp.h epp_ContactTrnData.h epp_ContactUpdateAddRemove.h epp_ContactUpdateChange.h epp_ContactUpdateReq.h epp_ContactUpdateRsp.h epp_ContactVoice.h Log Message: CLEANUP: -all constructors now have const reference arguments -minor formatting changes Index: epp_ContactAddress.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_ContactAddress.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_ContactAddress.h 9 Mar 2002 15:48:45 -0000 1.8 --- epp_ContactAddress.h 17 Jul 2002 13:18:46 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTADDRESS_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTADDRESS_H *************** *** 58,68 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactAddress(eppobject::epp::epp_string _m_street1, ! eppobject::epp::epp_string _m_street2, ! eppobject::epp::epp_string _m_street3, ! eppobject::epp::epp_string _m_city, ! eppobject::epp::epp_string _m_state_province, ! eppobject::epp::epp_string _m_postal_code, ! eppobject::epp::epp_string _m_country_code) { m_street1.ref(new eppobject::epp::epp_string(_m_street1)); --- 58,68 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactAddress(const eppobject::epp::epp_string & _m_street1, ! const eppobject::epp::epp_string & _m_street2, ! const eppobject::epp::epp_string & _m_street3, ! const eppobject::epp::epp_string & _m_city, ! const eppobject::epp::epp_string & _m_state_province, ! const eppobject::epp::epp_string & _m_postal_code, ! const eppobject::epp::epp_string & _m_country_code) { m_street1.ref(new eppobject::epp::epp_string(_m_street1)); *************** *** 76,86 **** /// Constructor, using only references ! epp_ContactAddress(eppobject::epp::epp_string_ref _m_street1, ! eppobject::epp::epp_string_ref _m_street2, ! eppobject::epp::epp_string_ref _m_street3, ! eppobject::epp::epp_string_ref _m_city, ! eppobject::epp::epp_string_ref _m_state_province, ! eppobject::epp::epp_string_ref _m_postal_code, ! eppobject::epp::epp_string_ref _m_country_code) { m_street1 = _m_street1; --- 76,86 ---- /// Constructor, using only references ! epp_ContactAddress(const eppobject::epp::epp_string_ref & _m_street1, ! const eppobject::epp::epp_string_ref & _m_street2, ! const eppobject::epp::epp_string_ref & _m_street3, ! const eppobject::epp::epp_string_ref & _m_city, ! const eppobject::epp::epp_string_ref & _m_state_province, ! const eppobject::epp::epp_string_ref & _m_postal_code, ! const eppobject::epp::epp_string_ref & _m_country_code) { m_street1 = _m_street1; *************** *** 97,101 **** typedef refcnt_ptr<epp_ContactAddress> epp_ContactAddress_ref; ! }}; #endif --- 97,101 ---- typedef refcnt_ptr<epp_ContactAddress> epp_ContactAddress_ref; ! }} #endif Index: epp_ContactCheckReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_ContactCheckReq.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** epp_ContactCheckReq.h 9 Mar 2002 15:48:45 -0000 1.10 --- epp_ContactCheckReq.h 17 Jul 2002 13:18:47 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTCHECKREQ_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTCHECKREQ_H *************** *** 53,58 **** /// Constructor ! epp_ContactCheckReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string_seq_ref _m_ids) : epp::epp_GenericReq(_m_cmd) { --- 53,58 ---- /// Constructor ! epp_ContactCheckReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string_seq_ref & _m_ids) : epp::epp_GenericReq(_m_cmd) { *************** *** 64,68 **** typedef refcnt_ptr<epp_ContactCheckReq> epp_ContactCheckReq_ref; ! }}; #endif --- 64,68 ---- typedef refcnt_ptr<epp_ContactCheckReq> epp_ContactCheckReq_ref; ! }} #endif Index: epp_ContactCheckRsp.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_ContactCheckRsp.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_ContactCheckRsp.h 9 Mar 2002 15:48:45 -0000 1.9 --- epp_ContactCheckRsp.h 17 Jul 2002 13:18:47 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTCHECKRSP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTCHECKRSP_H *************** *** 52,57 **** /// Constructor ! epp_ContactCheckRsp(eppobject::epp::epp_Response_ref _m_rsp, ! eppobject::epp::epp_check_result_seq_ref _m_results) : epp::epp_GenericCheckRsp(_m_rsp, _m_results) {}; --- 52,57 ---- /// Constructor ! epp_ContactCheckRsp(const eppobject::epp::epp_Response_ref & _m_rsp, ! const eppobject::epp::epp_check_result_seq_ref & _m_results) : epp::epp_GenericCheckRsp(_m_rsp, _m_results) {}; *************** *** 62,66 **** typedef refcnt_ptr<epp_ContactCheckRsp> epp_ContactCheckRsp_ref; ! }}; #endif --- 62,66 ---- typedef refcnt_ptr<epp_ContactCheckRsp> epp_ContactCheckRsp_ref; ! }} #endif Index: epp_ContactCreateReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_ContactCreateReq.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** epp_ContactCreateReq.h 9 Mar 2002 15:48:45 -0000 1.10 --- epp_ContactCreateReq.h 17 Jul 2002 13:18:47 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTCREATEREQ_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTCREATEREQ_H *************** *** 63,74 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactCreateReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string _m_id, ! epp_ContactNameAddress_ref _m_ascii_address, ! epp_ContactNameAddress_ref _m_i15d_address, ! epp_ContactPhone_ref _m_voice, ! epp_ContactPhone_ref _m_fax, ! eppobject::epp::epp_string _m_email, ! eppobject::epp::epp_AuthInfo_ref _m_auth_info) : epp::epp_GenericReq(_m_cmd) { --- 63,74 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactCreateReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string & _m_id, ! const epp_ContactNameAddress_ref & _m_ascii_address, ! const epp_ContactNameAddress_ref & _m_i15d_address, ! const epp_ContactPhone_ref & _m_voice, ! const epp_ContactPhone_ref & _m_fax, ! const eppobject::epp::epp_string & _m_email, ! const eppobject::epp::epp_AuthInfo_ref & _m_auth_info) : epp::epp_GenericReq(_m_cmd) { *************** *** 83,94 **** /// Constructor, using only references ! epp_ContactCreateReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string_ref _m_id, ! epp_ContactNameAddress_ref _m_ascii_address, ! epp_ContactNameAddress_ref _m_i15d_address, ! epp_ContactPhone_ref _m_voice, ! epp_ContactPhone_ref _m_fax, ! eppobject::epp::epp_string_ref _m_email, ! eppobject::epp::epp_AuthInfo_ref _m_auth_info) : epp::epp_GenericReq(_m_cmd) { --- 83,94 ---- /// Constructor, using only references ! epp_ContactCreateReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string_ref & _m_id, ! const epp_ContactNameAddress_ref & _m_ascii_address, ! const epp_ContactNameAddress_ref & _m_i15d_address, ! const epp_ContactPhone_ref & _m_voice, ! const epp_ContactPhone_ref & _m_fax, ! const eppobject::epp::epp_string_ref & _m_email, ! const eppobject::epp::epp_AuthInfo_ref & _m_auth_info) : epp::epp_GenericReq(_m_cmd) { *************** *** 106,110 **** typedef refcnt_ptr<epp_ContactCreateReq> epp_ContactCreateReq_ref; ! }}; #endif --- 106,110 ---- typedef refcnt_ptr<epp_ContactCreateReq> epp_ContactCreateReq_ref; ! }} #endif Index: epp_ContactCreateRsp.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_ContactCreateRsp.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** epp_ContactCreateRsp.h 9 Mar 2002 15:48:45 -0000 1.10 --- epp_ContactCreateRsp.h 17 Jul 2002 13:18:47 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTCREATERSP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTCREATERSP_H *************** *** 55,61 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactCreateRsp(eppobject::epp::epp_Response_ref _m_rsp, ! eppobject::epp::epp_string _m_id, ! eppobject::epp::epp_datetime _m_creation_date) : epp::epp_GenericRsp(_m_rsp) { --- 55,61 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactCreateRsp(const eppobject::epp::epp_Response_ref & _m_rsp, ! const eppobject::epp::epp_string & _m_id, ! const eppobject::epp::epp_datetime & _m_creation_date) : epp::epp_GenericRsp(_m_rsp) { *************** *** 65,71 **** /// Constructor, using only references ! epp_ContactCreateRsp(eppobject::epp::epp_Response_ref _m_rsp, ! eppobject::epp::epp_string_ref _m_id, ! eppobject::epp::epp_datetime_ref _m_creation_date) : epp::epp_GenericRsp(_m_rsp) { --- 65,71 ---- /// Constructor, using only references ! epp_ContactCreateRsp(const eppobject::epp::epp_Response_ref & _m_rsp, ! const eppobject::epp::epp_string_ref & _m_id, ! const eppobject::epp::epp_datetime_ref & _m_creation_date) : epp::epp_GenericRsp(_m_rsp) { *************** *** 78,82 **** typedef refcnt_ptr<epp_ContactCreateRsp> epp_ContactCreateRsp_ref; ! }}; #endif --- 78,82 ---- typedef refcnt_ptr<epp_ContactCreateRsp> epp_ContactCreateRsp_ref; ! }} #endif Index: epp_ContactDeleteReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_ContactDeleteReq.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** epp_ContactDeleteReq.h 9 Mar 2002 15:48:45 -0000 1.10 --- epp_ContactDeleteReq.h 17 Jul 2002 13:18:47 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTDELETEREQ_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTDELETEREQ_H *************** *** 54,59 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactDeleteReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string _m_id) : epp::epp_GenericReq(_m_cmd) { --- 54,59 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactDeleteReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string & _m_id) : epp::epp_GenericReq(_m_cmd) { *************** *** 62,67 **** /// Constructor, using only references ! epp_ContactDeleteReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string_ref _m_id) : epp::epp_GenericReq(_m_cmd) { --- 62,67 ---- /// Constructor, using only references ! epp_ContactDeleteReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string_ref & _m_id) : epp::epp_GenericReq(_m_cmd) { *************** *** 74,78 **** typedef refcnt_ptr<epp_ContactDeleteReq> epp_ContactDeleteReq_ref; ! }}; #endif --- 74,78 ---- typedef refcnt_ptr<epp_ContactDeleteReq> epp_ContactDeleteReq_ref; ! }} #endif Index: epp_ContactDeleteRsp.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_ContactDeleteRsp.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_ContactDeleteRsp.h 9 Mar 2002 15:48:45 -0000 1.9 --- epp_ContactDeleteRsp.h 17 Jul 2002 13:18:47 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTDELETERSP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTDELETERSP_H *************** *** 51,55 **** /// Constructor ! epp_ContactDeleteRsp(eppobject::epp::epp_Response_ref _m_rsp) : epp::epp_GenericRsp(_m_rsp) {}; --- 51,55 ---- /// Constructor ! epp_ContactDeleteRsp(const eppobject::epp::epp_Response_ref & _m_rsp) : epp::epp_GenericRsp(_m_rsp) {}; *************** *** 59,63 **** typedef refcnt_ptr<epp_ContactDeleteRsp> epp_ContactDeleteRsp_ref; ! }}; #endif --- 59,63 ---- typedef refcnt_ptr<epp_ContactDeleteRsp> epp_ContactDeleteRsp_ref; ! }} #endif Index: epp_ContactInfoReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_ContactInfoReq.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** epp_ContactInfoReq.h 9 Mar 2002 15:48:45 -0000 1.10 --- epp_ContactInfoReq.h 17 Jul 2002 13:18:47 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTINFOREQ_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTINFOREQ_H *************** *** 54,59 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactInfoReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string _m_id) : epp::epp_GenericReq(_m_cmd) { --- 54,59 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactInfoReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string & _m_id) : epp::epp_GenericReq(_m_cmd) { *************** *** 62,67 **** /// Constructor, using only references ! epp_ContactInfoReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string_ref _m_id) : epp::epp_GenericReq(_m_cmd) { --- 62,67 ---- /// Constructor, using only references ! epp_ContactInfoReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string_ref & _m_id) : epp::epp_GenericReq(_m_cmd) { *************** *** 73,77 **** typedef refcnt_ptr<epp_ContactInfoReq> epp_ContactInfoReq_ref; ! }}; #endif --- 73,77 ---- typedef refcnt_ptr<epp_ContactInfoReq> epp_ContactInfoReq_ref; ! }} #endif Index: epp_ContactInfoRsp.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_ContactInfoRsp.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** epp_ContactInfoRsp.h 9 Mar 2002 15:48:46 -0000 1.10 --- epp_ContactInfoRsp.h 17 Jul 2002 13:18:47 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTINFORSP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTINFORSP_H *************** *** 72,91 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactInfoRsp(eppobject::epp::epp_Response_ref _m_rsp, ! eppobject::epp::epp_string _m_id, ! eppobject::epp::epp_roid _m_roid, ! epp_ContactNameAddress_ref _m_ascii_address, ! epp_ContactNameAddress_ref _m_i15d_address, ! epp_ContactPhone_ref _m_voice, ! epp_ContactPhone_ref _m_fax, ! eppobject::epp::epp_string _m_email, ! epp_contact_status_seq_ref _m_status, ! eppobject::epp::epp_string _m_client_id, ! eppobject::epp::epp_string _m_created_by, ! eppobject::epp::epp_datetime _m_created_date, ! eppobject::epp::epp_string _m_updated_by, ! eppobject::epp::epp_datetime _m_updated_date, ! eppobject::epp::epp_datetime _m_transfer_date, ! eppobject::epp::epp_AuthInfo_ref _m_auth_info) : epp::epp_GenericRsp(_m_rsp) { --- 72,91 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactInfoRsp(const eppobject::epp::epp_Response_ref & _m_rsp, ! const eppobject::epp::epp_string & _m_id, ! const eppobject::epp::epp_roid & _m_roid, ! const epp_ContactNameAddress_ref & _m_ascii_address, ! const epp_ContactNameAddress_ref & _m_i15d_address, ! const epp_ContactPhone_ref & _m_voice, ! const epp_ContactPhone_ref & _m_fax, ! const eppobject::epp::epp_string & _m_email, ! const epp_contact_status_seq_ref & _m_status, ! const eppobject::epp::epp_string & _m_client_id, ! const eppobject::epp::epp_string & _m_created_by, ! const eppobject::epp::epp_datetime & _m_created_date, ! const eppobject::epp::epp_string & _m_updated_by, ! const eppobject::epp::epp_datetime & _m_updated_date, ! const eppobject::epp::epp_datetime & _m_transfer_date, ! const eppobject::epp::epp_AuthInfo_ref & _m_auth_info) : epp::epp_GenericRsp(_m_rsp) { *************** *** 108,127 **** /// Constructor, using only references ! epp_ContactInfoRsp(eppobject::epp::epp_Response_ref _m_rsp, ! eppobject::epp::epp_string_ref _m_id, ! eppobject::epp::epp_roid_ref _m_roid, ! epp_ContactNameAddress_ref _m_ascii_address, ! epp_ContactNameAddress_ref _m_i15d_address, ! epp_ContactPhone_ref _m_voice, ! epp_ContactPhone_ref _m_fax, ! eppobject::epp::epp_string_ref _m_email, ! epp_contact_status_seq_ref _m_status, ! eppobject::epp::epp_string_ref _m_client_id, ! eppobject::epp::epp_string_ref _m_created_by, ! eppobject::epp::epp_datetime_ref _m_created_date, ! eppobject::epp::epp_string_ref _m_updated_by, ! eppobject::epp::epp_datetime_ref _m_updated_date, ! eppobject::epp::epp_datetime_ref _m_transfer_date, ! eppobject::epp::epp_AuthInfo_ref _m_auth_info) : epp::epp_GenericRsp(_m_rsp) { --- 108,127 ---- /// Constructor, using only references ! epp_ContactInfoRsp(const eppobject::epp::epp_Response_ref & _m_rsp, ! const eppobject::epp::epp_string_ref & _m_id, ! const eppobject::epp::epp_roid_ref & _m_roid, ! const epp_ContactNameAddress_ref & _m_ascii_address, ! const epp_ContactNameAddress_ref & _m_i15d_address, ! const epp_ContactPhone_ref & _m_voice, ! const epp_ContactPhone_ref & _m_fax, ! const eppobject::epp::epp_string_ref & _m_email, ! const epp_contact_status_seq_ref & _m_status, ! const eppobject::epp::epp_string_ref & _m_client_id, ! const eppobject::epp::epp_string_ref & _m_created_by, ! const eppobject::epp::epp_datetime_ref & _m_created_date, ! const eppobject::epp::epp_string_ref & _m_updated_by, ! const eppobject::epp::epp_datetime_ref & _m_updated_date, ! const eppobject::epp::epp_datetime_ref & _m_transfer_date, ! const eppobject::epp::epp_AuthInfo_ref & _m_auth_info) : epp::epp_GenericRsp(_m_rsp) { *************** *** 147,151 **** typedef refcnt_ptr<epp_ContactInfoRsp> epp_ContactInfoRsp_ref; ! }}; #endif --- 147,151 ---- typedef refcnt_ptr<epp_ContactInfoRsp> epp_ContactInfoRsp_ref; ! }} #endif Index: epp_ContactNameAddress.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_ContactNameAddress.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_ContactNameAddress.h 22 Feb 2002 15:46:02 -0000 1.7 --- epp_ContactNameAddress.h 17 Jul 2002 13:18:47 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTNAMEADDRESS_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTNAMEADDRESS_H *************** *** 55,61 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactNameAddress(eppobject::epp::epp_string _m_name, ! eppobject::epp::epp_string _m_org, ! epp_ContactAddress_ref _m_address) { m_name.ref(new eppobject::epp::epp_string(_m_name)); --- 55,61 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactNameAddress(const eppobject::epp::epp_string & _m_name, ! const eppobject::epp::epp_string & _m_org, ! const epp_ContactAddress_ref & _m_address) { m_name.ref(new eppobject::epp::epp_string(_m_name)); *************** *** 65,71 **** /// Constructor, using only references ! epp_ContactNameAddress(eppobject::epp::epp_string_ref _m_name, ! eppobject::epp::epp_string_ref _m_org, ! epp_ContactAddress_ref _m_address) { m_name = _m_name; --- 65,71 ---- /// Constructor, using only references ! epp_ContactNameAddress(const eppobject::epp::epp_string_ref & _m_name, ! const eppobject::epp::epp_string_ref & _m_org, ! const epp_ContactAddress_ref & _m_address) { m_name = _m_name; *************** *** 78,82 **** typedef refcnt_ptr<epp_ContactNameAddress> epp_ContactNameAddress_ref; ! }}; #endif --- 78,82 ---- typedef refcnt_ptr<epp_ContactNameAddress> epp_ContactNameAddress_ref; ! }} #endif Index: epp_ContactPhone.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_ContactPhone.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** epp_ContactPhone.h 9 Mar 2002 15:48:46 -0000 1.5 --- epp_ContactPhone.h 17 Jul 2002 13:18:47 -0000 1.6 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTPHONE_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTPHONE_H *************** *** 53,58 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactPhone(eppobject::epp::epp_string _m_extension, ! eppobject::epp::epp_string _m_value) { m_extension.ref(new eppobject::epp::epp_string(_m_extension)); --- 53,58 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactPhone(const eppobject::epp::epp_string & _m_extension, ! const eppobject::epp::epp_string & _m_value) { m_extension.ref(new eppobject::epp::epp_string(_m_extension)); *************** *** 61,66 **** /// Constructor, using only references ! epp_ContactPhone(eppobject::epp::epp_string_ref _m_extension, ! eppobject::epp::epp_string_ref _m_value) { m_extension = _m_extension; --- 61,66 ---- /// Constructor, using only references ! epp_ContactPhone(const eppobject::epp::epp_string_ref & _m_extension, ! const eppobject::epp::epp_string_ref & _m_value) { m_extension = _m_extension; *************** *** 72,76 **** typedef refcnt_ptr<epp_ContactPhone> epp_ContactPhone_ref; ! }}; #endif --- 72,76 ---- typedef refcnt_ptr<epp_ContactPhone> epp_ContactPhone_ref; ! }} #endif Index: epp_ContactStatus.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_ContactStatus.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_ContactStatus.h 22 Feb 2002 15:46:02 -0000 1.7 --- epp_ContactStatus.h 17 Jul 2002 13:18:47 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTSTATUS_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTSTATUS_H *************** *** 54,60 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactStatus(epp_ContactStatusType _m_type, ! eppobject::epp::epp_string _m_lang, ! eppobject::epp::epp_string _m_value) { m_type.ref(new epp_ContactStatusType(_m_type)); --- 54,60 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactStatus(const epp_ContactStatusType & _m_type, ! const eppobject::epp::epp_string & _m_lang, ! const eppobject::epp::epp_string & _m_value) { m_type.ref(new epp_ContactStatusType(_m_type)); *************** *** 64,70 **** /// Constructor, using only references ! epp_ContactStatus(epp_ContactStatusType_ref _m_type, ! eppobject::epp::epp_string_ref _m_lang, ! eppobject::epp::epp_string_ref _m_value) { m_type = _m_type; --- 64,70 ---- /// Constructor, using only references ! epp_ContactStatus(const epp_ContactStatusType_ref & _m_type, ! const eppobject::epp::epp_string_ref & _m_lang, ! const eppobject::epp::epp_string_ref & _m_value) { m_type = _m_type; *************** *** 77,81 **** typedef refcnt_ptr<epp_ContactStatus> epp_ContactStatus_ref; ! }}; #endif --- 77,81 ---- typedef refcnt_ptr<epp_ContactStatus> epp_ContactStatus_ref; ! }} #endif Index: epp_ContactTransferReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_ContactTransferReq.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_ContactTransferReq.h 9 Mar 2002 15:48:46 -0000 1.9 --- epp_ContactTransferReq.h 17 Jul 2002 13:18:47 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTTRANSFERREQ_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_CONTACTTRANSFERREQ_H *************** *** 56,62 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactTransferReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_TransferRequest_ref _m_trans, ! eppobject::epp::epp_string _m_id) : epp::epp_GenericReq(_m_cmd) { --- 56,62 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_ContactTransferReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_TransferRequest_ref & _m_trans, ! const eppobject::epp::epp_string & _m_id) : epp::epp_GenericReq(_m_cmd) { *************** *** 66,72 **** /// Constructor, using only references ! epp_ContactTransferReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_TransferRequest_ref _m_trans, ! eppobject::epp::epp_string_ref _m_id) : epp::epp_GenericReq(_m_cmd) { --- 66,72 ---- /// Constructor, using only references ! epp_ContactTransferReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_TransferRequest_ref & _m_trans, ! const eppobject::epp::epp_string_ref & _m_id) ... [truncated message content] |
Update of /cvsroot/epp-rtk/epp-rtk/c++/src/data In directory usw-pr-cvs1:/tmp/cvs-serv5171 Modified Files: epp_DomainCheckReq.h epp_DomainCheckRsp.h epp_DomainContact.h epp_DomainCreateReq.h epp_DomainCreateRsp.h epp_DomainDeleteReq.h epp_DomainDeleteRsp.h epp_DomainInfoReq.h epp_DomainInfoRsp.h epp_DomainPeriod.h epp_DomainRenewReq.h epp_DomainRenewRsp.h epp_DomainStatus.h epp_DomainTransferReq.h epp_DomainTransferRsp.h epp_DomainTrnData.h epp_DomainUpdateAddRemove.h epp_DomainUpdateChange.h epp_DomainUpdateReq.h epp_DomainUpdateRsp.h Log Message: CLEANUP: -all constructors now have const reference arguments -turned off lint-flagging of "suspicious" lines in cases where we know that they are ok -minor formatting changes Index: epp_DomainCheckReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_DomainCheckReq.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_DomainCheckReq.h 9 Mar 2002 15:48:46 -0000 1.9 --- epp_DomainCheckReq.h 17 Jul 2002 13:11:21 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINCHECKREQ_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINCHECKREQ_H *************** *** 53,58 **** /// Constructor ! epp_DomainCheckReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string_seq_ref _m_names) : epp::epp_GenericReq(_m_cmd) { --- 53,58 ---- /// Constructor ! epp_DomainCheckReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string_seq_ref & _m_names) : epp::epp_GenericReq(_m_cmd) { *************** *** 64,68 **** typedef refcnt_ptr<epp_DomainCheckReq> epp_DomainCheckReq_ref; ! }}; #endif --- 64,68 ---- typedef refcnt_ptr<epp_DomainCheckReq> epp_DomainCheckReq_ref; ! }} #endif Index: epp_DomainCheckRsp.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_DomainCheckRsp.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_DomainCheckRsp.h 9 Mar 2002 15:48:46 -0000 1.9 --- epp_DomainCheckRsp.h 17 Jul 2002 13:11:21 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINCHECKRSP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINCHECKRSP_H *************** *** 52,57 **** /// Constructor ! epp_DomainCheckRsp(eppobject::epp::epp_Response_ref _m_rsp, ! eppobject::epp::epp_check_result_seq_ref _m_results) : epp::epp_GenericCheckRsp(_m_rsp, _m_results) {}; --- 52,57 ---- /// Constructor ! epp_DomainCheckRsp(const eppobject::epp::epp_Response_ref & _m_rsp, ! const eppobject::epp::epp_check_result_seq_ref & _m_results) : epp::epp_GenericCheckRsp(_m_rsp, _m_results) {}; *************** *** 61,65 **** typedef refcnt_ptr<epp_DomainCheckRsp> epp_DomainCheckRsp_ref; ! }}; #endif --- 61,65 ---- typedef refcnt_ptr<epp_DomainCheckRsp> epp_DomainCheckRsp_ref; ! }} #endif Index: epp_DomainContact.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_DomainContact.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_DomainContact.h 22 Feb 2002 15:46:02 -0000 1.8 --- epp_DomainContact.h 17 Jul 2002 13:11:21 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINCONTACT_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINCONTACT_H *************** *** 54,59 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainContact(epp_DomainContactType _m_type, ! eppobject::epp::epp_string _m_id) { m_type.ref(new epp_DomainContactType(_m_type)); --- 54,59 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainContact(const epp_DomainContactType & _m_type, ! const eppobject::epp::epp_string & _m_id) { m_type.ref(new epp_DomainContactType(_m_type)); *************** *** 62,67 **** /// Constructor, using only references ! epp_DomainContact(epp_DomainContactType_ref _m_type, ! eppobject::epp::epp_string_ref _m_id) { m_type = _m_type; --- 62,67 ---- /// Constructor, using only references ! epp_DomainContact(const epp_DomainContactType_ref & _m_type, ! const eppobject::epp::epp_string_ref & _m_id) { m_type = _m_type; *************** *** 73,77 **** typedef refcnt_ptr<epp_DomainContact> epp_DomainContact_ref; ! }}; #endif --- 73,77 ---- typedef refcnt_ptr<epp_DomainContact> epp_DomainContact_ref; ! }} #endif Index: epp_DomainCreateReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_DomainCreateReq.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_DomainCreateReq.h 12 Mar 2002 20:38:32 -0000 1.9 --- epp_DomainCreateReq.h 17 Jul 2002 13:11:21 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINCREATEREQ_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINCREATEREQ_H *************** *** 65,75 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainCreateReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string _m_name, ! epp_DomainPeriod_ref _m_period, ! eppobject::epp::epp_string_seq_ref _m_name_servers, ! eppobject::epp::epp_string _m_registrant, ! epp_domain_contact_seq_ref _m_contacts, ! eppobject::epp::epp_AuthInfo_ref _m_auth_info) : epp::epp_GenericReq(_m_cmd) { --- 65,75 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainCreateReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string & _m_name, ! const epp_DomainPeriod_ref & _m_period, ! const eppobject::epp::epp_string_seq_ref & _m_name_servers, ! const eppobject::epp::epp_string & _m_registrant, ! const epp_domain_contact_seq_ref & _m_contacts, ! const eppobject::epp::epp_AuthInfo_ref & _m_auth_info) : epp::epp_GenericReq(_m_cmd) { *************** *** 83,93 **** /// Constructor, using only references ! epp_DomainCreateReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string_ref _m_name, ! epp_DomainPeriod_ref _m_period, ! eppobject::epp::epp_string_seq_ref _m_name_servers, ! eppobject::epp::epp_string_ref _m_registrant, ! epp_domain_contact_seq_ref _m_contacts, ! eppobject::epp::epp_AuthInfo_ref _m_auth_info) : epp::epp_GenericReq(_m_cmd) { --- 83,93 ---- /// Constructor, using only references ! epp_DomainCreateReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string_ref & _m_name, ! const epp_DomainPeriod_ref & _m_period, ! const eppobject::epp::epp_string_seq_ref & _m_name_servers, ! const eppobject::epp::epp_string_ref & _m_registrant, ! const epp_domain_contact_seq_ref & _m_contacts, ! const eppobject::epp::epp_AuthInfo_ref & _m_auth_info) : epp::epp_GenericReq(_m_cmd) { *************** *** 104,108 **** typedef refcnt_ptr<epp_DomainCreateReq> epp_DomainCreateReq_ref; ! }}; #endif --- 104,108 ---- typedef refcnt_ptr<epp_DomainCreateReq> epp_DomainCreateReq_ref; ! }} #endif Index: epp_DomainCreateRsp.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_DomainCreateRsp.h,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** epp_DomainCreateRsp.h 14 Mar 2002 16:45:16 -0000 1.11 --- epp_DomainCreateRsp.h 17 Jul 2002 13:11:21 -0000 1.12 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINCREATERSP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINCREATERSP_H *************** *** 57,64 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainCreateRsp(eppobject::epp::epp_Response_ref _m_rsp, ! eppobject::epp::epp_string _m_name, ! eppobject::epp::epp_datetime _m_creation_date, ! eppobject::epp::epp_datetime _m_expiration_date) : epp::epp_GenericRsp(_m_rsp) { --- 57,64 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainCreateRsp(const eppobject::epp::epp_Response_ref & _m_rsp, ! const eppobject::epp::epp_string & _m_name, ! const eppobject::epp::epp_datetime & _m_creation_date, ! const eppobject::epp::epp_datetime & _m_expiration_date) : epp::epp_GenericRsp(_m_rsp) { *************** *** 69,76 **** /// Constructor, using only references ! epp_DomainCreateRsp(eppobject::epp::epp_Response_ref _m_rsp, ! eppobject::epp::epp_string_ref _m_name, ! eppobject::epp::epp_datetime_ref _m_creation_date, ! eppobject::epp::epp_datetime_ref _m_expiration_date) : epp::epp_GenericRsp(_m_rsp) { --- 69,76 ---- /// Constructor, using only references ! epp_DomainCreateRsp(const eppobject::epp::epp_Response_ref & _m_rsp, ! const eppobject::epp::epp_string_ref & _m_name, ! const eppobject::epp::epp_datetime_ref & _m_creation_date, ! const eppobject::epp::epp_datetime_ref & _m_expiration_date) : epp::epp_GenericRsp(_m_rsp) { *************** *** 84,88 **** typedef refcnt_ptr<epp_DomainCreateRsp> epp_DomainCreateRsp_ref; ! }}; #endif --- 84,88 ---- typedef refcnt_ptr<epp_DomainCreateRsp> epp_DomainCreateRsp_ref; ! }} #endif Index: epp_DomainDeleteReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_DomainDeleteReq.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_DomainDeleteReq.h 9 Mar 2002 15:48:46 -0000 1.9 --- epp_DomainDeleteReq.h 17 Jul 2002 13:11:21 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINDELETEREQ_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINDELETEREQ_H *************** *** 54,59 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainDeleteReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string _m_name) : epp::epp_GenericReq(_m_cmd) { --- 54,59 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainDeleteReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string & _m_name) : epp::epp_GenericReq(_m_cmd) { *************** *** 62,67 **** /// Constructor, using only references ! epp_DomainDeleteReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string_ref _m_name) : epp::epp_GenericReq(_m_cmd) { --- 62,67 ---- /// Constructor, using only references ! epp_DomainDeleteReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string_ref & _m_name) : epp::epp_GenericReq(_m_cmd) { *************** *** 73,77 **** typedef refcnt_ptr<epp_DomainDeleteReq> epp_DomainDeleteReq_ref; ! }}; #endif --- 73,77 ---- typedef refcnt_ptr<epp_DomainDeleteReq> epp_DomainDeleteReq_ref; ! }} #endif Index: epp_DomainDeleteRsp.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_DomainDeleteRsp.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** epp_DomainDeleteRsp.h 9 Mar 2002 15:48:46 -0000 1.9 --- epp_DomainDeleteRsp.h 17 Jul 2002 13:11:21 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINDELETERSP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINDELETERSP_H *************** *** 51,55 **** /// Constructor ! epp_DomainDeleteRsp(eppobject::epp::epp_Response_ref _m_rsp) : epp::epp_GenericRsp(_m_rsp) {}; --- 51,55 ---- /// Constructor ! epp_DomainDeleteRsp(const eppobject::epp::epp_Response_ref & _m_rsp) : epp::epp_GenericRsp(_m_rsp) {}; *************** *** 59,63 **** typedef refcnt_ptr<epp_DomainDeleteRsp> epp_DomainDeleteRsp_ref; ! }}; #endif --- 59,63 ---- typedef refcnt_ptr<epp_DomainDeleteRsp> epp_DomainDeleteRsp_ref; ! }} #endif Index: epp_DomainInfoReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_DomainInfoReq.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** epp_DomainInfoReq.h 9 Mar 2002 15:48:46 -0000 1.10 --- epp_DomainInfoReq.h 17 Jul 2002 13:11:21 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAININFOREQ_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAININFOREQ_H *************** *** 55,61 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainInfoReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string _m_name, ! epp_DomainHostsType_ref _m_hosts_type) : epp::epp_GenericReq(_m_cmd) { --- 55,61 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainInfoReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string & _m_name, ! const epp_DomainHostsType_ref & _m_hosts_type) : epp::epp_GenericReq(_m_cmd) { *************** *** 65,71 **** /// Constructor, using only references ! epp_DomainInfoReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string_ref _m_name, ! epp_DomainHostsType_ref _m_hosts_type) : epp::epp_GenericReq(_m_cmd) { --- 65,71 ---- /// Constructor, using only references ! epp_DomainInfoReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string_ref & _m_name, ! const epp_DomainHostsType_ref & _m_hosts_type) : epp::epp_GenericReq(_m_cmd) { *************** *** 78,82 **** typedef refcnt_ptr<epp_DomainInfoReq> epp_DomainInfoReq_ref; ! }}; #endif --- 78,82 ---- typedef refcnt_ptr<epp_DomainInfoReq> epp_DomainInfoReq_ref; ! }} #endif Index: epp_DomainInfoRsp.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_DomainInfoRsp.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** epp_DomainInfoRsp.h 18 Mar 2002 16:30:43 -0000 1.10 --- epp_DomainInfoRsp.h 17 Jul 2002 13:11:21 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAININFORSP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAININFORSP_H *************** *** 75,94 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainInfoRsp(eppobject::epp::epp_Response_ref _m_rsp, ! eppobject::epp::epp_string _m_name, ! eppobject::epp::epp_roid _m_roid, ! epp_domain_status_seq_ref _m_status, ! eppobject::epp::epp_string _m_registrant, ! epp_domain_contact_seq_ref _m_contacts, ! eppobject::epp::epp_string_seq_ref _m_name_servers, ! eppobject::epp::epp_string_seq_ref _m_hosts, ! eppobject::epp::epp_string _m_client_id, ! eppobject::epp::epp_string _m_created_by, ! eppobject::epp::epp_datetime _m_created_date, ! eppobject::epp::epp_string _m_updated_by, ! eppobject::epp::epp_datetime _m_updated_date, ! eppobject::epp::epp_datetime _m_expiration_date, ! eppobject::epp::epp_datetime _m_transfer_date, ! eppobject::epp::epp_AuthInfo_ref _m_auth_info) : epp::epp_GenericRsp(_m_rsp) { --- 75,94 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainInfoRsp(const eppobject::epp::epp_Response_ref & _m_rsp, ! const eppobject::epp::epp_string & _m_name, ! const eppobject::epp::epp_roid & _m_roid, ! const epp_domain_status_seq_ref & _m_status, ! const eppobject::epp::epp_string & _m_registrant, ! const epp_domain_contact_seq_ref & _m_contacts, ! const eppobject::epp::epp_string_seq_ref & _m_name_servers, ! const eppobject::epp::epp_string_seq_ref & _m_hosts, ! const eppobject::epp::epp_string & _m_client_id, ! const eppobject::epp::epp_string & _m_created_by, ! const eppobject::epp::epp_datetime & _m_created_date, ! const eppobject::epp::epp_string & _m_updated_by, ! const eppobject::epp::epp_datetime & _m_updated_date, ! const eppobject::epp::epp_datetime & _m_expiration_date, ! const eppobject::epp::epp_datetime & _m_transfer_date, ! const eppobject::epp::epp_AuthInfo_ref & _m_auth_info) : epp::epp_GenericRsp(_m_rsp) { *************** *** 111,130 **** /// Constructor, using only references ! epp_DomainInfoRsp(eppobject::epp::epp_Response_ref _m_rsp, ! eppobject::epp::epp_string_ref _m_name, ! eppobject::epp::epp_roid_ref _m_roid, ! epp_domain_status_seq_ref _m_status, ! eppobject::epp::epp_string_ref _m_registrant, ! epp_domain_contact_seq_ref _m_contacts, ! eppobject::epp::epp_string_seq_ref _m_name_servers, ! eppobject::epp::epp_string_seq_ref _m_hosts, ! eppobject::epp::epp_string_ref _m_client_id, ! eppobject::epp::epp_string_ref _m_created_by, ! eppobject::epp::epp_datetime_ref _m_created_date, ! eppobject::epp::epp_string_ref _m_updated_by, ! eppobject::epp::epp_datetime_ref _m_updated_date, ! eppobject::epp::epp_datetime_ref _m_expiration_date, ! eppobject::epp::epp_datetime_ref _m_transfer_date, ! eppobject::epp::epp_AuthInfo_ref _m_auth_info) : epp::epp_GenericRsp(_m_rsp) { --- 111,130 ---- /// Constructor, using only references ! epp_DomainInfoRsp(const eppobject::epp::epp_Response_ref & _m_rsp, ! const eppobject::epp::epp_string_ref & _m_name, ! const eppobject::epp::epp_roid_ref & _m_roid, ! const epp_domain_status_seq_ref & _m_status, ! const eppobject::epp::epp_string_ref & _m_registrant, ! const epp_domain_contact_seq_ref & _m_contacts, ! const eppobject::epp::epp_string_seq_ref & _m_name_servers, ! const eppobject::epp::epp_string_seq_ref & _m_hosts, ! const eppobject::epp::epp_string_ref & _m_client_id, ! const eppobject::epp::epp_string_ref & _m_created_by, ! const eppobject::epp::epp_datetime_ref & _m_created_date, ! const eppobject::epp::epp_string_ref & _m_updated_by, ! const eppobject::epp::epp_datetime_ref & _m_updated_date, ! const eppobject::epp::epp_datetime_ref & _m_expiration_date, ! const eppobject::epp::epp_datetime_ref & _m_transfer_date, ! const eppobject::epp::epp_AuthInfo_ref & _m_auth_info) : epp::epp_GenericRsp(_m_rsp) { *************** *** 150,154 **** typedef refcnt_ptr<epp_DomainInfoRsp> epp_DomainInfoRsp_ref; ! }}; #endif --- 150,154 ---- typedef refcnt_ptr<epp_DomainInfoRsp> epp_DomainInfoRsp_ref; ! }} #endif Index: epp_DomainPeriod.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_DomainPeriod.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_DomainPeriod.h 22 Feb 2002 15:46:02 -0000 1.7 --- epp_DomainPeriod.h 17 Jul 2002 13:11:21 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINPERIOD_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINPERIOD_H *************** *** 53,66 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainPeriod(epp_DomainPeriodUnitType _m_unit, ! eppobject::epp::epp_short _m_value) { m_unit.ref(new epp_DomainPeriodUnitType(_m_unit)); m_value.ref(new eppobject::epp::epp_short(_m_value)); }; /// Constructor, using only references ! epp_DomainPeriod(epp_DomainPeriodUnitType_ref _m_unit, ! eppobject::epp::epp_short_ref _m_value) { m_unit = _m_unit; --- 53,69 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainPeriod(const epp_DomainPeriodUnitType & _m_unit, ! const eppobject::epp::epp_short & _m_value) { m_unit.ref(new epp_DomainPeriodUnitType(_m_unit)); + //lint -e1556 + // We know that this line is not really suspicious... m_value.ref(new eppobject::epp::epp_short(_m_value)); + //lint +e1556 }; /// Constructor, using only references ! epp_DomainPeriod(const epp_DomainPeriodUnitType_ref & _m_unit, ! const eppobject::epp::epp_short_ref & _m_value) { m_unit = _m_unit; *************** *** 72,76 **** typedef refcnt_ptr<epp_DomainPeriod> epp_DomainPeriod_ref; ! }}; #endif --- 75,79 ---- typedef refcnt_ptr<epp_DomainPeriod> epp_DomainPeriod_ref; ! }} #endif Index: epp_DomainRenewReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_DomainRenewReq.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_DomainRenewReq.h 12 Mar 2002 20:38:32 -0000 1.8 --- epp_DomainRenewReq.h 17 Jul 2002 13:11:21 -0000 1.9 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINRENEWREQ_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINRENEWREQ_H *************** *** 57,64 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainRenewReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string _m_name, ! eppobject::epp::epp_date _m_current_expiration_date, ! epp_DomainPeriod_ref _m_period) : epp::epp_GenericReq(_m_cmd) { --- 57,64 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainRenewReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string & _m_name, ! const eppobject::epp::epp_date & _m_current_expiration_date, ! const epp_DomainPeriod_ref & _m_period) : epp::epp_GenericReq(_m_cmd) { *************** *** 69,76 **** /// Constructor, using only references ! epp_DomainRenewReq(eppobject::epp::epp_Command_ref _m_cmd, ! eppobject::epp::epp_string_ref _m_name, ! eppobject::epp::epp_date_ref _m_current_expiration_date, ! epp_DomainPeriod_ref _m_period) : epp::epp_GenericReq(_m_cmd) { --- 69,76 ---- /// Constructor, using only references ! epp_DomainRenewReq(const eppobject::epp::epp_Command_ref & _m_cmd, ! const eppobject::epp::epp_string_ref & _m_name, ! const eppobject::epp::epp_date_ref & _m_current_expiration_date, ! const epp_DomainPeriod_ref & _m_period) : epp::epp_GenericReq(_m_cmd) { *************** *** 84,88 **** typedef refcnt_ptr<epp_DomainRenewReq> epp_DomainRenewReq_ref; ! }}; #endif --- 84,88 ---- typedef refcnt_ptr<epp_DomainRenewReq> epp_DomainRenewReq_ref; ! }} #endif Index: epp_DomainRenewRsp.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_DomainRenewRsp.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** epp_DomainRenewRsp.h 18 Mar 2002 16:30:43 -0000 1.10 --- epp_DomainRenewRsp.h 17 Jul 2002 13:11:21 -0000 1.11 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINRENEWRSP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINRENEWRSP_H *************** *** 56,62 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainRenewRsp(eppobject::epp::epp_Response_ref _m_rsp, ! eppobject::epp::epp_string _m_name, ! eppobject::epp::epp_datetime _m_expiration_date) : epp::epp_GenericRsp(_m_rsp) { --- 56,62 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainRenewRsp(const eppobject::epp::epp_Response_ref & _m_rsp, ! const eppobject::epp::epp_string & _m_name, ! const eppobject::epp::epp_datetime & _m_expiration_date) : epp::epp_GenericRsp(_m_rsp) { *************** *** 66,72 **** /// Constructor, using only references ! epp_DomainRenewRsp(eppobject::epp::epp_Response_ref _m_rsp, ! eppobject::epp::epp_string_ref _m_name, ! eppobject::epp::epp_datetime_ref _m_expiration_date) : epp::epp_GenericRsp(_m_rsp) { --- 66,72 ---- /// Constructor, using only references ! epp_DomainRenewRsp(const eppobject::epp::epp_Response_ref & _m_rsp, ! const eppobject::epp::epp_string_ref & _m_name, ! const eppobject::epp::epp_datetime_ref & _m_expiration_date) : epp::epp_GenericRsp(_m_rsp) { *************** *** 79,83 **** typedef refcnt_ptr<epp_DomainRenewRsp> epp_DomainRenewRsp_ref; ! }}; #endif --- 79,83 ---- typedef refcnt_ptr<epp_DomainRenewRsp> epp_DomainRenewRsp_ref; ! }} #endif Index: epp_DomainStatus.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_DomainStatus.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_DomainStatus.h 22 Feb 2002 15:46:02 -0000 1.7 --- epp_DomainStatus.h 17 Jul 2002 13:11:21 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINSTATUS_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_DOMAINSTATUS_H *************** *** 54,60 **** /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainStatus(epp_DomainStatusType _m_type, ! eppobject::epp::epp_string _m_lang, ! eppobject::epp::epp_string _m_value) { m_type.ref(new epp_DomainStatusType(_m_type)); --- 54,60 ---- /// Constructor, using simple types when it can /// @note Cannot set simple types to NULL ! epp_DomainStatus(const epp_DomainStatusType & _m_type, ! const eppobject::epp::epp_string & _m_lang, ! const eppobject::epp::epp_string & _m_value) { m_type.ref(new epp_DomainStatusType(_m_type)); *************** *** 64,70 **** /// Constructor, using only references ! epp_DomainStatus(epp_DomainStatusType_ref _m_type, ! eppobject::epp::epp_string_ref _m_lang, ! eppobject::epp::epp_string_ref _m_value) { m_type = _m_type; --- 64,70 ---- /// Constructor, using only references ! epp_DomainStatus(const epp_DomainStatusType_ref & _m_type, ! const eppobject::epp::epp_string_ref & _m_lang, ! const eppobject::epp::epp_string_ref & _m_value) { m_type = _m_type; *************** *** 77,81 **** typedef refcnt_ptr<epp_DomainStatus> epp_DomainStatus_ref; ! }}; #endif --- 77,81 ---- typedef refcnt_ptr<epp_DomainStatus> epp_DomainStatus_ref; ! }} #endif Index: epp_DomainTransferReq.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_DomainTransferReq.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** epp_DomainTransferReq.h 12 Mar 2002 20:38:32 -0000 1.8 --- epp_DomainTransferReq.h... [truncated message content] |
From: Asbjorn M. <ste...@us...> - 2002-07-17 11:50:24
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src/transport In directory usw-pr-cvs1:/tmp/cvs-serv5637 Modified Files: epp_TransportBase.h epp_TransportConn.h epp_TransportIOStream.h epp_TransportSSL.h epp_TransportTCP.h epp_TransportIOStream.cc epp_TransportSSL.cc epp_TransportTCP.cc Log Message: CLEANUP: -in epp_TransportBase, removed variable name in virtual set-functions -const'ed functions where possible -now casting pointers to the correct type when NULLing pointers -turned off lint-checking of ignoring return values in cases where we believe it is fine to do so -removed "throw()" declaration from exception class constructors -in epp_TransportSSL, made sure sslserver pointer is not NULL before used -in epp_TransportSSL, added initializion of sockfd in constructor -destructors cannot throw exceptions anymore -minor formatting changes Index: epp_TransportBase.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/transport/epp_TransportBase.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** epp_TransportBase.h 14 Mar 2002 18:37:50 -0000 1.6 --- epp_TransportBase.h 17 Jul 2002 11:50:17 -0000 1.7 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_TRANSPORTBASE_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_TRANSPORTBASE_H *************** *** 78,82 **** /// Setting the port of the server /// @param serverPort Server port ! virtual void setServerPort(const unsigned long & serverPort) {}; /// Returning the name of the server --- 78,82 ---- /// Setting the port of the server /// @param serverPort Server port ! virtual void setServerPort(const unsigned long &) {}; /// Returning the name of the server *************** *** 86,94 **** /// Setting the name of the server /// @param serverName Server name ! virtual void setServerName(const string & serverName) {}; /// Returning type of transport /// @return Transport type ! virtual string getType() { return m_type; --- 86,94 ---- /// Setting the name of the server /// @param serverName Server name ! virtual void setServerName(const string &) {}; /// Returning type of transport /// @return Transport type ! virtual string getType() const { return m_type; *************** *** 112,116 **** /// Constructor with error data ! epp_TrException(const string & data) throw() { m_error_message = data; --- 112,116 ---- /// Constructor with error data ! epp_TrException(const string & data) { m_error_message = data; *************** *** 119,123 **** /// Returns the error string /// @deprecated Access the data directly instead ! virtual string getString() { return m_error_message; --- 119,123 ---- /// Returns the error string /// @deprecated Access the data directly instead ! virtual string getString() const { return m_error_message; *************** *** 125,129 **** /// Constructor with error data, file name, and line number ! epp_TrException(const string file, const int lineno, const string & data) throw() { char buf[10]; --- 125,129 ---- /// Constructor with error data, file name, and line number ! epp_TrException(const string & file, const int lineno, const string & data) { char buf[10]; *************** *** 137,141 **** }; ! }; #endif --- 137,141 ---- }; ! } #endif Index: epp_TransportConn.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/transport/epp_TransportConn.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_TransportConn.h 19 Mar 2002 09:32:40 -0000 1.7 --- epp_TransportConn.h 17 Jul 2002 11:50:17 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_TRANSPORTCONN_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_TRANSPORTCONN_H *************** *** 121,125 **** /// Typedef for the ref to the epp_TransportConn class typedef refcnt_ptr<epp_TransportConn> epp_TransportConn_ref; ! }; #endif --- 121,125 ---- /// Typedef for the ref to the epp_TransportConn class typedef refcnt_ptr<epp_TransportConn> epp_TransportConn_ref; ! } #endif Index: epp_TransportIOStream.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/transport/epp_TransportIOStream.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** epp_TransportIOStream.h 14 Mar 2002 18:37:50 -0000 1.4 --- epp_TransportIOStream.h 17 Jul 2002 11:50:17 -0000 1.5 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_TRANSPORTIOSTREAM_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_TRANSPORTIOSTREAM_H *************** *** 66,70 **** /// Typedef for the ref to the epp_TransportIOStream class typedef refcnt_ptr<epp_TransportIOStream> epp_TransportIOStream_ref; ! }; #endif --- 66,70 ---- /// Typedef for the ref to the epp_TransportIOStream class typedef refcnt_ptr<epp_TransportIOStream> epp_TransportIOStream_ref; ! } #endif Index: epp_TransportSSL.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/transport/epp_TransportSSL.h,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** epp_TransportSSL.h 14 Mar 2002 18:37:50 -0000 1.12 --- epp_TransportSSL.h 17 Jul 2002 11:50:17 -0000 1.13 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_TRANSPORTSSL_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_TRANSPORTSSL_H *************** *** 60,64 **** { m_type="epp_TransportSSL"; ! sslserver = NULL; // Default cert-file: m_certFile = "/usr/share/ssl/certs/client.pem"; --- 60,65 ---- { m_type="epp_TransportSSL"; ! sslserver = (npbase::npssl *)NULL; ! sockfd = 0; // Default cert-file: m_certFile = "/usr/share/ssl/certs/client.pem"; *************** *** 71,75 **** { m_type="epp_TransportSSL"; ! sslserver = NULL; m_certFile = certFile; m_cacertFile = cacertFile; --- 72,77 ---- { m_type="epp_TransportSSL"; ! sslserver = (npbase::npssl *)NULL; ! sockfd = 0; m_certFile = certFile; m_cacertFile = cacertFile; *************** *** 80,84 **** virtual ~epp_TransportSSL() { ! delete sslserver; }; --- 82,90 ---- virtual ~epp_TransportSSL() { ! // To avoid the destructor from throwing an exception: ! try { ! delete sslserver; ! } catch(...) { ! } }; *************** *** 124,128 **** /// Returning the location of the SSL certificate file /// @return Location of the SSL certificate file ! string getCertFile() { return m_certFile; --- 130,134 ---- /// Returning the location of the SSL certificate file /// @return Location of the SSL certificate file ! string getCertFile() const { return m_certFile; *************** *** 138,142 **** /// Returning the filename of the certificate authority file /// @return Filename of the certificate authority file ! string getCACertFile() { return m_cacertFile; --- 144,148 ---- /// Returning the filename of the certificate authority file /// @return Filename of the certificate authority file ! string getCACertFile() const { return m_cacertFile; *************** *** 152,156 **** /// Returning the directory of the certificate authority file /// @return Directory of the certificate authority file ! string getCACertDir() { return m_cacertDir; --- 158,162 ---- /// Returning the directory of the certificate authority file /// @return Directory of the certificate authority file ! string getCACertDir() const { return m_cacertDir; *************** *** 166,170 **** /// Tells whether the client is connected to the server or not /// @return True if client is connect to server, otherwise false ! bool connected() { return (sslserver ? true : false); --- 172,176 ---- /// Tells whether the client is connected to the server or not /// @return True if client is connect to server, otherwise false ! bool connected() const { return (sslserver ? true : false); *************** *** 175,179 **** typedef refcnt_ptr<epp_TransportSSL> epp_TransportSSL_ref; ! }; #endif --- 181,185 ---- typedef refcnt_ptr<epp_TransportSSL> epp_TransportSSL_ref; ! } #endif Index: epp_TransportTCP.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/transport/epp_TransportTCP.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** epp_TransportTCP.h 14 Mar 2002 18:37:50 -0000 1.3 --- epp_TransportTCP.h 17 Jul 2002 11:50:17 -0000 1.4 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_TRANSPORTTCP_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_TRANSPORTTCP_H *************** *** 71,75 **** virtual ~epp_TransportTCP() { ! disconnect(); }; --- 71,79 ---- virtual ~epp_TransportTCP() { ! // To avoid the destructor from throwing an exception: ! try { ! disconnect(); ! } catch(...) { ! } }; *************** *** 100,103 **** --- 104,109 ---- /// Disconnects from server + /// @note <fixme>Make content of function private, and make this one virtual, and + /// make all usage of function call the private function instead.</fixme> void disconnect(); *************** *** 110,114 **** typedef refcnt_ptr<epp_TransportTCP> epp_TransportTCP_ref; ! }; #endif --- 116,120 ---- typedef refcnt_ptr<epp_TransportTCP> epp_TransportTCP_ref; ! } #endif Index: epp_TransportIOStream.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/transport/epp_TransportIOStream.cc,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** epp_TransportIOStream.cc 14 Mar 2002 18:37:50 -0000 1.6 --- epp_TransportIOStream.cc 17 Jul 2002 11:50:17 -0000 1.7 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ /** @file epp_TransportIOStream.cc --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ /** @file epp_TransportIOStream.cc *************** *** 55,59 **** string s; char c; ! while(cin) { cin.get(c); --- 55,61 ---- string s; char c; ! ! //lint -e534 ! // We are not interested in the return values of cin.get() here while(cin) { cin.get(c); *************** *** 84,87 **** --- 86,90 ---- } // while + //lint +e534 return s; Index: epp_TransportSSL.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/transport/epp_TransportSSL.cc,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** epp_TransportSSL.cc 25 Apr 2002 09:52:00 -0000 1.14 --- epp_TransportSSL.cc 17 Jul 2002 11:50:17 -0000 1.15 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ /** @file epp_TransportSSL.cc --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ /** @file epp_TransportSSL.cc *************** *** 65,78 **** string::size_type lastNotWhite = send_xml.find_last_not_of(" \t\r\n"); if(lastNotWhite != (send_xml.length()-1) && lastNotWhite != 0) { send_xml.erase(lastNotWhite+1, send_xml.length()); } ! if(!connected()) { throw epp_TrException(__FILE__, __LINE__, "Not connected to server"); } try { sslserver->bufferedPutS(send_xml); sslserver->flush(); } catch(...) { --- 65,85 ---- string::size_type lastNotWhite = send_xml.find_last_not_of(" \t\r\n"); if(lastNotWhite != (send_xml.length()-1) && lastNotWhite != 0) { + + //lint -e534 + // We are not interested in the return value here: send_xml.erase(lastNotWhite+1, send_xml.length()); + //lint +e534 } ! if(!connected() || !sslserver) { throw epp_TrException(__FILE__, __LINE__, "Not connected to server"); } try { + //lint -e534 + // We are not interested in the return values here: sslserver->bufferedPutS(send_xml); sslserver->flush(); + //lint +e534 } catch(...) { *************** *** 84,88 **** string epp_TransportSSL::readFromServer() { ! if(!connected()) { throw epp_TrException(__FILE__, __LINE__, "Not connected to server"); } --- 91,95 ---- string epp_TransportSSL::readFromServer() { ! if(!connected() || !sslserver) { throw epp_TrException(__FILE__, __LINE__, "Not connected to server"); } *************** *** 132,137 **** void epp_TransportSSL::connect(const string & serverName, const unsigned long & serverPort, ! const string & certFile, const string & cacertFile = "", ! const string & cacertDir = "") { m_serverName = serverName; --- 139,144 ---- void epp_TransportSSL::connect(const string & serverName, const unsigned long & serverPort, ! const string & certFile, const string & cacertFile /* = "" */, ! const string & cacertDir /* = "" */) { m_serverName = serverName; *************** *** 186,190 **** } ! if(sslserver->handShake(sockfd, sockfd) == false) { throw epp_TrException(__FILE__, __LINE__, "SSL handshake failed. Terminating connection."); } --- 193,197 ---- } ! if(!sslserver->handShake(sockfd, sockfd)) { throw epp_TrException(__FILE__, __LINE__, "SSL handshake failed. Terminating connection."); } *************** *** 196,199 **** { delete sslserver; ! sslserver = NULL; } --- 203,206 ---- { delete sslserver; ! sslserver = (npbase::npssl *)NULL; } Index: epp_TransportTCP.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/transport/epp_TransportTCP.cc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** epp_TransportTCP.cc 25 Apr 2002 09:52:00 -0000 1.5 --- epp_TransportTCP.cc 17 Jul 2002 11:50:17 -0000 1.6 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ *************** *** 148,152 **** --- 148,155 ---- string::size_type lastNotWhite = send_xml.find_last_not_of(" \t\r\n"); if(lastNotWhite != (send_xml.length()-1) && lastNotWhite != 0) { + //lint -e534 + // We are not interested in the return value here: send_xml.erase(lastNotWhite+1, send_xml.length()); + //lint +e534 } *************** *** 265,269 **** if (!address) { disconnect(); ! throw epp_TrException(__FILE__, __LINE__, "Unable to resolve hostname");; } --- 268,272 ---- if (!address) { disconnect(); ! throw epp_TrException(__FILE__, __LINE__, "Unable to resolve hostname"); } |
From: Asbjorn M. <ste...@us...> - 2002-06-13 14:06:18
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src/data In directory usw-pr-cvs1:/tmp/cvs-serv24679 Modified Files: epp_contactXMLbase.cc Log Message: The line ''outputobject.endTag("contact:addr");'' was erroneously outside the if-statement with the corresponding beginTag(...) in the function addAddressElement(...). This would cause a thrown exception if a contact <update> commands was issued where the <chg>-part only updated <name> and/or <org>. Index: epp_contactXMLbase.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_contactXMLbase.cc,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** epp_contactXMLbase.cc 8 Mar 2002 11:41:27 -0000 1.10 --- epp_contactXMLbase.cc 13 Jun 2002 14:06:13 -0000 1.11 *************** *** 103,109 **** outputobject.putTag("contact:cc", *element->m_address->m_country_code); } } // if "m_address" - outputobject.endTag("contact:addr"); outputobject.endTag(tag); } --- 103,111 ---- outputobject.putTag("contact:cc", *element->m_address->m_country_code); } + + outputobject.endTag("contact:addr"); + } // if "m_address" outputobject.endTag(tag); } |
From: Asbjorn M. <ste...@us...> - 2002-05-31 14:27:31
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src/data In directory usw-pr-cvs1:/tmp/cvs-serv11662/src/data Modified Files: epp_eppXMLbase.cc Log Message: createGenericResponse now throwing epp_Exception with the new m_ext_string element. Index: epp_eppXMLbase.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_eppXMLbase.cc,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** epp_eppXMLbase.cc 15 May 2002 16:29:27 -0000 1.15 --- epp_eppXMLbase.cc 31 May 2002 14:27:19 -0000 1.16 *************** *** 466,470 **** // Throw exception if there is an error-condition... if(res->m_results != NULL && *((res->m_results->front()).m_code) >= epp_Session::EPP_UNKNOWN_COMMAND) { ! epp_Exception throwMe = epp_Exception(res->m_results, res->m_trans_id); throw throwMe; } --- 466,470 ---- // Throw exception if there is an error-condition... if(res->m_results != NULL && *((res->m_results->front()).m_code) >= epp_Session::EPP_UNKNOWN_COMMAND) { ! epp_Exception throwMe = epp_Exception(res->m_results, res->m_trans_id, res->m_ext_string); throw throwMe; } |
From: Asbjorn M. <ste...@us...> - 2002-05-31 14:23:57
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src/data In directory usw-pr-cvs1:/tmp/cvs-serv8440/src/data Modified Files: epp_Exception.h Log Message: m_ext_string (response extension) added to the class. In order for the constructor to be backward compatible, it will work regardless of this element being provided or not. Index: epp_Exception.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_Exception.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** epp_Exception.h 9 Mar 2002 15:48:46 -0000 1.7 --- epp_Exception.h 31 May 2002 14:23:53 -0000 1.8 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_EXCEPTION_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_EXCEPTION_H *************** *** 49,54 **** public: ! epp_result_seq_ref m_details; /**< Object describing the encountered error(s)*/ epp_TransID_ref m_trans_id; /**< Transaction identifier assigned by the server to the command */ /// Null constructor --- 49,55 ---- public: ! epp_result_seq_ref m_details; /**< Object describing the encountered error(s) */ epp_TransID_ref m_trans_id; /**< Transaction identifier assigned by the server to the command */ + epp_xml_string_ref m_ext_string; /**< Extension element used for server-defined response extensions */ /// Null constructor *************** *** 60,67 **** /// Constructor with error data epp_Exception(const epp_result_seq_ref & _m_details, ! const epp_TransID_ref & _m_trans_id) throw() { m_details = _m_details; m_trans_id = _m_trans_id; }; --- 61,70 ---- /// Constructor with error data epp_Exception(const epp_result_seq_ref & _m_details, ! const epp_TransID_ref & _m_trans_id, ! const epp_xml_string_ref & _m_ext_string = epp_xml_string_ref(new epp_xml_string(""))) throw() { m_details = _m_details; m_trans_id = _m_trans_id; + m_ext_string = _m_ext_string; }; |
From: Asbjorn M. <ste...@us...> - 2002-05-22 09:54:13
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src In directory usw-pr-cvs1:/tmp/cvs-serv26190 Modified Files: main_contacttransfer.cc main_domaintransfer.cc Log Message: Added -testdata option to provide data to test programs. Index: main_contacttransfer.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_contacttransfer.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** main_contacttransfer.cc 15 Mar 2002 16:34:22 -0000 1.9 --- main_contacttransfer.cc 22 May 2002 09:54:07 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> *************** *** 91,130 **** return 1; testLogIn(test, username, password); try { - // REQ-test: epp_ContactTransferReq_ref l_req(new epp_ContactTransferReq()); l_req->m_cmd.ref(new epp_Command(NULL, NULL, ! epp_trid("ABC-12345"))); ! ! l_req->m_id.ref(new epp_string("sh8013")); ! l_req->m_trans.ref(new epp_TransferRequest()); ! l_req->m_trans->m_op.ref(new epp_TransferOpType(REQUEST)); ! l_req->m_trans->m_auth_info.ref(new epp_AuthInfo()); ! l_req->m_trans->m_auth_info->m_type.ref(new epp_AuthInfoType(PW)); ! l_req->m_trans->m_auth_info->m_value.ref(new epp_string("2fooBAR")); epp_ContactTransfer_ref l_obj(new epp_ContactTransfer()); ! l_obj->setRequestData(*l_req); ! ! test.processAction(l_obj); ! ! epp_ContactTransferRsp_ref l_rsp = l_obj->getResponseData(); ! #ifndef TEST_IO_REQUEST2CERR ! printRsp(l_rsp); #endif ! ! cout << "\n----------------------------------\n"; ! ! // QUERY-test: ! ! *l_req->m_trans->m_op = QUERY; ! l_req->m_trans->m_auth_info.ref(NULL); l_obj->setRequestData(*l_req); --- 91,165 ---- return 1; + map<int,string> testDataMap; + + if(argc > 1) { + for(int parm = 1; parm < argc; parm++) { + + if (!strncmp(argv[parm], "-testdata=", 10)) { + string td = &argv[parm][10]; + testDataMap = getTestDataMap(td); + } + } + } + testLogIn(test, username, password); try { epp_ContactTransferReq_ref l_req(new epp_ContactTransferReq()); + string trID; + if(testDataMap.empty()) trID = "ABC-12345"; + else trID = testDataMap[1]; + l_req->m_cmd.ref(new epp_Command(NULL, NULL, ! epp_trid(trID))); epp_ContactTransfer_ref l_obj(new epp_ContactTransfer()); + epp_ContactTransferRsp_ref l_rsp; ! if(testDataMap.empty()) { ! ! // REQ-test: ! l_req->m_id.ref(new epp_string("sh8013")); ! l_req->m_trans.ref(new epp_TransferRequest()); ! l_req->m_trans->m_op.ref(new epp_TransferOpType(REQUEST)); ! l_req->m_trans->m_auth_info.ref(new epp_AuthInfo()); ! l_req->m_trans->m_auth_info->m_type.ref(new epp_AuthInfoType(PW)); ! l_req->m_trans->m_auth_info->m_value.ref(new epp_string("2fooBAR")); ! ! ! l_obj->setRequestData(*l_req); ! ! test.processAction(l_obj); ! ! l_rsp = l_obj->getResponseData(); ! #ifndef TEST_IO_REQUEST2CERR ! printRsp(l_rsp); #endif ! ! cout << "\n----------------------------------\n"; ! ! // QUERY-test: ! *l_req->m_trans->m_op = QUERY; ! l_req->m_trans->m_auth_info.ref(NULL); ! ! } ! else { ! if(testDataMap[2] != "-1") l_req->m_id.ref(new epp_string(testDataMap[2])); ! ! if(testDataMap[3] != "-1") { ! l_req->m_trans.ref(new epp_TransferRequest()); ! l_req->m_trans->m_op.ref(new epp_TransferOpType(returnTransferType(testDataMap[3]))); ! } ! ! if(testDataMap[4] != "-1") { ! l_req->m_trans->m_auth_info.ref(new epp_AuthInfo()); ! l_req->m_trans->m_auth_info->m_type.ref(new epp_AuthInfoType(PW)); ! l_req->m_trans->m_auth_info->m_value.ref(new epp_string(testDataMap[4])); ! } ! } l_obj->setRequestData(*l_req); Index: main_domaintransfer.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_domaintransfer.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** main_domaintransfer.cc 15 Mar 2002 16:34:22 -0000 1.9 --- main_domaintransfer.cc 22 May 2002 09:54:07 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> *************** *** 94,97 **** --- 94,109 ---- return 1; + map<int,string> testDataMap; + + if(argc > 1) { + for(int parm = 1; parm < argc; parm++) { + + if (!strncmp(argv[parm], "-testdata=", 10)) { + string td = &argv[parm][10]; + testDataMap = getTestDataMap(td); + } + } + } + testLogIn(test, username, password); *************** *** 99,138 **** epp_DomainTransferReq_ref l_req(new epp_DomainTransferReq()); l_req->m_cmd.ref(new epp_Command(NULL, NULL, ! epp_trid("ABC-12345"))); ! ! // REQ-test: ! ! l_req->m_name.ref(new epp_string("example.com")); ! l_req->m_trans.ref(new epp_TransferRequest()); ! l_req->m_trans->m_op.ref(new epp_TransferOpType(REQUEST)); ! l_req->m_trans->m_auth_info.ref(new epp_AuthInfo()); ! l_req->m_trans->m_auth_info->m_type.ref(new epp_AuthInfoType(PW)); ! l_req->m_trans->m_auth_info->m_roid.ref(new epp_roid("JD1234-VRSN")); ! l_req->m_trans->m_auth_info->m_value.ref(new epp_string("2fooBAR")); ! l_req->m_period.ref(new epp_DomainPeriod(YEAR, 1)); epp_DomainTransfer_ref l_obj(new epp_DomainTransfer()); ! l_obj->setRequestData(*l_req); ! ! test.processAction(l_obj); ! ! epp_DomainTransferRsp_ref l_rsp = l_obj->getResponseData(); ! #ifndef TEST_IO_REQUEST2CERR ! printRsp(l_rsp); #endif ! cout << "\n----------------------------------\n"; ! ! ! // QUERY-test: ! ! *l_req->m_trans->m_op = QUERY; ! l_req->m_trans->m_auth_info.ref(NULL); ! l_req->m_period.ref(NULL); l_obj->setRequestData(*l_req); --- 111,176 ---- epp_DomainTransferReq_ref l_req(new epp_DomainTransferReq()); + + string trID; + if(testDataMap.empty()) trID = "ABC-12345"; + else trID = testDataMap[1]; l_req->m_cmd.ref(new epp_Command(NULL, NULL, ! epp_trid(trID))); epp_DomainTransfer_ref l_obj(new epp_DomainTransfer()); + epp_DomainTransferRsp_ref l_rsp; ! if(testDataMap.empty()) { ! ! // REQ-test: ! l_req->m_name.ref(new epp_string("example.com")); ! l_req->m_trans.ref(new epp_TransferRequest()); ! l_req->m_trans->m_op.ref(new epp_TransferOpType(REQUEST)); ! l_req->m_trans->m_auth_info.ref(new epp_AuthInfo()); ! l_req->m_trans->m_auth_info->m_type.ref(new epp_AuthInfoType(PW)); ! l_req->m_trans->m_auth_info->m_roid.ref(new epp_roid("JD1234-VRSN")); ! l_req->m_trans->m_auth_info->m_value.ref(new epp_string("2fooBAR")); ! l_req->m_period.ref(new epp_DomainPeriod(YEAR, 1)); ! ! ! l_obj->setRequestData(*l_req); ! ! test.processAction(l_obj); ! ! l_rsp = l_obj->getResponseData(); ! #ifndef TEST_IO_REQUEST2CERR ! printRsp(l_rsp); #endif + + cout << "\n----------------------------------\n"; + + + // QUERY-test: + *l_req->m_trans->m_op = QUERY; + l_req->m_trans->m_auth_info.ref(NULL); + l_req->m_period.ref(NULL); + } + else { + if(testDataMap[2] != "-1") l_req->m_name.ref(new epp_string(testDataMap[2])); + + if(testDataMap[3] != "-1") { + l_req->m_trans.ref(new epp_TransferRequest()); + l_req->m_trans->m_op.ref(new epp_TransferOpType(returnTransferType(testDataMap[3]))); + } + + if(testDataMap[4] != "" && testDataMap[4] != "-1") { + l_req->m_period.ref(new epp_DomainPeriod(YEAR, atol(testDataMap[4].c_str()))); + } ! if(testDataMap[5] != "" && testDataMap[5] != "-1") { ! l_req->m_trans->m_auth_info.ref(new epp_AuthInfo()); ! l_req->m_trans->m_auth_info->m_type.ref(new epp_AuthInfoType(PW)); ! l_req->m_trans->m_auth_info->m_value.ref(new epp_string(testDataMap[5])); ! } ! ! } l_obj->setRequestData(*l_req); |
From: Asbjorn M. <ste...@us...> - 2002-05-15 16:29:31
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src/data In directory usw-pr-cvs1:/tmp/cvs-serv14348 Modified Files: epp_eppXMLbase.cc epp_eppXMLbase.h Log Message: -Added new function returnTransferType() -Changed functionality of addExtensionElement() -Changed extension-handling in createGenericResponse() Index: epp_eppXMLbase.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_eppXMLbase.cc,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** epp_eppXMLbase.cc 19 Mar 2002 10:47:43 -0000 1.14 --- epp_eppXMLbase.cc 15 May 2002 16:29:27 -0000 1.15 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ /** @file epp_eppXMLbase.cc --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ /** @file epp_eppXMLbase.cc *************** *** 60,64 **** void eppobject::epp::addExtensionElement(EPP_output & outputobject, const epp_Extension_ref extension) ! { if(extension == NULL) { return; --- 60,64 ---- void eppobject::epp::addExtensionElement(EPP_output & outputobject, const epp_Extension_ref extension) ! { if(extension == NULL) { return; *************** *** 70,75 **** outputobject.putTag("extension", ""); } else { ! dom_ptr extensionDoc = createDOMDocument("<extension>" + extensionXML + "</extension>"); DomPrint dp(outputobject); dp.putDOMTree(extensionDoc); --- 70,95 ---- outputobject.putTag("extension", ""); } + else if(extensionXML.find("<") == string::npos) { + outputobject.putTag("extension", extensionXML); + } else { ! dom_ptr extensionDoc = createDOMDocument("<parseme xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><extension>" ! + extensionXML + ! "</extension></parseme>"); ! ! if(!extensionDoc->isNull()) { ! extensionDoc = dom_ptr(extensionDoc->getFirstChildElement()); ! ! if(extensionDoc->getNodeName() == "parseme") { ! extensionDoc = dom_ptr(extensionDoc->getFirstChildElement()); ! } ! else { ! return; ! } ! } ! else { ! return; ! } ! DomPrint dp(outputobject); dp.putDOMTree(extensionDoc); *************** *** 185,188 **** --- 205,225 ---- } + epp_TransferOpType eppobject::epp::returnTransferType(const epp_string & statusType) + { + map<epp_string, epp_TransferOpType> transferTypeMap; + + transferTypeMap["approve"] = APPROVE; + transferTypeMap["cancel"] = CANCEL; + transferTypeMap["query"] = QUERY; + transferTypeMap["reject"] = REJECT; + transferTypeMap["request"] = REQUEST; + + if(transferTypeMap.find(statusType) == transferTypeMap.end()) { + throw epp_XMLException(__FILE__, __LINE__, "Unknown TransferOpType"); + } + + return transferTypeMap[statusType]; + } + epp_string eppobject::epp::returnTransferStatusType(const epp_TransferStatusType & statusType) { *************** *** 279,283 **** if(nodeName == "extension") { ! dom_ptr extensionNode = dom_ptr(resChildNode->getFirstChildElement()); EPP_output outObject; DomPrint dp(outObject); --- 316,320 ---- if(nodeName == "extension") { ! dom_ptr extensionNode = dom_ptr(resChildNode->getFirstChild()); EPP_output outObject; DomPrint dp(outObject); *************** *** 285,289 **** while(!extensionNode->isNull()) { dp.putDOMTree(extensionNode); ! extensionNode = dom_ptr(extensionNode->getNextSiblingElement()); } --- 322,326 ---- while(!extensionNode->isNull()) { dp.putDOMTree(extensionNode); ! extensionNode = dom_ptr(extensionNode->getNextSibling()); } Index: epp_eppXMLbase.h =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_eppXMLbase.h,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** epp_eppXMLbase.h 8 Mar 2002 11:41:27 -0000 1.11 --- epp_eppXMLbase.h 15 May 2002 16:29:27 -0000 1.12 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_EPPXMLBASE_H --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #ifndef __EPP_EPPXMLBASE_H *************** *** 102,105 **** --- 102,113 ---- */ epp_string returnTransferType(const epp_TransferOpType & statusType); + + + /** Returns the corresponsing epp_TransferOpType for the given epp_string + * @param statusType The transfer op-type as an epp_string + * @return The transfer op-type as an epp_TransferOpType-enum + * @throw epp_XMLException If statusType is not a valid epp_TransferOpType + */ + epp_TransferOpType returnTransferType(const epp_string & statusType); |
From: Daniel M. <tub...@us...> - 2002-05-08 16:29:28
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src/data In directory usw-pr-cvs1:/tmp/cvs-serv30061 Modified Files: Tag: epp-0402 epp_eppXMLbase.cc Log Message: committing unspec parse and rendering fixes and improvements from GNR Index: epp_eppXMLbase.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/data/epp_eppXMLbase.cc,v retrieving revision 1.8.2.1 retrieving revision 1.8.2.2 diff -C2 -d -r1.8.2.1 -r1.8.2.2 *** epp_eppXMLbase.cc 23 Feb 2002 04:36:05 -0000 1.8.2.1 --- epp_eppXMLbase.cc 8 May 2002 16:29:24 -0000 1.8.2.2 *************** *** 72,78 **** outputobject.putTag("unspec", ""); } else { ! dom_ptr unspecDoc = createDOMDocument("<unspec>" + unspecXML + "</unspec>"); DomPrint dp(outputobject); dp.putDOMTree(unspecDoc); --- 72,101 ---- outputobject.putTag("unspec", ""); } + else if(unspecXML.find("<") == string::npos) + { + outputobject.putTag("unspec", unspecXML); + } else { ! dom_ptr unspecDoc = createDOMDocument("<parseme xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"><unspec>" ! + unspecXML + "</unspec></parseme>"); ! ! if(!unspecDoc->isNull()) { ! unspecDoc = dom_ptr(unspecDoc->getFirstChildElement()); ! ! if(unspecDoc->getNodeName() == "parseme") { ! unspecDoc = dom_ptr(unspecDoc->getFirstChildElement()); ! ! } ! else { ! return; ! ! } ! ! } ! else { ! return; ! } ! DomPrint dp(outputobject); dp.putDOMTree(unspecDoc); *************** *** 266,277 **** if(nodeName == "unspec") { ! dom_ptr unspecNode = dom_ptr(resChildNode->getFirstChildElement()); EPP_output outObject; DomPrint dp(outObject); ! while(!unspecNode->isNull()) { dp.putDOMTree(unspecNode); ! unspecNode = dom_ptr(unspecNode->getNextSiblingElement()); } --- 289,300 ---- if(nodeName == "unspec") { ! dom_ptr unspecNode = dom_ptr(resChildNode->getFirstChild()); EPP_output outObject; DomPrint dp(outObject); ! while(!unspecNode->isNull()) { dp.putDOMTree(unspecNode); ! unspecNode = dom_ptr(unspecNode->getNextSibling()); } |
From: Asbjorn M. <ste...@us...> - 2002-04-30 13:00:03
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src In directory usw-pr-cvs1:/tmp/cvs-serv18936 Modified Files: main_poll.cc Log Message: Added -testdata option to provide data to test programs. Index: main_poll.cc =================================================================== RCS file: /cvsroot/epp-rtk/epp-rtk/c++/src/main_poll.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** main_poll.cc 15 Mar 2002 16:34:22 -0000 1.9 --- main_poll.cc 30 Apr 2002 12:59:57 -0000 1.10 *************** *** 1,28 **** /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> --- 1,28 ---- /************************************************************************ ! * EPP RTK C++ ! * Copyright (C) 2001, 2002 The Global Name Registry, Limited ! * ! * This library is free software; you can redistribute it and/or modify it ! * under the terms of the GNU Lesser General Public License as published ! * by the Free Software Foundation; either version 2.1 of the License, or ! * (at your option) any later version. ! * ! * This library is distributed in the hope that it will be useful, but ! * WITHOUT ANY WARRANTY; without even the implied warranty of ! * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! * Lesser General Public License for more details. ! * ! * You should have received a copy of the GNU Lesser General Public ! * License along with this library; if not, write to the Free Software ! * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! * ! * Contact information: ep...@gn... ! * ! * EPP RTK ! * The Global Name Registry, Limited ! * 125 High Holborn ! * London WC1V 6QA ! * United Kingdom ! ************************************************************************/ #include <string> *************** *** 136,139 **** --- 136,151 ---- if(!handleArgs(test, argc, argv, username, password)) return 1; + + map<int,string> testDataMap; + + if(argc > 1) { + for(int parm = 1; parm < argc; parm++) { + + if (!strncmp(argv[parm], "-testdata=", 10)) { + string td = &argv[parm][10]; + testDataMap = getTestDataMap(td); + } + } + } testLogIn(test, username, password); *************** *** 145,173 **** l_req->m_cmd.ref(new epp_Command()); - l_req->m_cmd->m_client_trid.ref(new epp_trid("ABC-12345")); - l_req->m_op.ref(new epp_PollOpType(REQ)); ! epp_Poll_ref l_obj(new epp_Poll()); ! l_obj->setRequestData(*l_req); ! test.processAction(l_obj); ! epp_PollRsp_ref l_rsp = l_obj->getResponseData(); ! #ifndef TEST_IO_REQUEST2CERR ! printRsp(l_rsp); #endif ! ! cout << "\n----------------------------------\n"; ! ! // ACK-test: ! *l_req->m_op = ACK; ! l_req->m_msgID.ref(new epp_string("12345")); ! l_req->m_cmd->m_client_trid.ref(new epp_trid("ABC-12346")); l_obj->setRequestData(*l_req); test.processAction(l_obj); ! l_rsp = l_obj->getResponseData(); --- 157,207 ---- l_req->m_cmd.ref(new epp_Command()); ! string trID; ! if(testDataMap.empty()) trID = "ABC-12345"; ! else trID = testDataMap[1]; ! l_req->m_cmd->m_client_trid.ref(new epp_trid(trID)); ! epp_Poll_ref l_obj(new epp_Poll()); ! epp_PollRsp_ref l_rsp; ! ! if(testDataMap.empty()) { ! l_req->m_op.ref(new epp_PollOpType(REQ)); ! ! l_obj->setRequestData(*l_req); ! ! test.processAction(l_obj); ! l_rsp = l_obj->getResponseData(); ! #ifndef TEST_IO_REQUEST2CERR ! printRsp(l_rsp); #endif ! ! cout << "\n----------------------------------\n"; ! ! // ACK-test: ! *l_req->m_op = ACK; ! l_req->m_msgID.ref(new epp_string("12345")); ! l_req->m_cmd->m_client_trid.ref(new epp_trid("ABC-12346")); ! } ! else { ! if(testDataMap[2] != "-1") { ! if(testDataMap[2] == "req") { ! l_req->m_op.ref(new epp_PollOpType(REQ)); ! } ! else if(testDataMap[2] == "ack") { ! l_req->m_op.ref(new epp_PollOpType(ACK)); ! if(testDataMap[3] != "-1") { ! l_req->m_msgID.ref(new epp_string(testDataMap[3])); ! } ! } ! } ! } l_obj->setRequestData(*l_req); test.processAction(l_obj); ! l_rsp = l_obj->getResponseData(); |