JWM Source Documentation

command.h File Reference

Handle running startup, shutdown, and restart commands. More...

Go to the source code of this file.

Functions

void AddStartupCommand (const char *command)
 Add a command to be executed at startup.
void AddShutdownCommand (const char *command)
 Add a command to be executed at shutdown.
void AddRestartCommand (const char *command)
 Add a command to be executed after a restart.
void RunCommand (const char *command)
 Run a command.
void InitializeCommands ()
void StartupCommands ()
void ShutdownCommands ()
void DestroyCommands ()

Detailed Description

Handle running startup, shutdown, and restart commands.

Author:
Joe Wingbermuehle
Date:
2004-2006

Definition in file command.h.


Function Documentation

void AddRestartCommand ( const char *  command)

Add a command to be executed after a restart.

Parameters:
commandThe command to execute.
void AddShutdownCommand ( const char *  command)

Add a command to be executed at shutdown.

Parameters:
commandThe command to execute.
void AddStartupCommand ( const char *  command)

Add a command to be executed at startup.

Parameters:
commandThe command to execute.
void DestroyCommands ( )
void InitializeCommands ( )
void RunCommand ( const char *  command)

Run a command.

Parameters:
commandThe command to run (run in sh).
void ShutdownCommands ( )
void StartupCommands ( )