nodelock.h

来自「一个开源的网络开发库ACE」· C头文件 代码 · 共 48 行

H
48
字号
/*
 * nodelock.h,v 1.3 2000/06/04 22:00:03 brunsch Exp
 *
 * 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

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?