/*
- * mark.c -- add message(s) to sequences in given folder
- * -- delete messages (s) from sequences in given folder
- * -- list sequences in given folder
- *
- * This code is Copyright (c) 2002, by the authors of nmh. See the
- * COPYRIGHT file in the root directory of the nmh distribution for
- * complete copyright information.
- */
+** mark.c -- add message(s) to sequences in given folder
+** -- delete messages (s) from sequences in given folder
+** -- list sequences in given folder
+**
+** This code is Copyright (c) 2002, by the authors of nmh. See the
+** COPYRIGHT file in the root directory of the nmh distribution for
+** complete copyright information.
+*/
#include <h/mh.h>
#include <h/utils.h>
};
/*
- * static prototypes
- */
+** static prototypes
+*/
static void print_debug (struct msgs *);
static void seq_printdebug (struct msgs *);
argp = arguments;
/*
- * Parse arguments
- */
+ ** Parse arguments
+ */
while ((cp = *argp++)) {
if (*cp == '-') {
switch (smatch (++cp, switches)) {
}
/*
- * If we haven't specified -add, -delete, or -list,
- * then use -add if a sequence was specified, else
- * use -list.
- */
+ ** If we haven't specified -add, -delete, or -list,
+ ** then use -add if a sequence was specified, else
+ ** use -list.
+ */
if (!addsw && !deletesw && !listsw) {
if (seqp)
addsw++;
adios (NULL, "folder %s is read-only, so -public not allowed", folder);
/*
- * Make sure at least one sequence has been
- * specified if we are adding or deleting.
- */
+ ** Make sure at least one sequence has been
+ ** specified if we are adding or deleting.
+ */
if (seqp == 0 && (addsw || deletesw))
adios (NULL, "-%s requires at least one -sequence argument",
addsw ? "add" : "delete");
/*
- * Print general debugging info
- */
+** Print general debugging info
+*/
static void
print_debug (struct msgs *mp)
{
/*
- * Print debugging info about all the SELECTED
- * messages and the sequences they are in.
- */
+** Print debugging info about all the SELECTED
+** messages and the sequences they are in.
+*/
static void
seq_printdebug (struct msgs *mp)
{