[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] nmh internals: argument processing
From: |
David Levine |
Subject: |
Re: [Nmh-workers] nmh internals: argument processing |
Date: |
Tue, 08 Jan 2013 10:02:47 -0500 |
Ken wrote:
> enum { AUDSW, NAUDSW, CHGSW, NCHGSW, };
> static struct swit switches[] = {
> { "audit audit-file", 0, AUDSW },
> { "noaudit", 0, NAUDSW},
> { "changecur", 0, CHGSW },
> { "nochangecur", 0, NCHGSW },
Beautiful.
And I think it is helpful to include the enum value in the
swit struct. These things get moved around, copied,
commented, and so on.
David
- Re: [Nmh-workers] nmh internals: argument processing, (continued)
- Re: [Nmh-workers] nmh internals: argument processing, Ken Hornstein, 2013/01/08
- Re: [Nmh-workers] nmh internals: argument processing, Ralph Corderoy, 2013/01/09
- Re: [Nmh-workers] nmh internals: argument processing, Ken Hornstein, 2013/01/09
- Re: [Nmh-workers] nmh internals: argument processing, Paul Fox, 2013/01/09
- Re: [Nmh-workers] nmh internals: argument processing, Ralph Corderoy, 2013/01/09
- Re: [Nmh-workers] nmh internals: argument processing, Paul Fox, 2013/01/09
- Re: [Nmh-workers] nmh internals: argument processing, Ralph Corderoy, 2013/01/09
- Re: [Nmh-workers] nmh internals: argument processing, Ken Hornstein, 2013/01/09
- Re: [Nmh-workers] nmh internals: argument processing, Ralph Corderoy, 2013/01/09
- Re: [Nmh-workers] nmh internals: argument processing, Ken Hornstein, 2013/01/09
Re: [Nmh-workers] nmh internals: argument processing,
David Levine <=