X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fjournaling.c;h=f0464a999adca9124bd9673c396e8bc8523048b7;hb=13f214043d3697db7a3ca1c751cee41fd2fcf695;hp=9a708872273f57d29dd04baf439cb06ebdadf6df;hpb=7b446ded2584f08fe51fe9327a3769acc6937c85;p=citadel.git diff --git a/citadel/journaling.c b/citadel/journaling.c index 9a7088722..f0464a999 100644 --- a/citadel/journaling.c +++ b/citadel/journaling.c @@ -92,6 +92,14 @@ void JournalBackgroundSubmit(struct CtdlMessage *msg, /* * Convert a local user name to an internet email address for the journal */ + +/* + * TODODRW: change this into a CtdlModuleDo type function that returns alternative address info + * for this local user. Something like CtdlModuleGoGetAddr(char *localuser, int type, char *alt_addr, size_t alt_addr_len) + * where type can be ADDR_EMAIL, ADDR_FIDO, ADDR_UUCP, ADDR_WEB, ADDR_POSTAL etc etc. + * This then begs the question of what should be returned. Is it wise to return a single char* using a comma as a + * delimiter? Or would it be better to return a linked list of some kind? + */ void local_to_inetemail(char *inetemail, char *localuser, size_t inetemail_len) { struct ctdluser us; struct vCard *v;