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

stringop.h

Go to the documentation of this file.
00001 
00006 /* AUTORIGHTS
00007 Copyright 2007 (c) Andrea Vedaldi and Brian Fulkerson
00008 
00009 This file is part of VLFeat, available in the terms of the GNU
00010 General Public License version 2.
00011 */
00012 
00013 #ifndef VL_STRINGOP_H
00014 #define VL_STRINGOP_H
00015 
00016 #include "generic.h"
00017 
00028 enum {
00029   VL_PROT_UNKNOWN = -1, 
00030   VL_PROT_NONE    =  0, 
00031   VL_PROT_ASCII,        
00032   VL_PROT_BINARY        
00033 } ;
00034 
00035 
00036 VL_EXPORT int    vl_string_copy             (char *dst, int n, char const *src) ;
00037 VL_EXPORT int    vl_string_copy_sub         (char *dst, int n, char const *beg, char const *end) ;
00038 VL_EXPORT char*  vl_string_parse_protocol   (char const *str, int *prot) ;
00039 VL_EXPORT char const* vl_string_protocol_name (int prot) ;
00040 VL_EXPORT int    vl_string_basename         (char *dst, int n, char const *src, int n_ext) ;
00041 VL_EXPORT int    vl_string_replace_wildcard (char *dst, int n, char const *src, char wild, char esc, char const* repl) ;
00042 VL_EXPORT char*  vl_string_find_char_rev    (char const *beg, char const* end, char c) ;
00043 VL_EXPORT int    vl_string_length           (char const *str) ;
00044 VL_EXPORT int    vl_string_casei_cmp        (const char *s1, const char *s2) ;
00045 
00046 /* VL_STRINGOP_H */
00047 #endif
Copyright © 2008 Andrea Vedaldi and Brian Fulkerson