Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
9f57c55f
Commit
9f57c55f
authored
Dec 15, 2016
by
Steven Murray
Browse files
Removed legacymsg.hpp from tapeserver/castor
parent
4747fd41
Changes
2
Hide whitespace changes
Inline
Side-by-side
tapeserver/castor/legacymsg/legacymsg.hpp
deleted
100644 → 0
View file @
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
tapeserver/castor/tape/tapeserver/daemon/LabelSession.cpp
View file @
9f57c55f
...
...
@@ -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"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment