1 /*-------------------------------------------------------------------------
3 * Command line option processing facilities for frontend code
5 * Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
6 * Portions Copyright (c) 1994, Regents of the University of California
8 * src/include/fe_utils/option_utils.h
10 *-------------------------------------------------------------------------
12 #ifndef OPTION_UTILS_H
13 #define OPTION_UTILS_H
15 #include "postgres_fe.h"
17 typedef void (*help_handler
) (const char *progname
);
19 extern void handle_help_version_opts(int argc
, char *argv
[],
20 const char *fixed_progname
,
22 extern bool option_parse_int(const char *optarg
, const char *optname
,
23 int min_range
, int max_range
,
26 #endif /* OPTION_UTILS_H */