projects
/
yazpp-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
option --with-yazconfig renamed to --with-yaz
[yazpp-moved-to-github.git]
/
src
/
yaz-ir-assoc.cpp
diff --git
a/src/yaz-ir-assoc.cpp
b/src/yaz-ir-assoc.cpp
index
e0aaf7d
..
ace54d5
100644
(file)
--- a/
src/yaz-ir-assoc.cpp
+++ b/
src/yaz-ir-assoc.cpp
@@
-2,7
+2,7
@@
* Copyright (c) 1998-2003, Index Data.
* See the file LICENSE for details.
*
* Copyright (c) 1998-2003, Index Data.
* See the file LICENSE for details.
*
- * $Id: yaz-ir-assoc.cpp,v 1.19 2003-10-01 13:13:51 adam Exp $
+ * $Id: yaz-ir-assoc.cpp,v 1.21 2004-03-30 18:14:13 adam Exp $
*/
#include <assert.h>
*/
#include <assert.h>
@@
-149,6
+149,13
@@
void Yaz_IR_Assoc::get_elementSetName (const char **elementSetName)
*elementSetName = m_elementSetNames->u.generic;
}
*elementSetName = m_elementSetNames->u.generic;
}
+
+void Yaz_IR_Assoc::recv_GDU(Z_GDU *apdu, int len)
+{
+ if (apdu->which == Z_GDU_Z3950)
+ recv_Z_PDU(apdu->u.z3950, len);
+}
+
void Yaz_IR_Assoc::recv_Z_PDU(Z_APDU *apdu, int len)
{
yaz_log (m_log, "recv_Z_PDU %d bytes", len);
void Yaz_IR_Assoc::recv_Z_PDU(Z_APDU *apdu, int len)
{
yaz_log (m_log, "recv_Z_PDU %d bytes", len);