2 * UCW Library -- Internals of the option parser
4 * (c) 2013 Jan Moskyto Matejka <mq@ucw.cz>
5 * (c) 2014 Martin Mares <mj@ucw.cz>
7 * This software may be freely distributed and used according to the terms
8 * of the GNU Lesser General Public License.
11 #ifndef _UCW_OPT_INTERNAL_H
12 #define _UCW_OPT_INTERNAL_H
14 #ifdef CONFIG_UCW_CLEAN_ABI
15 #define opt_precompute ucw_opt_precompute
19 const struct opt_section * options;
20 struct opt_precomputed * opts;
21 struct opt_precomputed ** shortopt;
22 struct opt_item ** hooks;
30 struct opt_precomputed {
31 struct opt_item * item;
37 void opt_precompute(struct opt_precomputed *opt, struct opt_item *item);