"Fossies" - the Fresh Open Source Software Archive

Member "detox-1.4.5/src/clean_string.h" (15 Aug 2021, 1162 Bytes) of package /linux/privat/detox-1.4.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "clean_string.h" see the Fossies "Dox" file reference documentation.

    1 /**
    2  * This file is part of the Detox package.
    3  *
    4  * Copyright (c) Doug Harple <detox.dharple@gmail.com>
    5  *
    6  * For the full copyright and license information, please view the LICENSE
    7  * file that was distributed with this source code.
    8  */
    9 
   10 #ifndef __CLEAN_STRING_H
   11 #define __CLEAN_STRING_H
   12 
   13 struct clean_string_options {
   14     char *filename;
   15     int remove_trailing;
   16     size_t max_length;
   17 
   18     void *misc;
   19     void *translation_table;
   20 };
   21 
   22 extern unsigned char *clean_iso8859_1_basic(unsigned char *s, void *options);
   23 extern unsigned char *clean_iso8859_1(unsigned char *s, void *options);
   24 extern unsigned char *clean_safe_basic(unsigned char *s, void *options);
   25 extern unsigned char *clean_safe(unsigned char *s, void *options);
   26 extern unsigned char *clean_uncgi(unsigned char *s, void *options);
   27 extern unsigned char *clean_wipeup(unsigned char *s, void *options);
   28 extern unsigned char *clean_utf_8_basic(unsigned char *s, void *options);
   29 extern unsigned char *clean_utf_8(unsigned char *s, void *options);
   30 extern unsigned char *clean_max_length(unsigned char *s, void *opts);
   31 extern unsigned char *clean_lower(unsigned char *s, void *opts);
   32 
   33 #endif              /* __CLEAN_STRING_H */