blob: d75fe2926aca2ae529bf5249e7532d6a2745ca7f (
plain) (
blame)
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
|
#ifndef STASIS_ARGS_H
#define STASIS_ARGS_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#define OPT_ALWAYS_UPDATE_BASE 1000
#define OPT_NO_DOCKER 1001
#define OPT_NO_ARTIFACTORY 1002
#define OPT_NO_ARTIFACTORY_BUILD_INFO 1003
#define OPT_NO_ARTIFACTORY_UPLOAD 1004
#define OPT_NO_TESTING 1005
#define OPT_OVERWRITE 1006
#define OPT_NO_REWRITE_SPEC_STAGE_2 1007
#define OPT_FAIL_FAST 1009
#define OPT_NO_PARALLEL 1010
#define OPT_POOL_STATUS_INTERVAL 1011
#define OPT_NO_TASK_LOGGING 1012
#define OPT_TASK_TIMEOUT 1013
extern struct option long_options[];
void usage(char *progname);
#define STR_TO_TIMEOUT_NEGATIVE (-1)
#define STR_TO_TIMEOUT_INVALID_TIME_SCALE (-2)
int str_to_timeout(char *s);
#endif //STASIS_ARGS_H
|