static int browse_add_list_result(struct ImapData *idata, const char *cmd,
struct browser_state *state, short isparent)
{
- IMAP_LIST list;
+ struct ImapList list;
IMAP_MBOX mx;
int rc;
int imap_browse(char *path, struct browser_state *state)
{
struct ImapData *idata = NULL;
- IMAP_LIST list;
+ struct ImapList list;
char buf[LONG_STRING];
char mbox[LONG_STRING];
char munged_mbox[LONG_STRING];
static void cmd_parse_list(struct ImapData *idata, char *s)
{
- IMAP_LIST *list = NULL;
- IMAP_LIST lb;
+ struct ImapList *list = NULL;
+ struct ImapList lb;
char delimbuf[5]; /* worst case: "\\"\0 */
long litlen;
if (idata->cmddata && idata->cmdtype == IMAP_CT_LIST)
- list = (IMAP_LIST *) idata->cmddata;
+ list = (struct ImapList *) idata->cmddata;
else
list = &lb;
- memset(list, 0, sizeof(IMAP_LIST));
+ memset(list, 0, sizeof(struct ImapList));
/* flags */
s = imap_next_word(s);
char errstr[STRING];
struct Buffer err, token;
struct CissUrl url;
- IMAP_LIST list;
+ struct ImapList list;
if (idata->cmddata && idata->cmdtype == IMAP_CT_LIST)
{
struct ImapData *idata = NULL;
char list[LONG_STRING];
char buf[LONG_STRING];
- IMAP_LIST listresp;
+ struct ImapList listresp;
char completion[LONG_STRING];
int clen, matchlen = 0;
int completions = 0;