3 * context_find.c -- find an entry in the context/profile list
7 * This code is Copyright (c) 2002, by the authors of nmh. See the
8 * COPYRIGHT file in the root directory of the nmh distribution for
9 * complete copyright information.
16 context_find (char *str)
20 /* sanity check - check that context has been read */
22 adios (NULL, "oops, context hasn't been read yet");
24 for (np = m_defs; np; np = np->n_next)
25 if (!strcasecmp (np->n_name, str))