Haka
Main Page
Modules
Data Structures
Files
File List
Globals
src
hakactl
commands.h
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5
#ifndef COMMANDS_H
6
#define COMMANDS_H
7
8
enum
{
9
COMMAND_SUCCESS = 0,
10
COMMAND_FAILED = 1,
11
};
12
13
struct
command {
14
char
*name;
15
char
*help;
16
int
nb_args;
17
int (*run)(
int
fd,
int
argc,
char
*argv[]);
18
};
19
20
extern
struct
command command_status;
21
extern
struct
command command_stop;
22
extern
struct
command command_logs;
23
extern
struct
command command_loglevel;
24
extern
struct
command command_debug;
25
extern
struct
command command_interactive;
26
extern
struct
command command_console;
27
28
extern
bool
use_colors;
29
30
#endif
/* COMMANDS_H */
Generated on Thu Jun 9 2016 08:49:03 for Haka by
1.8.11