#include <lib-lib/mem.h>
#include <lib-lib/ascii.h>
#include <lib-lib/str.h>
+#include <lib-lib/file.h>
#include <lib-lib/macros.h>
#include "lib/rx.h"
ALIAS *t = Aliases;
for (; t; t = t->next)
- if (!str_casecmp (s, t->name))
+ if (!m_strcasecmp(s, t->name))
return (t->addr);
return (NULL); /* no such alias */
}
if (t) {
i = 0;
for (u = *expn; u; u = u->next) {
- if (str_cmp (a->mailbox, u->data) == 0) { /* alias already found */
+ if (m_strcmp(a->mailbox, u->data) == 0) { /* alias already found */
debug_print(1, ("loop in alias found for '%s'\n", a->mailbox));
i = 1;
break;
}
if (bestname[0] != 0) {
- if (str_cmp (bestname, s) != 0) {
+ if (m_strcmp(bestname, s) != 0) {
/* we are adding something to the completion */
strfcpy (s, bestname, m_strlen(bestname) + 1);
return 1;
{
ALIAS *pa = *(ALIAS **) a;
ALIAS *pb = *(ALIAS **) b;
- int r = str_casecmp (pa->name, pb->name);
+ int r = m_strcasecmp(pa->name, pb->name);
return (RSORT (r));
}
r = 1;
else if (pa->personal) {
if (pb->personal)
- r = str_casecmp (pa->personal, pb->personal);
+ r = m_strcasecmp(pa->personal, pb->personal);
else
r = 1;
}