projects
/
yazproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update for the yazpp_1 namespace.
[yazproxy-moved-to-github.git]
/
src
/
yaz-proxy-main.cpp
diff --git
a/src/yaz-proxy-main.cpp
b/src/yaz-proxy-main.cpp
index
f40c64a
..
b439ba4
100644
(file)
--- a/
src/yaz-proxy-main.cpp
+++ b/
src/yaz-proxy-main.cpp
@@
-1,4
+1,4
@@
-/* $Id: yaz-proxy-main.cpp,v 1.12 2005-02-21 14:27:32 adam Exp $
+/* $Id: yaz-proxy-main.cpp,v 1.14 2005-06-02 06:40:46 adam Exp $
Copyright (c) 1998-2005, Index Data.
This file is part of the yaz-proxy.
Copyright (c) 1998-2005, Index Data.
This file is part of the yaz-proxy.
@@
-56,6
+56,8
@@
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include <libxslt/transform.h>
#endif
#include <libxslt/transform.h>
#endif
+using namespace yazpp_1;
+
void usage(char *prog)
{
fprintf (stderr, "%s: [-c config] [-l log] [-a log] [-v level] [-t target] "
void usage(char *prog)
{
fprintf (stderr, "%s: [-c config] [-l log] [-a log] [-v level] [-t target] "
@@
-283,7
+285,7
@@
int main(int argc, char **argv)
int cont = 1;
int run = 1;
Yaz_SocketManager mySocketManager;
int cont = 1;
int run = 1;
Yaz_SocketManager mySocketManager;
- Yaz_Proxy proxy(new Yaz_PDU_Assoc(&mySocketManager));
+ Yaz_Proxy proxy(new Yaz_PDU_Assoc(&mySocketManager), &mySocketManager);
static_yaz_proxy = &proxy;
static_yaz_proxy = &proxy;