• Home
Name Date Size #Lines LOC

..--

o_names.cD03-May-20248.1 KiB373283

obj_dat.cD03-May-202417.5 KiB811654

obj_dat.hD03-May-2024250 KiB5,1035,030

obj_dat.plD03-May-20247.4 KiB308270

obj_err.cD03-May-20243.8 KiB10334

obj_lib.cD03-May-20244.6 KiB13063

obj_mac.hD03-May-2024133 KiB4,0333,031

obj_mac.numD03-May-202419.7 KiB920919

obj_xref.cD03-May-20246 KiB235150

obj_xref.hD03-May-20242.5 KiB7872

obj_xref.txtD03-May-20241.6 KiB4738

objects.READMED03-May-20241.2 KiB4529

objects.hD03-May-202435.8 KiB1,139789

objects.plD03-May-20247 KiB233218

objects.txtD03-May-202441.9 KiB1,2931,151

objxref.plD03-May-20241.6 KiB10878

objects.README

1objects.txt syntax
2------------------
3
4To cover all the naming hacks that were previously in objects.h needed some
5kind of hacks in objects.txt.
6
7The basic syntax for adding an object is as follows:
8
9	1 2 3 4		: shortName	: Long Name
10
11		If the long name doesn't contain spaces, or no short name
12		exists, the long name is used as basis for the base name
13		in C.  Otherwise, the short name is used.
14
15		The base name (let's call it 'base') will then be used to
16		create the C macros SN_base, LN_base, NID_base and OBJ_base.
17
18		Note that if the base name contains spaces, dashes or periods,
19		those will be converte to underscore.
20
21Then there are some extra commands:
22
23	!Alias foo 1 2 3 4
24
25		This juts makes a name foo for an OID.  The C macro
26		OBJ_foo will be created as a result.
27
28	!Cname foo
29
30		This makes sure that the name foo will be used as base name
31		in C.
32
33	!module foo
34	1 2 3 4		: shortName	: Long Name
35	!global
36
37		The !module command was meant to define a kind of modularity.
38		What it does is to make sure the module name is prepended
39		to the base name.  !global turns this off.  This construction
40		is not recursive.
41
42Lines starting with # are treated as comments, as well as any line starting
43with ! and not matching the commands above.
44
45