aboutsummaryrefslogtreecommitdiffstats
path: root/src/actions.h
blob: f75dd80f28feef9c1d02e1bd4d882338ca41a144 (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
/* actions.h - Action parser for ck ----------------------------*- C -*-
 *
 * This file is part of ck, the config keeper
 *
 * ---------------------------------------------------------------------
 *
 *
 * ------------------------------------------------------------------ */
#ifndef ACTIONS_H
#define ACTIONS_H

#include "actionparser.h"
#include "confparser.h"

#define X(ACTION)                               \
  extern int run_##ACTION(UserOpt *, Conf *);
CK_ACTIONS
#undef X

#define X(ACTION)                                               \
  extern void print_##ACTION##_result(int ok);
CK_ACTIONS
#undef X

#endif /* ACTIONS_H */