option.h (009e81b16465ea457c0e63fd49fe77f47cc27a5a) option.h (f6b74a7d164b5fada266d00e723155a178a4529f)
1/*
1/*
2 * Copyright (C) 1984-2015 Mark Nudelman
2 * Copyright (C) 1984-2017 Mark Nudelman
3 *
4 * You may distribute under the terms of either the GNU General Public
5 * License or the Less License, as specified in the README file.
6 *
7 * For more information, see the README file.
8 */
9
10

--- 44 unchanged lines hidden (view full) ---

55
56struct loption
57{
58 char oletter; /* The controlling letter (a-z) */
59 struct optname *onames; /* Long (GNU-style) option name */
60 int otype; /* Type of the option */
61 int odefault; /* Default value */
62 int *ovar; /* Pointer to the associated variable */
3 *
4 * You may distribute under the terms of either the GNU General Public
5 * License or the Less License, as specified in the README file.
6 *
7 * For more information, see the README file.
8 */
9
10

--- 44 unchanged lines hidden (view full) ---

55
56struct loption
57{
58 char oletter; /* The controlling letter (a-z) */
59 struct optname *onames; /* Long (GNU-style) option name */
60 int otype; /* Type of the option */
61 int odefault; /* Default value */
62 int *ovar; /* Pointer to the associated variable */
63 void (*ofunc)(); /* Pointer to special handling function */
63 void (*ofunc) LESSPARAMS((int, char*)); /* Pointer to special handling function */
64 char *odesc[3]; /* Description of each value */
65};
66
64 char *odesc[3]; /* Description of each value */
65};
66