/* This file is part of Eclat.
Copyright (C) 2012 Sergey Poznyakoff.
Eclat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.
Eclat is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Eclat. If not, see . */
#ifdef HAVE_GETOPT_H
# include
#endif
static char *pp_cmd_buffer;
static size_t pp_cmd_bufsize;
static size_t pp_cmd_buflevel;
struct replvar {
char **s_ptr;
char *s_val;
};
int
replace_string_var(void *p)
{
struct replvar *rv = p;
*rv->s_ptr = rv->s_val;
return 0;
}
OPTIONS_BEGIN("eclat",
[],[<>],
[],
[],
[])
GROUP(Selecting program mode)
OPTION(lint,t,,
[])
BEGIN
lint_mode = 1;
END
OPTION(,E,,
[])
BEGIN
preprocess_only = 1;
END
OPTION(dry-run,n,,
[])
BEGIN
dry_run_mode = 1;
parse_debug_level("main.1");
parse_debug_level("curl.1");
END
OPTION(config-file,c,FILE,
[