This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Functions | |
| int | journal_startup (void) |
| void | journal_shutdown (void) |
| int | journal_reopen (void) |
| void | journal_login (void) |
| void | journal_logout (void) |
| void | journal_input (char *) |
| void | journal_update (int) |
| void journal_input | ( | char * | ) |
Definition at line 160 of file journal.c.
References journal_entry().
Referenced by recvclient().
00161 { 00162 journal_entry("input %s", input); 00163 }
Here is the call graph for this function:

| void journal_login | ( | void | ) |
Definition at line 147 of file journal.c.
References journal_entry().
Referenced by player_main().
00148 { 00149 journal_entry("login %d %s %s", 00150 player->cnum, player->hostaddr, player->userid); 00151 }
Here is the call graph for this function:

| void journal_logout | ( | void | ) |
Definition at line 154 of file journal.c.
References journal_entry().
Referenced by player_main().
00155 { 00156 journal_entry("logout %d", player->cnum); 00157 }
Here is the call graph for this function:

| int journal_reopen | ( | void | ) |
Definition at line 129 of file journal.c.
References journal, journal_fname, journal_open(), keep_journal, and logerror().
Referenced by main(), and relo().
00130 { 00131 FILE *j; 00132 00133 if (!keep_journal) 00134 return 0; 00135 j = journal_open(); 00136 if (!j) { 00137 logerror("Can't open %s (%s)", journal_fname, strerror(errno)); 00138 return -1; 00139 } 00140 if (journal) 00141 fclose(journal); 00142 journal = j; 00143 return 0; 00144 }
Here is the call graph for this function:

| void journal_shutdown | ( | void | ) |
Definition at line 119 of file journal.c.
References journal, journal_entry(), and NULL.
Referenced by finish_server(), and panic().
00120 { 00121 journal_entry("shutdown"); 00122 if (journal) { 00123 fclose(journal); 00124 journal = NULL; 00125 } 00126 }
Here is the call graph for this function:

| int journal_startup | ( | void | ) |
Definition at line 105 of file journal.c.
References journal, journal_entry(), journal_fname, journal_open(), keep_journal, and logerror().
Referenced by start_server().
00106 { 00107 if (!keep_journal) 00108 return 0; 00109 journal = journal_open(); 00110 if (!journal) { 00111 logerror("Can't open %s (%s)", journal_fname, strerror(errno)); 00112 return -1; 00113 } 00114 journal_entry("startup"); 00115 return 0; 00116 }
Here is the call graph for this function:

| void journal_update | ( | int | ) |
Definition at line 166 of file journal.c.
References journal_entry().
Referenced by update_main().
00167 { 00168 journal_entry("update %d", etu); 00169 }
Here is the call graph for this function:

1.5.2