3 #ifndef __PROG_HELP_H__
4 #define __PROG_HELP_H__
8 void InitHandleStop(
bool *_enable_run=NULL,
int _grace_time=0);
9 bool Renice(
int nice,
bool verbose=
true);
11 const char *GetProjectRoot();
12 void Usage(
const char *program_path);
17 bool StrToInt(
int &val,
const char *str,
int base=10);
18 bool UpdateSideAndTeam(
int &side,
int &team,
const char *opt);
26 bool SetTimerInterrupt(
unsigned int interval,
void (*callback)(
int));
31 void CancelTimerInterrupts();