}
/* Undoes the special character conversion. */
-
static int cfrommap(int c)
{
switch (c)
}
-
-
/* Break a command down into tokens, unquoting any escaped characters. */
-
void MakeStringOf(StrBuf *Buf, int skip)
{
int i;
/* Convert a struct ctdlroom to an IMAP-compatible mailbox name. */
-
long imap_mailboxname(char *buf, int bufsize, struct ctdlroom *qrbuf)
{
char* bufend = buf+bufsize;
* including IR_MAILBOX if we're dealing with a personal room.
*
*/
-
int imap_roomname(char *rbuf, int bufsize, const char *foldername)
{
int levels;
return WILDMAT_TRUE;
}
while (!IsEmptyStr(text) &&
- /* make shure texst - 1 isn't before lcase_p */
+ /* make sure text - 1 isn't before lcase_p */
((text == lcase_text) || (*(text - 1) != WILDMAT_DELIM)))
{
if ((matched = do_imap_match(text++, p))
}
-
/*
* Support function for mailbox pattern name matching in LIST and LSUB
* Returns nonzero if the supplied mailbox name matches the supplied pattern.
}
-
-
-
void IAPrintf(const char *Format, ...)
{
va_list arg_ptr;
va_end(arg_ptr);
}
+
void iaputs(const char *Str, long Len)
{
StrBufAppendBufPlain(IMAP->Reply, Str, Len, 0);
}
+
void ireply(const char *Msg, long len)
{
citimap *Imap = IMAP;
}
+
void IReplyPrintf(const char *Format, ...)
{
citimap *Imap = IMAP;
/* Output a string to the IMAP client, either as a literal or quoted.
* (We do a literal if it has any double-quotes or backslashes.) */
-
-
void IPutStr(const char *Msg, long Len)
{
int i;