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
c0912d47
Commit
c0912d47
authored
Dec 15, 2016
by
Steven Murray
Browse files
Removed Generic legacy messages from tapeserver/castor
parent
9f57c55f
Changes
5
Hide whitespace changes
Inline
Side-by-side
tapeserver/castor/legacymsg/CMakeLists.txt
View file @
c0912d47
...
...
@@ -5,6 +5,4 @@ include_directories(${PROJECT_SOURCE_DIR}/tapeserver/h)
add_library
(
ctalegacymsg
TapeLabelRqstMsgBody.cpp
MessageHeader.cpp
GenericErrorReplyMsgBody.cpp
GenericReplyMsgBody.cpp
)
MessageHeader.cpp
)
tapeserver/castor/legacymsg/GenericErrorReplyMsgBody.cpp
deleted
100644 → 0
View file @
9f57c55f
/******************************************************************************
*
* 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
*****************************************************************************/
#include
"castor/legacymsg/GenericErrorReplyMsgBody.hpp"
#include
<string.h>
//-----------------------------------------------------------------------------
// constructor
//-----------------------------------------------------------------------------
castor
::
legacymsg
::
GenericErrorReplyMsgBody
::
GenericErrorReplyMsgBody
()
throw
()
{
memset
(
errorMessage
,
'\0'
,
sizeof
(
errorMessage
));
}
tapeserver/castor/legacymsg/GenericErrorReplyMsgBody.hpp
deleted
100644 → 0
View file @
9f57c55f
/******************************************************************************
*
* 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
"Castor_limits.h"
#include
<stdint.h>
namespace
castor
{
namespace
legacymsg
{
/**
* The body of an error reply message.
*/
struct
GenericErrorReplyMsgBody
{
/**
* In the case of success this field should be set to the empty string and in
* the case of an error it should contain an appropriate error message.
*/
char
errorMessage
[
CA_MAXLINELEN
+
1
];
/**
* Constructor.
*
* Sets all integer member-variables to 0, and all string member-varibles to
* the empty string.
*/
GenericErrorReplyMsgBody
()
throw
();
};
// struct GenericErrorReplyMsgBody
}
// namespace legacymsg
}
// namespace castor
tapeserver/castor/legacymsg/GenericReplyMsgBody.cpp
deleted
100644 → 0
View file @
9f57c55f
/******************************************************************************
*
* 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
*****************************************************************************/
#include
"castor/legacymsg/GenericReplyMsgBody.hpp"
#include
<string.h>
//-----------------------------------------------------------------------------
// constructor
//-----------------------------------------------------------------------------
castor
::
legacymsg
::
GenericReplyMsgBody
::
GenericReplyMsgBody
()
throw
()
:
status
(
0
)
{
memset
(
errorMessage
,
'\0'
,
sizeof
(
errorMessage
));
}
tapeserver/castor/legacymsg/GenericReplyMsgBody.hpp
deleted
100644 → 0
View file @
9f57c55f
/******************************************************************************
*
* 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
"Castor_limits.h"
#include
<stdint.h>
namespace
castor
{
namespace
legacymsg
{
/**
* The body of a reply message that gives a status code and in the case of an
* error an error message.
*
* In the case of success, the status field should be set to 0 and the
* errorMessage field should be set to the empty string.
*
* In the case of an error, the status field should be set to a value greater
* than zero and the errorMessage field should contain an appropriate error
* message.
*/
struct
GenericReplyMsgBody
{
/**
* The return status. A value of zero signifies success and a value greater
* than zero signifies an error.
*/
uint32_t
status
;
/**
* In the case of success this field should be set to the empty string and in
* the case of an error it should contain an appropriate error message.
*/
char
errorMessage
[
CA_MAXLINELEN
+
1
];
/**
* Constructor.
*
* Sets all integer member-variables to 0, and all string member-varibles to
* the empty string.
*/
GenericReplyMsgBody
()
throw
();
};
// struct GenericReplyMsgBody
}
// namespace legacymsg
}
// namespace castor
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