blob: b557847ad5870656300bc7756b090eb825ac39c5 (
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();
/*
* Check the expiration date against The Now.
*
* Returns 1 on error, 0 on AOK.
*/
int node_check();
/*
* So how we doin, license
*
* Returns 1 on error, 0 on AOK
*/
int node_status();
#endif
|