Commit 9f57c55f authored by Steven Murray's avatar Steven Murray
Browse files

Removed legacymsg.hpp from tapeserver/castor

parent 4747fd41
/******************************************************************************
*
* 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
......@@ -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"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment