summaryrefslogtreecommitdiff
path: root/apps/JAWS/clients/WebSTONE/src/nsapi-includes/base/nodelock.h
blob: e0672366a2ad00bff2057c8eed4bb9adddee6423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
 * 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