]> diplodocus.org Git - nmh/blob - sbr/message_id.h
new.c: Order two return statements to match comment.
[nmh] / sbr / message_id.h
1 /* message_id.h -- construct the body of a Message-ID or Content-ID.
2 *
3 * This code is Copyright (c) 2017, by the authors of nmh. See the
4 * COPYRIGHT file in the root directory of the nmh distribution for
5 * complete copyright information.
6 */
7
8 /* What style to use for generated Message-ID and Content-ID header
9 * fields. The localname style is pid.time@localname, where time is
10 * in seconds. The random style replaces the localname with some
11 * (pseudo)random bytes and uses microsecond-resolution time. */
12 int save_message_id_style(const char *value);
13
14 char *message_id(time_t tclock, int content_id);