-int CtdlCheckInternetMailPermission(struct ctdluser *who);
-int CtdlIsMe(char *addr, int addr_buf_len);
+
+struct CtdlMessage *CtdlMakeMessageLen(
+ struct ctdluser *author, /* author's user structure */
+ char *recipient, /* NULL if it's not mail */
+ long rcplen,
+ char *recp_cc, /* NULL if it's not mail */
+ long cclen,
+ char *room, /* room where it's going */
+ long roomlen,
+ int type, /* see MES_ types in header file */
+ int format_type, /* variformat, plain text, MIME... */
+ char *fake_name, /* who we're masquerading as */
+ long fnlen,
+ char *my_email, /* which of my email addresses to use (empty is ok) */
+ long myelen,
+ char *subject, /* Subject (optional) */
+ long subjlen,
+ char *supplied_euid, /* ...or NULL if this is irrelevant */
+ long euidlen,
+ char *preformatted_text, /* ...or NULL to read text from client */
+ long textlen,
+ char *references, /* Thread references */
+ long reflen);