summaryrefslogtreecommitdiff
path: root/ACE/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/nodelock.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/nodelock.h')
-rw-r--r--ACE/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/nodelock.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/ACE/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/nodelock.h b/ACE/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/nodelock.h
new file mode 100644
index 00000000000..619c1df2621
--- /dev/null
+++ b/ACE/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/nodelock.h
@@ -0,0 +1,47 @@
+/*
+ * $Id$
+ *
+ * Copyright (c) 1994, 1995. Netscape Communications Corporation. All
+ * rights reserved.
+ *
+ * Use of this software is governed by the terms of the license agreement for
+ * the Netscape Communications or Netscape Comemrce Server between the
+ * parties.
+ */
+
+
+/* ------------------------------------------------------------------------ */
+
+
+/*
+ * nodelock.h: licensing stuff
+ */
+
+#ifndef _NODELOCK_H
+#define _NODELOCK_H
+
+/*
+ * Do the initial IP address check and expiration date check. Reads a file
+ * from admin/config, as #define'd.
+ *
+ * Returns 1 on error, 0 on AOK.
+ */
+
+int node_init(void);
+
+/*
+ * Check the expiration date against The Now.
+ *
+ * Returns 1 on error, 0 on AOK.
+ */
+
+int node_check(void);
+
+/*
+ * So how we doin, license
+ *
+ * Returns 1 on error, 0 on AOK
+ */
+int node_status(void);
+
+#endif