summaryrefslogtreecommitdiff
path: root/src/run.h
blob: 2dded8998737c5ecf51d15c57f245ceeae48b9fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _SK_RUN_H
#define _SK_RUN_H

#include "config.h"

#if HAVE_STDBOOL_H
#include <stdbool.h>
#endif

enum sk_run_error {
	SK_RUN_OK = 0,
	SK_RUN_ERROR_GENERIC = 1,
	SK_RUN_CONNECTION_ERROR = 2
};
typedef enum sk_run_error sk_run_error;

sk_run_error sk_run_start(
	const char *target_host, bool dry_run, struct sk_config *config);

#endif