aboutsummaryrefslogtreecommitdiffstats
path: root/sualibrary/sua/sua_sual.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sualibrary/sua/sua_sual.cpp')
-rw-r--r--sualibrary/sua/sua_sual.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/sualibrary/sua/sua_sual.cpp b/sualibrary/sua/sua_sual.cpp
index 1b23cc0..b26c5a3 100644
--- a/sualibrary/sua/sua_sual.cpp
+++ b/sualibrary/sua/sua_sual.cpp
@@ -15,7 +15,7 @@
* *
***************************************************************************/
/*
- * $Id: sua_sual.cpp,v 1.1.1.1 2002/02/04 14:30:41 p82609 Exp $
+ * $Id: sua_sual.cpp,v 1.2 2002/04/11 14:13:34 p82609 Exp $
*
* SUA implementation according to SUA draft issue 6.
*
@@ -95,10 +95,9 @@
#define MAX_DATA_LENGTH 2000
using namespace std;
+
/* definition of SUA local object and of remote object */
-extern db_Sua_LocalList local_sua;
-extern db_Sua_RemoteList remote_sua;
-extern db_Sua_AssociationList Assoc_sua;
+extern db_Sua_DatabaseList sua;
typedef struct {
unsigned int local_sua_id;
@@ -122,9 +121,9 @@ int sual_init(unsigned char *pConfFile)
cout << "Initialising SUA datastructures\n ";
init_logging_file();
- local_sua.initialize();
- remote_sua.initialize();
- Assoc_sua.initialize();
+ sua.local_sua.initialize();
+ sua.remote_sua.initialize();
+ sua.AssocDB.initialize();
cout << "Finished initialising SUAL data\n ";
return (0);
} /* end of sua_initialisation */