blob: 7c05e05838569ac25467c042b73d2d27f641634d (
plain)
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
31
32
33
34
35
36
|
/**
* @file command.h
* @author Joe Wingbermuehle
* @date 2004-2006
*
* @brief Handle running startup, shutdown, and restart commands.
*
*/
#ifndef COMMAND_H
#define COMMAND_H
/*@{*/
void InitializeCommands();
void StartupCommands();
void ShutdownCommands();
void DestroyCommands();
/*@}*/
/** Add a command to be executed at startup.
* @param command The command to execute.
*/
void AddStartupCommand(const char *command);
/** Add a command to be executed at shutdown.
* @param command The command to execute.
*/
void AddShutdownCommand(const char *command);
/** Add a command to be executed after a restart.
* @param command The command to execute.
*/
void AddRestartCommand(const char *command);
#endif
|