Bug fix: Handle the case where an APDU can be decoded but not encoded.
[yazproxy-moved-to-github.git] / include / yazproxy / bw.h
index 74f1628..227b0ff 100644 (file)
@@ -1,14 +1,14 @@
-/* $Id: bw.h,v 1.2 2004-04-11 12:25:01 adam Exp $
-   Copyright (c) 1998-2004, Index Data.
+/* $Id: bw.h,v 1.5 2006-03-30 10:35:15 adam Exp $
+   Copyright (c) 1998-2006, Index Data.
 
-This file is part of the yaz-proxy.
+This file is part of the yazproxy.
 
-Zebra is free software; you can redistribute it and/or modify it under
+YAZ proxy is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
 Software Foundation; either version 2, or (at your option) any later
 version.
 
-Zebra is distributed in the hope that it will be useful, but WITHOUT ANY
+YAZ proxy is distributed in the hope that it will be useful, but WITHOUT ANY
 WARRANTY; without even the implied warranty of MERCHANTABILITY or
 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 for more details.
@@ -19,6 +19,11 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 02111-1307, USA.
  */
 
+#ifndef YAZPROXY_YAZ_BW_H
+#define YAZPROXY_YAZ_BW_H
+
+#include <yaz/yconfig.h>
+
 class YAZ_EXPORT Yaz_bw {
  public:
     Yaz_bw(int sz);
@@ -31,4 +36,13 @@ class YAZ_EXPORT Yaz_bw {
     int m_ptr;
     int m_size;
 };
+#endif
+
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */