The upgrade to automake 1.8/1.9 causes the product dist to be called
[yazpp-moved-to-github.git] / include / yazpp / gdu.h
diff --git a/include/yazpp/gdu.h b/include/yazpp/gdu.h
new file mode 100644 (file)
index 0000000..9e5094a
--- /dev/null
@@ -0,0 +1,40 @@
+/*
+ * Copyright (c) 1998-2005, Index Data.
+ * See the file LICENSE for details.
+ * 
+ * $Id: gdu.h,v 1.1 2006-03-29 13:14:15 adam Exp $
+ */
+
+#ifndef YAZPP_GDU_INCLUDED
+#define YAZPP_GDU_INCLUDED
+
+#include <yaz/yconfig.h>
+#include <yaz/proto.h>
+
+namespace yazpp_1 {
+    class YAZ_EXPORT GDU {
+    public:
+        GDU(const GDU &);
+        GDU(Z_GDU *gdu);
+        GDU(Z_APDU *apdu);
+        GDU();
+        ~GDU();
+        GDU &operator=(const GDU &);
+        Z_GDU *get() const;
+        void move_away_gdu(ODR dst, Z_GDU **gdu);
+    private:
+        void base(Z_GDU *gdu, ODR o);
+        Z_GDU *m_gdu;
+        ODR m_decode;
+    };
+};
+
+#endif
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+