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