-#include <lib-lib/mem.h>
-#include <lib-lib/buffer.h>
-#include <lib-lib/macros.h>
+#include <lib-ui/curses.h>
+#include <lib-ui/sidebar.h>
pos += m_strlen(strncat (buffylist, _("New mail in "), sizeof (buffylist) - 1 - pos)); /* __STRNCAT_CHECKED__ */
if (Incoming) {
for (i = 0; i < Incoming->length; i++) {
pos += m_strlen(strncat (buffylist, _("New mail in "), sizeof (buffylist) - 1 - pos)); /* __STRNCAT_CHECKED__ */
if (Incoming) {
for (i = 0; i < Incoming->length; i++) {
if (!first)
pos += m_strlen(strncat (buffylist + pos, ", ", sizeof (buffylist) - 1 - pos)); /* __STRNCAT_CHECKED__ */
if (!first)
pos += m_strlen(strncat (buffylist + pos, ", ", sizeof (buffylist) - 1 - pos)); /* __STRNCAT_CHECKED__ */
pos += m_strlen(strncat (buffylist + pos, path, sizeof (buffylist) - 1 - pos)); /* __STRNCAT_CHECKED__ */
first = 0;
}
pos += m_strlen(strncat (buffylist + pos, path, sizeof (buffylist) - 1 - pos)); /* __STRNCAT_CHECKED__ */
first = 0;
}
*
* given a folder name, this routine gives the next incoming folder with new
* new mail.
*/
void buffy_next (char *s, size_t slen)
{
*
* given a folder name, this routine gives the next incoming folder with new
* new mail.
*/
void buffy_next (char *s, size_t slen)
{
* or -1 if not found (-1..Incoming->length-1);
* plus one --> (0..Incoming->length).
* Modulo mapps it into the correct range.
*/
i = 1 + buffy_lookup (s);
* or -1 if not found (-1..Incoming->length-1);
* plus one --> (0..Incoming->length).
* Modulo mapps it into the correct range.
*/
i = 1 + buffy_lookup (s);