2 * $Id: arg.h 761 2007-10-23 22:35:18Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2013-2021 Eduardo Chappa
6 * Copyright 2006 University of Washington
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * ========================================================================
17 #ifndef PINE_ARG_INCLUDED
18 #define PINE_ARG_INCLUDED
21 #include "../pith/state.h"
22 #include "../pith/string.h"
26 * Used by pine_args to tell caller what was found;
28 typedef struct argdata
{
29 enum {aaFolder
= 0, aaMore
, aaURL
, aaMail
,
30 aaPrcCopy
, aaAbookCopy
} action
;
47 /* exported prototypes */
48 void pine_args(struct pine
*, int, char **, ARGDATA_S
*);
49 void display_args_err(char *, char **, int);
53 #endif /* PINE_ARG_INCLUDED */