]>
diplodocus.org Git - nmh/blob - sbr/getfolder.c
3 * getfolder.c -- get the current or default folder
12 getfolder(int wantcurrent
)
14 register char *folder
;
17 * If wantcurrent == 1, then try the current folder first
19 if (wantcurrent
&& (folder
= context_find (pfolder
)) && *folder
!= '\0')
23 * Else try the Inbox profile entry
25 if ((folder
= context_find (inbox
)) && *folder
!= '\0')
29 * Else return compile time default.