- Main Page
- Data Structures
- Files
- Related Pages

# stringop.h

Go to the documentation of this file.

    00001
    00006 #ifndef VL_STRINGOP_H
    00007 #define VL_STRINGOP_H
    00008
    00009 #include "generic.h"
    00010
    00021 enum {
    00022   VL_PROT_UNKNOWN = -1,
    00023   VL_PROT_NONE    =  0,
    00024   VL_PROT_ASCII,
    00025   VL_PROT_BINARY
    00026 } ;
    00027
    00028
    00029 int    vl_string_copy             (char *dst, int n, char const *src) ;
    00030 int    vl_string_copy_sub         (char *dst, int n, char const *beg, char const *end) ;
    00031 char*  vl_string_parse_protocol   (char const *str, int *prot) ;
    00032 char const* vl_string_protocol_name (int prot) ;
    00033 int    vl_string_basename         (char *dst, int n, char const *src, int n_ext) ;
    00034 int    vl_string_replace_wildcard (char *dst, int n, char const *src, char wild, char esc, char const* repl) ;
    00035 char*  vl_string_find_char_rev    (char const *beg, char const* end, char c) ;
    00036 int    vl_string_length           (char const *str) ;
    00037 int    vl_string_casei_cmp        (const char *s1, const char *s2) ;
    00038
    00039 /* VL_STRINGOP_H */
    00040 #endif