ezmlmx 0.68
ezmlmx
Loading...
Searching...
No Matches
author.c File Reference

We parse it as follows: If there is an unquoted '<' we eliminate everything after it else if there is a unquoted ';' we eliminate everything after it. Then, we eliminate LWSP and '"' from the beginning and end. Note that this is not strict rfc822, but all we need is a display handle that doesn't show the address. If in the remaining text there is a '@' we put in a '.' instead. Also, there are some non-rfc822 from lines out there and we still want to maximize the chance of getting a handle, even if it costs a little extra work. More...

Go to the source code of this file.

Macros

#define WHO   "author"

Functions

unsigned int author_name (char **sout, char *s, unsigned int l)

Detailed Description

We parse it as follows: If there is an unquoted '<' we eliminate everything after it else if there is a unquoted ';' we eliminate everything after it. Then, we eliminate LWSP and '"' from the beginning and end. Note that this is not strict rfc822, but all we need is a display handle that doesn't show the address. If in the remaining text there is a '@' we put in a '.' instead. Also, there are some non-rfc822 from lines out there and we still want to maximize the chance of getting a handle, even if it costs a little extra work.

Author
Bruce Guenter
Parameters
sis a string that contains a from: line argument
.

Definition in file author.c.

Macro Definition Documentation

◆ WHO

#define WHO   "author"

Definition at line 1 of file author.c.

Function Documentation

◆ author_name()

unsigned int author_name ( char ** sout,
char * s,
unsigned int l )

Definition at line 19 of file author.c.

Here is the caller graph for this function: