|
#ifndef _ACTIONS_H
|
|
#define _ACTIONS_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
typedef bool (*actionCallback)(void);
|
|
enum Action { ActionUnknown, ActionSuspend, ActionEcho };
|
|
actionCallback getActionCallback(enum Action action);
|
|
enum Action parseAction(const char *action);
|
|
|
|
#endif
|