1form_variables(3X) form_variables(3X)
2
3
4
6 TYPE_ALNUM, TYPE_ALPHA, TYPE_ENUM, TYPE_INTEGER, TYPE_IPV4,
7 TYPE_NUMERIC, TYPE_REGEXP - form system global variables
8
10 #include <form.h>
11
12 FIELDTYPE * TYPE_ALNUM;
13 FIELDTYPE * TYPE_ALPHA;
14 FIELDTYPE * TYPE_ENUM;
15 FIELDTYPE * TYPE_INTEGER;
16 FIELDTYPE * TYPE_IPV4;
17 FIELDTYPE * TYPE_NUMERIC;
18 FIELDTYPE * TYPE_REGEXP;
19
21 These are building blocks for the form library, defining fields that
22 can be created using set_fieldtype(3X). Each provides functions for
23 field- and character-validation, according to the given datatype.
24
25 TYPE_ALNUM
26 This holds alphanumeric data.
27
28 TYPE_ALPHA
29 This holds alphabetic data.
30
31 TYPE_ENUM
32 This holds an enumerated type.
33
34 TYPE_INTEGER
35 This holds a decimal integer.
36
37 TYPE_IPV4
38 This holds an IPv4 internet address, e.g., "127.0.0.1".
39
40 TYPE_NUMERIC
41 This holds a decimal number, with optional sign and decimal point.
42
43 TYPE_REGEXP
44 This holds a regular expression.
45
47 The TYPE_IPV4 variable is an extension not provided by older implemenā
48 tations of the form library.
49
51 form(3X).
52
53
54
55 form_variables(3X)