aboutsummaryrefslogtreecommitdiff
path: root/src/mf-status.mfi
diff options
context:
space:
mode:
Diffstat (limited to 'src/mf-status.mfi')
-rw-r--r--src/mf-status.mfi12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mf-status.mfi b/src/mf-status.mfi
index 7687e1a5..97112a4d 100644
--- a/src/mf-status.mfi
+++ b/src/mf-status.mfi
@@ -22,31 +22,31 @@ TEMPLATE /* */ -*- c -*-
#include "mailfromd.h"
static struct status_tab {
- mf_status status;
+ mf_exception ex;
char *name;
} status_tab[] = {
- %{ { mf_%NAME, "%NAME" },%}
+ %{ { mfe_%NAME, "e_%NAME" },%}
{ 0, NULL }
};
int
-string_to_stat(const char *str, mf_status *status)
+string_to_exception(const char *str, mf_exception *status)
{
struct status_tab *sp;
for (sp = status_tab; sp->name; sp++)
if (strcmp(str, sp->name) == 0) {
- *status = sp->status;
+ *status = sp->ex;
return 0;
}
return 1;
}
const char *
-mf_status_str(mf_status stat)
+mf_exception_str(mf_exception ex)
{
struct status_tab *sp;
for (sp = status_tab; sp->name; sp++)
- if (sp->status == stat)
+ if (sp->ex == ex)
return sp->name;
return _("UNKNOWN");
}

Return to:

Send suggestions and report system problems to the System administrator.