comparison src/nucleus/lic.c @ 0:4e78acac3d88

src/{condat,cs,gpf,nucleus}: import from Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:23:26 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4e78acac3d88
1 /*************************************************************************/
2 /* */
3 /* Copyright Mentor Graphics Corporation 2002 */
4 /* All Rights Reserved. */
5 /* */
6 /* THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION WHICH IS */
7 /* THE PROPERTY OF MENTOR GRAPHICS CORPORATION OR ITS LICENSORS AND IS */
8 /* SUBJECT TO LICENSE TERMS. */
9 /* */
10 /*************************************************************************/
11
12 /*************************************************************************/
13 /* */
14 /* FILE NAME VERSION */
15 /* */
16 /* lic.c Nucleus PLUS 1.14 */
17 /* */
18 /* COMPONENT */
19 /* */
20 /* LI - License Information */
21 /* */
22 /* DESCRIPTION */
23 /* */
24 /* This file contains the core routines for the License Information */
25 /* component. */
26 /* */
27 /* DATA STRUCTURES */
28 /* */
29 /* None */
30 /* */
31 /* FUNCTIONS */
32 /* */
33 /* LIC_License_Information Return pointer to license */
34 /* information string */
35 /* */
36 /* DEPENDENCIES */
37 /* */
38 /* nucleus.h System definitions */
39 /* */
40 /* HISTORY */
41 /* */
42 /* DATE REMARKS */
43 /* */
44 /* 03-01-1993 Created initial version 1.0 */
45 /* 04-19-1993 Verified version 1.0 */
46 /* 03-01-1994 Replaced void with VOID, */
47 /* added pointer for return value, */
48 /* resulting in version 1.1 */
49 /* */
50 /* 03-18-1994 Verified version 1.1 */
51 /* 04-17-1996 updated to version 1.2 */
52 /* 03-24-1998 Released version 1.3. */
53 /* 03-26-1999 Released 1.11m (new release */
54 /* numbering scheme) */
55 /* 04-17-2002 Released version 1.13m */
56 /* 11-07-2002 Released version 1.14 */
57 /*************************************************************************/
58 #define NU_SOURCE_FILE
59
60 #include "nucleus.h" /* System definitions */
61
62
63 /* Define external inner-component global data references. */
64
65 extern const CHAR LID_License_String[];
66
67
68 /*************************************************************************/
69 /* */
70 /* FUNCTION */
71 /* */
72 /* LIC_Release_Information */
73 /* */
74 /* DESCRIPTION */
75 /* */
76 /* This function returns a pointer to the license information */
77 /* string. The information string identifies the customer and */
78 /* product line Nucleus PLUS is licensed for. */
79 /* */
80 /* CALLED BY */
81 /* */
82 /* Application */
83 /* */
84 /* CALLS */
85 /* */
86 /* None */
87 /* */
88 /* INPUTS */
89 /* */
90 /* None */
91 /* */
92 /* OUTPUTS */
93 /* */
94 /* ptr Pointer to information string */
95 /* */
96 /* HISTORY */
97 /* */
98 /* DATE REMARKS */
99 /* */
100 /* 03-01-1993 Created initial version 1.0 */
101 /* 04-19-1993 Verified version 1.0 */
102 /* 03-01-1994 Replaced void with VOID, */
103 /* added pointer for return value, */
104 /* resulting in version 1.1 */
105 /* */
106 /* 03-18-1994 Verified version 1.1 */
107 /* */
108 /*************************************************************************/
109 CHAR *LIC_License_Information(VOID)
110 {
111
112 CHAR *ptr;
113
114 /* Setup pointer to license string. */
115 ptr = (CHAR *) &LID_License_String[0];
116
117 /* Return a pointer to the license information string. */
118 return(ptr);
119 }
120
121
122
123
124
125