summaryrefslogtreecommitdiff
path: root/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h
diff options
context:
space:
mode:
Diffstat (limited to 'netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h')
-rw-r--r--netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h b/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h
index b1a82a50f3c..c2702ba04c9 100644
--- a/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h
+++ b/netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h
@@ -2,6 +2,11 @@
// $Id$
#include "ace/Event_Handler.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
#include "ace/Reactor.h"
#include "ace/Naming_Context.h"
@@ -10,8 +15,8 @@ class Dump_Restore : public ACE_Event_Handler
public:
enum Operation_Type
{
- BIND,
- UNBIND,
+ BIND,
+ UNBIND,
REBIND
};
Dump_Restore (int argc, char *argv[]);
@@ -47,9 +52,9 @@ private:
int populate (Dump_Restore::Operation_Type op);
int doit (Dump_Restore::Operation_Type op,
- char *name,
- char *value,
- char *type = "");
+ char *name,
+ char *value,
+ char *type = "");
int bind (char* key, char* value, char* type = "");
int unbind (char* key);
int rebind (char* key, char* value, char* type = "");