Determine who the email is from. More...
#include "config.h"#include <stdbool.h>#include <stdio.h>#include <time.h>#include "mutt/lib.h"#include "from.h"
Include dependency graph for from.c:Go to the source code of this file.
Functions | |
| bool | is_from (const char *s, char *path, size_t pathlen, time_t *tp) |
| Is a string a 'From' header line? | |
Determine who the email is from.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file from.c.
| bool is_from | ( | const char * | s, |
| char * | path, | ||
| size_t | pathlen, | ||
| time_t * | tp ) |
Is a string a 'From' header line?
| [in] | s | String to test |
| [out] | path | Buffer for extracted path |
| [in] | pathlen | Length of buffer |
| [out] | tp | Extracted time |
| 1 | Yes, it is |
| 0 | No, it isn't |
A valid message separator looks like: From <return-path> <weekday> <month> <day> <time> <year>
Definition at line 49 of file from.c.
Here is the call graph for this function:
Here is the caller graph for this function: