diff --git a/tapeserver/castor/legacymsg/legacymsg.hpp b/tapeserver/castor/legacymsg/legacymsg.hpp deleted file mode 100644 index cf18091cbad2b322460e90cb770358abc1d9f17b..0000000000000000000000000000000000000000 --- a/tapeserver/castor/legacymsg/legacymsg.hpp +++ /dev/null @@ -1,61 +0,0 @@ -/****************************************************************************** - * - * This file is part of the Castor project. - * See http://castor.web.cern.ch/castor - * - * Copyright (C) 2003 CERN - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * - * - * - * @author Castor Dev team, castor-dev@cern.ch - *****************************************************************************/ - -#pragma once - -#include "common/exception/Exception.hpp" - -namespace castor { -namespace legacymsg { - -/** - * Writes an RC reply message to the specified connection. - * - * @param fd The file descriptor of the connection. - * @param rc The return code to reply. - * - */ -void writeTapeRcReplyMsg(const int timeout, const int fd, const int rc); - -/** - * Writes a generic reply message to the specified connection. - * - * @param timeout Connection timeout in seconds - * @param fd The file descriptor of the connection. - * @param rc The return code to reply. - * @param message Reply message string - */ -void writeTapeReplyMsg(const int timeout, const int fd, const int rc, const std::string &message); - -/** - * Writes an error reply message to the specified connection. - * - * @param timeout Connection timeout in seconds - * @param fd The file descriptor of the connection. - * @param message Reply error message string - */ -void writeTapeReplyErrorMsg(const int timeout, const int fd, const std::string &message); - -} // namespace legacymsg -} // namespace castor diff --git a/tapeserver/castor/tape/tapeserver/daemon/LabelSession.cpp b/tapeserver/castor/tape/tapeserver/daemon/LabelSession.cpp index 9db9db17e13935b268aa43199c95af6dfbb3eae6..8a44c1d6a9f8ebb66f3cd7fad84bedf6c0820800 100644 --- a/tapeserver/castor/tape/tapeserver/daemon/LabelSession.cpp +++ b/tapeserver/castor/tape/tapeserver/daemon/LabelSession.cpp @@ -22,7 +22,6 @@ *****************************************************************************/ #include "castor/io/io.hpp" -#include "castor/legacymsg/legacymsg.hpp" #include "castor/legacymsg/MessageHeader.hpp" #include "common/log/LogContext.hpp" #include "common/threading/System.hpp"