File: testapplication.h

package info (click to toggle)
kissat 4.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,068 kB
  • sloc: ansic: 39,201; sh: 1,226; makefile: 91
file content (18 lines) | stat: -rw-r--r-- 466 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef _tissatapplication_h_INCLUDED
#define _tissatapplication_h_INCLUDED

struct tissat_job;

extern const char *tissat_options[];
extern const char **tissat_end_of_options;

void tissat_call_application (int expected, const char *cmd);

const char *tissat_next_option (unsigned count);

#define all_tissat_options(OPT) \
  const char *OPT, **PTR_##OPT = tissat_options; \
  PTR_##OPT != tissat_end_of_options && (OPT = *PTR_##OPT, true); \
  PTR_##OPT++

#endif