-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathgetoptPoly3D.h
46 lines (34 loc) · 1.15 KB
/
getoptPoly3D.h
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
38
39
40
41
42
43
44
45
46
/*==================================================
SET TABSTOPS AT EVERY FOUR SPACES FOR PROPER DISPLAY
====================================================*/
/*****************************************************************************
* FILE: getoptPoly3D.c
* DATE: June, 1993
* BY: Andrew L. Thomas
*
* Header file for getopt.c
*****************************************************************************/
#ifndef getoptPoly3D_h_
/***************************** Includes/Defines ******************************/
#define getoptPoly3D_h_
#define FILE_ARG 0
#define FLAG 1
#define FLAG_AND_FILE 2
#define NO_MORE_ARGS -1
#define NO_SUCH_ARG -2
/********************************* Structures ********************************/
struct arg_rec {
char flag_name;
char arg_type;
struct arg_rec *next_rec;
char *file_arg;
};
/******************************* External Variables **************************/
extern char *getopt_arg_E;
/****************************** Function Declarations ************************/
#if defined(__STDC__) || defined(ANSI) /* ANSI */
int getoptPoly3D(char *arg_string, int argc, char *argv[]);
#else
int getoptPoly3D();
#endif
#endif