main.m File Reference

Has the main function, log file support functions, and a self-check function. More...

Go to the source code of this file.

Functions

void execute (char *buff)
int check_toten (void)
int open_logfile (void)
 If the directory ~/.toten doesn't exist, we assume that no logging is desired.
int write_log (char *log)
int main (int argc, char **argv)

Variables

static FILE * logfile


Detailed Description

Has the main function, log file support functions, and a self-check function.

Definition in file main.m.


Function Documentation

int open_logfile void   ) 
 

If the directory ~/.toten doesn't exist, we assume that no logging is desired.

Therefore, you should mkdir ~/.toten first if you want toten to log its activities.

Referenced by main().


Generated on Wed Dec 21 13:16:07 2005 for Toten by  doxygen 1.4.5 SourceForge.net Logo