Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
1a7f20db
...
1a7f20db3480c96e0a8b3dede0dac33ca7c8ac83
authored
2003-02-08 02:22:14 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(struct mh_option): Removed "longopt" member.
1 parent
e66e53ee
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
50 additions
and
51 deletions
mh/comp.c
mh/fmtcheck.c
mh/folder.c
mh/inc.c
mh/mh_getopt.c
mh/mh_getopt.h
mh/scan.c
mh/whatnow.c
mh/comp.c
View file @
1a7f20d
...
...
@@ -55,16 +55,16 @@ static struct argp_option options[] = {
/* Traditional MH options */
struct
mh_option
mh_option
[]
=
{
{
"build"
,
1
,
NULL
,
},
{
"file"
,
2
,
NULL
,
MH_OPT_ARG
,
"draftfile"
},
{
"form"
,
2
,
NULL
,
MH_OPT_ARG
,
"formatfile"
},
{
"draftfolder"
,
6
,
NULL
,
MH_OPT_ARG
,
"folder"
},
{
"nodraftfolder"
,
3
,
NULL
},
{
"draftmessage"
,
6
,
NULL
},
{
"editor"
,
1
,
NULL
,
MH_OPT_ARG
,
"program"
},
{
"noedit"
,
3
,
NULL
,
},
{
"whatnowproc"
,
2
,
NULL
,
MH_OPT_ARG
,
"program"
},
{
"nowhatnowproc"
,
3
,
NULL
},
{
"build"
,
1
,
},
{
"file"
,
2
,
MH_OPT_ARG
,
"draftfile"
},
{
"form"
,
2
,
MH_OPT_ARG
,
"formatfile"
},
{
"draftfolder"
,
6
,
MH_OPT_ARG
,
"folder"
},
{
"nodraftfolder"
,
3
,
},
{
"draftmessage"
,
6
,
},
{
"editor"
,
1
,
MH_OPT_ARG
,
"program"
},
{
"noedit"
,
3
,
},
{
"whatnowproc"
,
2
,
MH_OPT_ARG
,
"program"
},
{
"nowhatnowproc"
,
3
,
},
{
0
}
};
...
...
mh/fmtcheck.c
View file @
1a7f20d
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2002
, 2003
Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -35,8 +35,8 @@ static struct argp_option options[] = {
/* Traditional MH options */
struct
mh_option
mh_option
[]
=
{
{
"form"
,
4
,
NULL
,
MH_OPT_ARG
,
"formatfile"
},
{
"format"
,
5
,
NULL
,
MH_OPT_ARG
,
"string"
},
{
"form"
,
4
,
MH_OPT_ARG
,
"formatfile"
},
{
"format"
,
5
,
MH_OPT_ARG
,
"string"
},
{
0
}
};
...
...
mh/folder.c
View file @
1a7f20d
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2002
, 2003
Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -70,16 +70,16 @@ static struct argp_option options[] = {
/* Traditional MH options */
struct
mh_option
mh_option
[]
=
{
{
"print"
,
2
,
NULL
,
0
,
NULL
},
{
"list"
,
1
,
NULL
,
0
,
NULL
},
{
"push"
,
2
,
NULL
,
0
,
NULL
},
{
"pop"
,
2
,
NULL
,
0
,
NULL
},
{
"all"
,
1
,
NULL
,
0
,
NULL
},
{
"create"
,
1
,
NULL
,
MH_OPT_BOOL
,
NULL
},
{
"fast"
,
1
,
NULL
,
MH_OPT_BOOL
,
NULL
},
{
"header"
,
1
,
NULL
,
MH_OPT_BOOL
,
NULL
},
{
"recurse"
,
1
,
NULL
,
MH_OPT_BOOL
,
NULL
},
{
"total"
,
1
,
NULL
,
MH_OPT_BOOL
,
NULL
},
{
"print"
,
2
,
0
,
NULL
},
{
"list"
,
1
,
0
,
NULL
},
{
"push"
,
2
,
0
,
NULL
},
{
"pop"
,
2
,
0
,
NULL
},
{
"all"
,
1
,
0
,
NULL
},
{
"create"
,
1
,
MH_OPT_BOOL
,
NULL
},
{
"fast"
,
1
,
MH_OPT_BOOL
,
NULL
},
{
"header"
,
1
,
MH_OPT_BOOL
,
NULL
},
{
"recurse"
,
1
,
MH_OPT_BOOL
,
NULL
},
{
"total"
,
1
,
MH_OPT_BOOL
,
NULL
},
{
NULL
},
};
...
...
mh/inc.c
View file @
1a7f20d
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2002
, 2003
Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -44,15 +44,15 @@ static struct argp_option options[] = {
/* Traditional MH options */
struct
mh_option
mh_option
[]
=
{
{
"audit"
,
5
,
NULL
,
MH_OPT_ARG
,
"audit-file"
},
{
"noaudit"
,
3
,
NULL
,
0
,
},
{
"changecur"
,
1
,
NULL
,
MH_OPT_BOOL
},
{
"file"
,
2
,
NULL
,
MH_OPT_ARG
,
"input-file"
},
{
"form"
,
4
,
NULL
,
MH_OPT_ARG
,
"format-file"
},
{
"format"
,
5
,
NULL
,
MH_OPT_ARG
,
"string"
},
{
"truncate"
,
2
,
NULL
,
MH_OPT_BOOL
,
},
{
"width"
,
1
,
NULL
,
MH_OPT_ARG
,
"number"
},
{
"quiet"
,
1
,
NULL
,
0
,
},
{
"audit"
,
5
,
MH_OPT_ARG
,
"audit-file"
},
{
"noaudit"
,
3
,
0
,
},
{
"changecur"
,
1
,
MH_OPT_BOOL
},
{
"file"
,
2
,
MH_OPT_ARG
,
"input-file"
},
{
"form"
,
4
,
MH_OPT_ARG
,
"format-file"
},
{
"format"
,
5
,
MH_OPT_ARG
,
"string"
},
{
"truncate"
,
2
,
MH_OPT_BOOL
,
},
{
"width"
,
1
,
MH_OPT_ARG
,
"number"
},
{
"quiet"
,
1
,
0
,
},
{
0
}
};
...
...
mh/mh_getopt.c
View file @
1a7f20d
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2002
, 2003
Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -68,7 +68,7 @@ mh_getopt (int argc, char **argv, struct mh_option *mh_opt, const char *doc)
if
(
p
->
opt
)
{
char
*
longopt
=
p
->
longopt
?
p
->
longopt
:
p
->
opt
;
char
*
longopt
=
p
->
opt
;
switch
(
p
->
flags
)
{
case
MH_OPT_BOOL
:
...
...
mh/mh_getopt.h
View file @
1a7f20d
...
...
@@ -25,7 +25,6 @@ struct mh_option
{
char
*
opt
;
int
match_len
;
char
*
longopt
;
int
flags
;
char
*
arg
;
};
...
...
mh/scan.c
View file @
1a7f20d
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2002
, 2003
Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
...
...
@@ -50,13 +50,13 @@ static struct argp_option options[] = {
/* Traditional MH options */
struct
mh_option
mh_option
[]
=
{
{
"clear"
,
1
,
NULL
,
MH_OPT_BOOL
},
{
"form"
,
4
,
NULL
,
MH_OPT_ARG
,
"formatfile"
},
{
"format"
,
5
,
NULL
,
MH_OPT_ARG
,
"string"
},
{
"header"
,
3
,
NULL
,
MH_OPT_BOOL
},
{
"width"
,
1
,
NULL
,
MH_OPT_ARG
,
"number"
},
{
"reverse"
,
1
,
NULL
,
MH_OPT_BOOL
},
{
"file"
,
4
,
NULL
,
MH_OPT_ARG
,
"file"
},
{
"clear"
,
1
,
MH_OPT_BOOL
},
{
"form"
,
4
,
MH_OPT_ARG
,
"formatfile"
},
{
"format"
,
5
,
MH_OPT_ARG
,
"string"
},
{
"header"
,
3
,
MH_OPT_BOOL
},
{
"width"
,
1
,
MH_OPT_ARG
,
"number"
},
{
"reverse"
,
1
,
MH_OPT_BOOL
},
{
"file"
,
4
,
MH_OPT_ARG
,
"file"
},
{
0
}
};
...
...
mh/whatnow.c
View file @
1a7f20d
...
...
@@ -42,12 +42,12 @@ static struct argp_option options[] = {
/* Traditional MH options */
struct
mh_option
mh_option
[]
=
{
{
"draftfolder"
,
6
,
NULL
,
MH_OPT_ARG
,
"folder"
},
{
"nodraftfolder"
,
3
,
NULL
,
},
{
"draftmessage"
,
6
,
NULL
},
{
"editor"
,
1
,
NULL
,
MH_OPT_ARG
,
"program"
},
{
"noedit"
,
3
,
NULL
,
},
{
"prompt"
,
1
,
NULL
},
{
"draftfolder"
,
6
,
MH_OPT_ARG
,
"folder"
},
{
"nodraftfolder"
,
3
,
},
{
"draftmessage"
,
6
,
},
{
"editor"
,
1
,
MH_OPT_ARG
,
"program"
},
{
"noedit"
,
3
,
},
{
"prompt"
,
1
},
{
0
}
};
...
...
Please
register
or
sign in
to post a comment