/usr/include/dparser/arg.h is in mcrl2 201210.1-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | /*
Copyright 1994-2004 John Plevyak, All Rights Reserved
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#ifndef __alpha
#define atoll atol
#endif
/* Argument Handling
*/
struct ArgumentState;
typedef void ArgumentFunction(struct ArgumentState *arg_state, char *arg);
typedef struct {
char *name;
char key;
char *description;
char *type;
void *location;
char *env;
ArgumentFunction *pfn;
} ArgumentDescription;
typedef struct ArgumentState {
char **file_argument;
int nfile_arguments;
char *program_name;
ArgumentDescription *desc;
} ArgumentState;
void usage(ArgumentState *arg_state, char *arg_unused);
void process_args(ArgumentState *arg_state, char **argv);
void free_args(ArgumentState *arg_state);
|