1 /*  START OF:       pnotice_paths.incl.pl1                    *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  */
 2 
 3 
 4 
 5 /****^  HISTORY COMMENTS:
 6   1) change(86-01-28,LJAdams), approve(86-01-28,MCR7150),
 7      audit(86-02-07,Wallman), install(86-02-13,MR12.0-1017):
 8      Changed attributes of constants from automatic to internal static options
 9      constant.  Removed all initialization of automatic variables.
10                                                    END HISTORY COMMENTS */
11 
12 
13 /*  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */
14           /*                                                                                        */
15           /* This include file defines the structure that the software protection tools fill in     */
16           /* with information on the proper search paths for notice templates, primary names of     */
17           /* these templates, their lengths, pointers to each, and whether or not they are the      */
18           /* default notice. There are only two defined default notices, one for copyright (named   */
19           /* "default.pnotice" as an add_name), and Trade Secret (named                             */
20           /* "default_trade_secret.pnotice" as an add_name).                                        */
21           /*                                                                                        */
22           /* Created:          April 1981 by JM Stansbury                                           */
23           /* Modified:         November 1981 by JM Stansbury                                        */
24           /*     added Isearch_dir index to allow for >1 search path in search segment.             */
25           /*     added Ifirst_template and Ilast_template to aid in sort for multiple directories   */
26           /* in the search list.                                                                    */
27           /* Modified:         December 10, 1981 by JM Stansbury                                    */
28           /*      added duplicate bit to provide list_pnotice_names with capability of flagging     */
29           /* and explaining same in its output.                                                     */
30           /* Modified:         December 7, 1982 by JM Stansbury                                     */
31           /*      added type field to indicate whether a notice is copyright, trade secret or       */
32           /* public domain.                                                                         */
33           /*                                                                                        */
34           /*                                                                                        */
35           /*                                                                                        */
36           /*                                                                                        */
37           /*                                                                                        */
38           /*  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */
39 
40 
41 dcl 1 pnotice_paths aligned based (Ppaths),
42       2 Ndirs               fixed bin,                      /* no. of search dirs                             */
43       2 Ntemplates          fixed bin,                      /* no. of pnotice templates                       */
44       2 dirs                (0 refer (pnotice_paths.Ndirs)),
45         3 dir_path          char (168) unal,
46         3 Ifirst_template   fixed bin,                      /* index of first template in this dir            */
47         3 Ilast_template    fixed bin,                      /* index of last template in this dir             */
48       2 templates           (0 refer (pnotice_paths.Ntemplates)),
49         3 primary_name      char (32),
50         3 Ptemplate         ptr,                            /* ptr to each template                           */
51         3 Ltemplate         fixed bin,                      /* lgth of each template                          */
52         3 type              fixed bin,                      /* copyright, trade secret, and                   */
53                                                             /* public domain                                  */
54         3 Isearch_dir       fixed bin,                      /* index of dir that this template is in          */
55         3 defaultC          bit (1) unal,                   /* this bit is ON if the template is a default    */
56                                                             /* copyright, i.e. "default.pnotice"              */
57         3 defaultTS         bit (1) unal,                   /* this bit is ON if the template is a default    */
58                                                             /* trade secret notice,                           */
59         3 duplicate         bit (1) unal,                   /* this bit is ON if an earlier template in the   */
60                                                             /* search list had the same name, and thus        */
61                                                             /* would be used instead of this one.             */
62         3 pad               bit (33) unal;
63 
64 
65 dcl Ppaths               ptr;
66                                                             /* types */
67 dcl UNDEFINED            fixed bin int static options (constant) init (0);
68 dcl COPYRIGHT            fixed bin int static options (constant) init (1);
69 dcl TRADE_SECRET         fixed bin int static options (constant) init (2);
70 dcl PUBLIC_DOMAIN        fixed bin int static options (constant) init (3);
71 
72 /*  END OF:         pnotice_paths.incl.pl1                    *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  */