#include <sys/time.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <assert.h>
#include "mm_internal.h"
Defines | |
#define | MM_DATE_LENGTH 50 |
Functions | |
int | mm_mimeutil_gendate (char **result) |
int | mm_mimeutil_genboundary (char *prefix, size_t length, char **result) |
int mm_mimeutil_gendate | ( | char ** | result | ) |
Generates an RFC 2822 conform date string
timezone | Whether to include timezone information |
Thu, 25 December 2003 16:35:22 +0100 (CET)
This function dynamically allocates memory and returns a pointer to it. This memory should be released with free() once not needed anymore.