tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

smartlist_split.h (610B)


      1 /* Copyright (c) 2003-2004, Roger Dingledine
      2 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
      3 * Copyright (c) 2007-2021, 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) */