ezmlmx 0.68
ezmlmx
|
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) |
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.
s | is a string that contains a from: line argument . |
Definition in file author.c.