Moved to include
Showing
2 changed files
with
0 additions
and
48 deletions
lib/argcv.h
deleted
100644 → 0
1 | /* GNU mailutils - a suite of utilities for electronic mail | ||
2 | Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. | ||
3 | |||
4 | This program is free software; you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation; either version 2, or (at your option) | ||
7 | any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along with this program; if not, write to the Free Software | ||
16 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ | ||
17 | |||
18 | #ifndef _ARGCV_H | ||
19 | #define _ARGCV_H 1 | ||
20 | |||
21 | #include <stdio.h> | ||
22 | #include <stdlib.h> | ||
23 | #include <unistd.h> | ||
24 | #include <string.h> | ||
25 | |||
26 | #ifdef __cplusplus | ||
27 | extern "C" { | ||
28 | #endif | ||
29 | |||
30 | #ifndef __P | ||
31 | # if defined PROTOTYPES || (defined __STDC__ && __STDC__) | ||
32 | # define __P(args) args | ||
33 | # else | ||
34 | # define __P(args) () | ||
35 | # endif | ||
36 | #endif /*__P */ | ||
37 | |||
38 | extern int argcv_get __P ((const char *command, const char *delim, | ||
39 | const char* cmnt, | ||
40 | int *argc, char ***argv)); | ||
41 | extern int argcv_string __P ((int argc, char **argv, char **string)); | ||
42 | extern int argcv_free __P ((int argc, char **argv)); | ||
43 | |||
44 | #ifdef __cplusplus | ||
45 | } | ||
46 | #endif | ||
47 | |||
48 | #endif /* _ARGCV_H */ |
lib/argp.h
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment