00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef EXTNEG_H
00021 #define EXTNEG_H
00022
00023 #include "osconfig.h"
00024
00025 #include "ofstring.h"
00026 #include "oflist.h"
00027
00028 #define DUL_TYPESOPCLASSEXTENDEDNEGOTIATION (unsigned char)0x56
00029
00030
00031 struct SOPClassExtendedNegotiationSubItem {
00032 unsigned char itemType;
00033 unsigned char reserved1;
00034 unsigned short itemLength;
00035 unsigned short sopClassUIDLength;
00036 OFString sopClassUID;
00037 unsigned char* serviceClassAppInfo;
00038 unsigned short serviceClassAppInfoLength;
00039
00040 SOPClassExtendedNegotiationSubItem()
00041 : itemType(0x56)
00042 , reserved1(0)
00043 , itemLength(0)
00044 , sopClassUIDLength(0)
00045 , sopClassUID()
00046 , serviceClassAppInfo(NULL)
00047 , serviceClassAppInfoLength(0)
00048 {
00049 }
00050
00051 private:
00052
00053 SOPClassExtendedNegotiationSubItem(const SOPClassExtendedNegotiationSubItem& arg);
00054 SOPClassExtendedNegotiationSubItem& operator= (const SOPClassExtendedNegotiationSubItem& arg);
00055 };
00056
00057 typedef OFList<SOPClassExtendedNegotiationSubItem*> SOPClassExtendedNegotiationSubItemList;
00058
00059 void appendList(const SOPClassExtendedNegotiationSubItemList& from, SOPClassExtendedNegotiationSubItemList& to);
00060
00061 void deleteListMembers(SOPClassExtendedNegotiationSubItemList& lst);
00062
00063 #endif
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075