X-Git-Url: https://code.citadel.org/?p=citadel.git;a=blobdiff_plain;f=citadel%2Finclude%2Fctdl_module.h;h=d17a9861bcc91b5eb37b2034465adb14ec42131c;hp=e554783f58cad5d5e208babd2d244223f098c60e;hb=f89c5f3027859b19fc935ff76a958e1ec26c620a;hpb=74104ecda187779baf9beefd48905b15918265dc diff --git a/citadel/include/ctdl_module.h b/citadel/include/ctdl_module.h index e554783f5..d17a9861b 100644 --- a/citadel/include/ctdl_module.h +++ b/citadel/include/ctdl_module.h @@ -150,4 +150,13 @@ struct CitContext *CtdlGetContextArray (int *count); +/* + * CtdlGetCurrentMessageNumber() - Obtain the current highest message number in the system + * This provides a quick way to initialise a variable that might be used to indicate + * messages that should not be processed. EG. a new Sieve script will use this + * to record determine that messages older than this should not be processed. + * This function is defined in control.c + */ +long CtdlGetCurrentMessageNumber(void); + #endif /* CTDL_MODULE_H */