/usr/include/dcmtk/dcmnet/extneg.h is in libdcmtk-dev 3.6.1~20160216-4.
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 55 56 | /*
**
** Author: Andrew Hewett, medigration GmbH
**
** Module: extneg.h
**
** Purpose:
** Extended Negotiation for A-ASSOCIATE
**
*/
#ifndef EXTNEG_H
#define EXTNEG_H
#include "dcmtk/config/osconfig.h" /* make sure OS specific configuration is included first */
#include "dcmtk/ofstd/ofstring.h"
#include "dcmtk/ofstd/oflist.h"
#include "dcmtk/dcmnet/dndefine.h"
#define DUL_TYPESOPCLASSEXTENDEDNEGOTIATION (unsigned char)0x56
struct DCMTK_DCMNET_EXPORT SOPClassExtendedNegotiationSubItem {
unsigned char itemType;
unsigned char reserved1;
unsigned short itemLength;
unsigned short sopClassUIDLength;
OFString sopClassUID;
unsigned char* serviceClassAppInfo;
unsigned short serviceClassAppInfoLength;
SOPClassExtendedNegotiationSubItem()
: itemType(0x56)
, reserved1(0)
, itemLength(0)
, sopClassUIDLength(0)
, sopClassUID()
, serviceClassAppInfo(NULL)
, serviceClassAppInfoLength(0)
{
}
private:
// private undefined copy constructor and operator=
SOPClassExtendedNegotiationSubItem(const SOPClassExtendedNegotiationSubItem& arg);
SOPClassExtendedNegotiationSubItem& operator= (const SOPClassExtendedNegotiationSubItem& arg);
};
typedef OFList<SOPClassExtendedNegotiationSubItem*> SOPClassExtendedNegotiationSubItemList;
DCMTK_DCMNET_EXPORT void appendList(const SOPClassExtendedNegotiationSubItemList& from, SOPClassExtendedNegotiationSubItemList& to);
DCMTK_DCMNET_EXPORT void deleteListMembers(SOPClassExtendedNegotiationSubItemList& lst);
#endif
|