CUBRID Engine  latest
cubrid_getopt.h File Reference
#include "config.h"
#include <sys/cdefs.h>
Include dependency graph for cubrid_getopt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  option
 

Macros

#define DllImport
 
#define no_argument   0
 
#define required_argument   1
 
#define optional_argument   2
 

Typedefs

typedef struct option GETOPT_LONG
 

Functions

int getopt (int, char *const *, const char *)
 
int getopt_long (int, char *const *, const char *, const struct option *, int *)
 

Variables

DllImport int optreset
 
DllImport char * optarg
 
DllImport int opterr
 
DllImport int optind
 
DllImport int optopt
 

Macro Definition Documentation

#define DllImport

Definition at line 41 of file cubrid_getopt.h.

#define no_argument   0

Definition at line 49 of file cubrid_getopt.h.

Referenced by getopt_long().

#define optional_argument   2

Definition at line 51 of file cubrid_getopt.h.

Referenced by getopt_long().

#define required_argument   1

Definition at line 50 of file cubrid_getopt.h.

Referenced by getopt_long().

Typedef Documentation

typedef struct option GETOPT_LONG

Definition at line 88 of file cubrid_getopt.h.

Function Documentation

int getopt ( int  ,
char *const ,
const char *   
)

Definition at line 331 of file cubrid_getopt_long.c.

References getopt_internal(), nonopt_start, optind, and permute_args().

Referenced by admin_getid_cmd(), get_args(), and main().

Here is the caller graph for this function:

int getopt_long ( int  ,
char *const ,
const char *  ,
const struct option ,
int *   
)

Variable Documentation

DllImport int opterr

Definition at line 51 of file cubrid_getopt_long.c.

DllImport int optopt

Definition at line 53 of file cubrid_getopt_long.c.

DllImport int optreset

Definition at line 54 of file cubrid_getopt_long.c.