projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added filter_record_transform.obj.
[metaproxy-moved-to-github.git]
/
src
/
gduutil.cpp
diff --git
a/src/gduutil.cpp
b/src/gduutil.cpp
index
c154b67
..
b7780e2
100644
(file)
--- a/
src/gduutil.cpp
+++ b/
src/gduutil.cpp
@@
-1,4
+1,4
@@
-/* $Id: gduutil.cpp,v 1.14 2006-10-04 11:21:47 marc Exp $
+/* $Id: gduutil.cpp,v 1.16 2006-10-05 12:17:24 marc Exp $
Copyright (c) 2005-2006, Index Data.
See the LICENSE file for details
Copyright (c) 2005-2006, Index Data.
See the LICENSE file for details
@@
-16,7
+16,10
@@
namespace mp = metaproxy_1;
// Doxygen doesn't like mp::gdu, so we use this instead
namespace mp = metaproxy_1;
// Doxygen doesn't like mp::gdu, so we use this instead
-namespace mp_gdu = metaproxy_1::gdu;
+namespace mp_util = metaproxy_1::util;
+
+
+
std::ostream& std::operator<<(std::ostream& os, Z_GDU& zgdu)
{
std::ostream& std::operator<<(std::ostream& os, Z_GDU& zgdu)
{
@@
-234,11
+237,12
@@
std::ostream& std::operator<<(std::ostream& os, Z_APDU& zapdu)
os << " " <<(oid_getentbyoid(pr->preferredRecordSyntax))->desc;
else
os << " -";
os << " " <<(oid_getentbyoid(pr->preferredRecordSyntax))->desc;
else
os << " -";
- //elements
- //if (pr->)
- // os << " " << *(pr->);
- //else
- // os << " -";
+ const char * msg = 0;
+ if (pr->recordComposition
+ && (msg = mp_util::record_composition_to_esn(pr->recordComposition)))
+ os << " " << msg;
+ else
+ os << " -";
}
break;
case Z_APDU_presentResponse:
}
break;
case Z_APDU_presentResponse: