"Fossies" - the Fresh Open Source Software Archive

Member "tor-0.4.1.6/src/lib/smartlist_core/smartlist_split.h" (10 Jun 2019, 610 Bytes) of package /linux/misc/tor-0.4.1.6.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 "smartlist_split.h" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 0.4.0.5_vs_0.4.1.5.

    1 /* Copyright (c) 2003-2004, Roger Dingledine
    2  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
    3  * Copyright (c) 2007-2019, The Tor Project, Inc. */
    4 /* See LICENSE for licensing information */
    5 
    6 /**
    7  * \file smartlist_split.h
    8  * \brief Header for smartlist_split.c
    9  **/
   10 
   11 #ifndef TOR_SMARTLIST_SPLIT_H
   12 #define TOR_SMARTLIST_SPLIT_H
   13 
   14 #define SPLIT_SKIP_SPACE   0x01
   15 #define SPLIT_IGNORE_BLANK 0x02
   16 #define SPLIT_STRIP_SPACE  0x04
   17 int smartlist_split_string(smartlist_t *sl, const char *str, const char *sep,
   18                            int flags, int max);
   19 
   20 #endif /* !defined(TOR_SMARTLIST_SPLIT_H) */