summaryrefslogtreecommitdiff
path: root/ACE/netsvcs/clients/Naming/Dump_Restore/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/netsvcs/clients/Naming/Dump_Restore/main.cpp')
-rw-r--r--ACE/netsvcs/clients/Naming/Dump_Restore/main.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/ACE/netsvcs/clients/Naming/Dump_Restore/main.cpp b/ACE/netsvcs/clients/Naming/Dump_Restore/main.cpp
new file mode 100644
index 00000000000..46d298357bc
--- /dev/null
+++ b/ACE/netsvcs/clients/Naming/Dump_Restore/main.cpp
@@ -0,0 +1,26 @@
+// $Id$
+
+// Test the client-side of the ACE Name Server...
+
+#include "ace/Service_Config.h"
+#include "ace/Log_Msg.h"
+#include "Dump_Restore.h"
+
+ACE_RCSID(Dump_Restore, main, "$Id$")
+
+int
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
+{
+ ACE_Service_Config daemon (argv[0]);
+
+ ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("entering main\n")));
+
+ // Get a handler
+ Dump_Restore client_handler (argc, argv);
+
+ ACE_Reactor::run_event_loop ();
+
+ /* NOTREACHED */
+ ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("leaving main\n")));
+ return 0;
+}