/usr/include/odil/pdu/AAssociateRJ.h is in libodil0-dev 0.7.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | /*************************************************************************
* odil - Copyright (C) Universite de Strasbourg
* Distributed under the terms of the CeCILL-B license, as published by
* the CEA-CNRS-INRIA. Refer to the LICENSE file or to
* http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
* for details.
************************************************************************/
#ifndef _3980566c_9185_40a2_8e7d_6286c2cd1959
#define _3980566c_9185_40a2_8e7d_6286c2cd1959
#include "odil/pdu/Object.h"
namespace odil
{
namespace pdu
{
/// @brief A-ASSOCIATE-RJ PDU, cf. PS 3.8, 9.3.4.
class AAssociateRJ: public Object
{
public:
/// @brief Constructor.
AAssociateRJ(
unsigned char result, unsigned char source, unsigned char reason);
/// @brief Constructor from stream.
AAssociateRJ(std::istream & stream);
/// @brief Return the result.
unsigned char get_result() const;
/// @brief Set the result, must be 1 or 2.
void set_result(unsigned char result);
/// @brief Return the source.
unsigned char get_source() const;
/// @brief Set the source, must be 1, 2 or 3.
void set_source(unsigned char source);
/// @brief Return the reason.
unsigned char get_reason() const;
/// @brief Set the reason.
void set_reason(unsigned char reason);
};
}
}
#endif // _3980566c_9185_40a2_8e7d_6286c2cd1959
|