1 #ifndef APR_GETOPT_XX
\r
2 #define APR_GETOPT_XX
\r
3 /** @see apr_getopt_t */
\r
4 typedef struct apr_getopt_t apr_getopt_t;
\r
7 * Structure to store command line argument information.
\r
9 struct apr_getopt_t {
\r
10 /** context for processing */
\r
12 /** function to print error message (NULL == no messages) */
\r
13 // apr_getopt_err_fn_t *errfn;
\r
14 /** user defined first arg to pass to error message */
\r
16 /** index into parent argv vector */
\r
18 /** character checked for validity */
\r
22 /** count of arguments */
\r
24 /** array of pointers to arguments */
\r
26 /** argument associated with option */
\r
28 /** set to nonzero to support interleaving options with regular args */
\r
30 /** start of non-option arguments skipped for interleaving */
\r
32 /** end of non-option arguments skipped for interleaving */
\r
36 struct apr_finfo_t {
\r
37 /** Allocates memory and closes lingering handles in the specified pool */
\r
39 /** The bitmask describing valid fields of this apr_finfo_t structure
\r
40 * including all available 'wanted' fields and potentially more */
\r
42 /** The access permissions of the file. Mimics Unix access rights. */
\r
45 /** The storage size consumed by the file */
\r
47 /** The time the file was last accessed */
\r
49 /** The time the file was last modified */
\r
51 /** The time the file was created, or the inode was last changed */
\r
53 /** The pathname of the file (possibly unrooted) */
\r
55 /** The file's name (no path) in filesystem case */
\r
60 typedef struct apr_finfo_t apr_finfo_t;
\r