getopt_long.h
Go to the documentation of this file.
00001 
00006 /*
00007 Copyright (C) 2007-12 Andrea Vedaldi and Brian Fulkerson.
00008 All rights reserved.
00009 
00010 This file is part of the VLFeat library and is made available under
00011 the terms of the BSD license (see the COPYING file).
00012 */
00013 
00014 #ifndef VL_GETOPT_LONG_H
00015 #define VL_GETOPT_LONG_H
00016 
00017 #include "generic.h"
00018 
00019 VL_EXPORT int    opterr ;   
00020 VL_EXPORT int    optind ;   
00021 VL_EXPORT int    optopt ;   
00022 VL_EXPORT char * optarg ;   
00023 VL_EXPORT int    optreset ; 
00026 struct option
00027 {
00028   const char *name ;  
00029   int         has_arg ; 
00030   int        *flag ;    
00031   int         val ;     
00032 } ;
00033 
00034 #define no_argument       0 
00035 #define required_argument 1 
00036 #define optional_argument 2 
00038 VL_EXPORT int getopt_long(int argc, char * const argv[],
00039                           const char * optstring,
00040                           const struct option * longopts, int * longindex);
00041 
00042 /* VL_GETOPT_LONG_H */
00043 #endif


libvlfeat
Author(s): Andrea Vedaldi
autogenerated on Thu Jun 6 2019 20:25:51