Go to the source code of this file.
Defines | |
| #define | BOARD_NOTFOUND -1 |
| #define | DEF_EXCLUDE 2 |
| #define | DEF_INCLUDE 1 |
| #define | DEF_NORMAL 0 |
| #define | DEFAULT_BOARD 0 |
| #define | MAX_BOARD 5 |
| #define | MAX_LINE_LENGTH 80 |
| #define | MAX_NOTE_TEXT (4*MAX_STRING_LENGTH - 1000) |
| #define | NOTE_DIR "../notes" |
Typedefs | |
| typedef board_data | BOARD_DATA |
Functions | |
| int | board_lookup (const char *name) |
| DECLARE_DO_FUN (do_board) | |
| DECLARE_DO_FUN (do_note) | |
| void | finish_note (BOARD_DATA *board, NOTE_DATA *note) |
| void | free_note (NOTE_DATA *note) |
| void | handle_con_note_expire (DESCRIPTOR_DATA *d, char *argument) |
| void | handle_con_note_finish (DESCRIPTOR_DATA *d, char *argument) |
| void | handle_con_note_subject (DESCRIPTOR_DATA *d, char *argument) |
| void | handle_con_note_text (DESCRIPTOR_DATA *d, char *argument) |
| void | handle_con_note_to (DESCRIPTOR_DATA *d, char *argument) |
| bool | is_note_to (CHAR_DATA *ch, NOTE_DATA *note) |
| void | load_boards (void) |
| void | make_note (const char *board_name, const char *sender, const char *to, const char *subject, const int expire_days, const char *text) |
| void | personal_message (const char *sender, const char *to, const char *subject, const int expire_days, const char *text) |
| void | save_notes () |
Variables | |
| BOARD_DATA | boards [MAX_BOARD] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
Definition at line 58 of file recycle.c. References free_string(), INVALIDATE, IS_VALID, note_data::next, and note_free. Referenced by free_char(), load_thread(), note_remove(), and parse_note(). 00059 {
00060 if (!IS_VALID(note))
00061 return;
00062 free_string( note->text );
00063 free_string( note->subject );
00064 free_string( note->to_list );
00065 free_string( note->date );
00066 free_string( note->sender );
00067 INVALIDATE(note);
00068 note->next = note_free;
00069 note_free = note;
00070 }
|
Here is the call graph for this function:

|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Definition at line 363 of file note.c. References clan_table, FALSE, is_exact_name(), IS_IMMORTAL, clan_type::name, str_cmp(), and TRUE. Referenced by hide_note(), and parse_note(). 00364 {
00365 if ( !str_cmp( ch->name, pnote->sender ) )
00366 return TRUE;
00367
00368 if ( is_exact_name( "all", pnote->to_list ) )
00369 return TRUE;
00370
00371 if ( IS_IMMORTAL(ch) && is_exact_name( "immortal", pnote->to_list ) )
00372 return TRUE;
00373
00374 if (ch->clan && is_exact_name(clan_table[ch->clan].name,pnote->to_list))
00375 return TRUE;
00376
00377 if (is_exact_name( ch->name, pnote->to_list ) )
00378 return TRUE;
00379
00380 return FALSE;
00381 }
|
Here is the call graph for this function:

|
|
|
|
||||||||||||||||||||||||||||
|
|
|
||||||||||||||||||||||||
|
|
|
|
Referenced by note_remove(). |
|
|
|
1.4.0