VLFeat.org

API docs

  • Home
    • Download and Install
    • API docs
    • Matlab docs
    • About VLFeat
  • Tutorials
    • SIFT
    • MSER
    • IKM
    • HIKM
    • AIB
    • Utils
  • Main Page
  • Related Pages
  • Data Structures
  • Files
  • Examples

getopt_long.h

Go to the documentation of this file.
00001 
00009 /* AUTORIGHTS
00010 Copyright 2007 (c) Andrea Vedaldi and Brian Fulkerson
00011 
00012 This file is part of VLFeat, available in the terms of the GNU
00013 General Public License version 2.
00014 */
00015 
00016 #ifndef VL_GETOPT_LONG_H
00017 #define VL_GETOPT_LONG_H
00018 
00019 #include "generic.h"
00020 
00021 extern VL_EXPORT int    opterr ;  
00022 extern VL_EXPORT int    optind ;  
00023 extern VL_EXPORT int    optopt ;  
00024 extern VL_EXPORT char * optarg ;  
00025 extern VL_EXPORT int    optreset; 
00028 struct option
00029 {
00030   const char *name ;    
00031   int       has_arg ; 
00032   int      *flag ;    
00033   int       val ;     
00034 } ;
00035 
00036 #define no_argument       0 
00037 #define required_argument 1 
00038 #define optional_argument 2 
00040 extern VL_EXPORT int getopt_long(int argc, char *const argv[],
00041       const char *optstring,
00042       const struct option * longopts, int *longindex);
00043 
00044 /* VL_GETOPT_LONG_H */
00045 #endif
00046 
Copyright © 2008 Andrea Vedaldi and Brian Fulkerson