imap/src/mailutil/mailutil.c
/* Notification event
 * Accepts: MAIL stream
 *	    string to log
 *	    error flag
 */
Notification event
Accepts: MAIL stream
string to log
error flag
Notification event Accepts : MAIL stream string to log error flag
void mm_notify (MAILSTREAM *stream,char *string,long errflg)
{
  if (!errflg && (string[0] == '[') &&
      ((string[1] == 'T') || (string[1] == 't')) &&
      ((string[2] == 'R') || (string[2] == 'r')) &&
      ((string[3] == 'Y') || (string[3] == 'y')) &&
      ((string[4] == 'C') || (string[4] == 'c')) &&
      ((string[5] == 'R') || (string[5] == 'r')) &&
      ((string[6] == 'E') || (string[6] == 'e')) &&
      ((string[7] == 'A') || (string[7] == 'a')) &&
      ((string[8] == 'T') || (string[8] == 't')) &&
      ((string[9] == 'E') || (string[9] == 'e')) &&
      (string[10] == ']'))
    trycreate = T;  
  mm_log (string,errflg);	
}
void mm_notify ( MAILSTREAM * stream , char * string , long errflg ) { if ( ! errflg && ( string [ 0 ] == ' ' ) && ( ( string [ 1 ] == ' ' ) || ( string [ 1 ] == ' ' ) ) && ( ( string [ 2 ] == ' ' ) || ( string [ 2 ] == ' ' ) ) && ( ( string [ 3 ] == ' ' ) || ( string [ 3 ] == ' ' ) ) && ( ( string [ 4 ] == ' ' ) || ( string [ 4 ] == ' ' ) ) && ( ( string [ 5 ] == ' ' ) || ( string [ 5 ] == ' ' ) ) && ( ( string [ 6 ] == ' ' ) || ( string [ 6 ] == ' ' ) ) && ( ( string [ 7 ] == ' ' ) || ( string [ 7 ] == ' ' ) ) && ( ( string [ 8 ] == ' ' ) || ( string [ 8 ] == ' ' ) ) && ( ( string [ 9 ] == ' ' ) || ( string [ 9 ] == ' ' ) ) && ( string [ 10 ] == ' ' ) ) trycreate = T ; mm_log ( string , errflg ) ; }
Notification event
 Accepts: MAIL stream
          string to log
          error flag
Notification event Accepts : MAIL stream string to log error flag
/* just do mm_log action */