GPL v2.
[metaproxy-moved-to-github.git] / src / gduutil.hpp
1 /* $Id: gduutil.hpp,v 1.6 2007-05-09 21:23:09 adam Exp $
2    Copyright (c) 2005-2007, Index Data.
3
4 This file is part of Metaproxy.
5
6 Metaproxy is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 2, or (at your option) any later
9 version.
10
11 Metaproxy is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14 for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with Metaproxy; see the file LICENSE.  If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
19 02111-1307, USA.
20  */
21
22 #ifndef YP2_GDUUTIL_HPP
23 #define YP2_GDUUTIL_HPP
24
25 #include <yaz/zgdu.h>
26 #include <yaz/z-core.h>
27 //#include <yaz/srw.h>
28
29 #include <iosfwd>
30
31 namespace std 
32 {
33     std::ostream& operator<<(std::ostream& os, Z_GDU& zgdu);
34     std::ostream& operator<<(std::ostream& os, Z_APDU& zapdu); 
35     std::ostream& operator<<(std::ostream& os, Z_HTTP_Request& httpreq);
36     std::ostream& operator<<(std::ostream& os, Z_HTTP_Response& httpres);
37     std::ostream& operator<<(std::ostream& os, Z_Records & rs);
38     std::ostream& operator<<(std::ostream& os, Z_DiagRec& dr);
39     std::ostream& operator<<(std::ostream& os, Z_DefaultDiagFormat& ddf);
40 }
41
42
43 namespace metaproxy_1 {
44     namespace gdu  {
45
46
47     }    
48 }
49
50 #endif
51 /*
52  * Local variables:
53  * c-basic-offset: 4
54  * indent-tabs-mode: nil
55  * c-file-style: "stroustrup"
56  * End:
57  * vim: shiftwidth=4 tabstop=8 expandtab
58  */