ssplit.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #ifndef SSPLIT_H_INCLUDED
  2. #define SSPLIT_H_INCLUDED
  3. /*********************************************************************
  4. *
  5. * File : $Source: /cvsroot/ijbswa/current/ssplit.h,v $
  6. *
  7. * Purpose : A function to split a string at specified deliminters.
  8. *
  9. * Copyright : Written by and Copyright (C) 2001 members of the
  10. * Privoxy team. https://www.privoxy.org/
  11. *
  12. * Based on the Internet Junkbuster originally written
  13. * by and Copyright (C) 1997 Anonymous Coders and
  14. * Junkbusters Corporation. http://www.junkbusters.com
  15. *
  16. * This program is free software; you can redistribute it
  17. * and/or modify it under the terms of the GNU General
  18. * Public License as published by the Free Software
  19. * Foundation; either version 2 of the License, or (at
  20. * your option) any later version.
  21. *
  22. * This program is distributed in the hope that it will
  23. * be useful, but WITHOUT ANY WARRANTY; without even the
  24. * implied warranty of MERCHANTABILITY or FITNESS FOR A
  25. * PARTICULAR PURPOSE. See the GNU General Public
  26. * License for more details.
  27. *
  28. * The GNU General Public License should be included with
  29. * this file. If not, you can view it at
  30. * http://www.gnu.org/copyleft/gpl.html
  31. * or write to the Free Software Foundation, Inc., 59
  32. * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  33. *
  34. *********************************************************************/
  35. extern int ssplit(char *str, const char *delim, char *vec[], size_t vec_len);
  36. #endif /* ndef SSPLIT_H_INCLUDED */
  37. /*
  38. Local Variables:
  39. tab-width: 3
  40. end:
  41. */