blob: 780a621918b952e890e22760bc81e55efca856c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef PLOC_GEN_ARGS_H
#define PLOC_GEN_ARGS_H
#include <stdbool.h>
#include "pattern/pattern.h"
#include "io/io.h"
#include "utils/args.h"
#include <stdio.h>
struct args
{
struct pattern pattern;
/*
* Negative value means unlimited.
*/
int gen_count;
int from_count;
int to_count;
bool (*gen)(struct pattern *);
void (*print)(FILE *, struct print_params, struct pattern *);
struct print_params params;
bool wait;
bool single_output;
bool standard_output;
char output[512];
};
enum alr load_args(int argc, char **argv, struct args *args);
#endif
|