Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * This file is part of Hubbub.
  3.  * Licensed under the MIT License,
  4.  *                http://www.opensource.org/licenses/mit-license.php
  5.  * Copyright 2008 Andrew Sidwell
  6.  */
  7.  
  8. #ifndef hubbub_string_h_
  9. #define hubbub_string_h_
  10.  
  11. /** Match two strings case-sensitively */
  12. bool hubbub_string_match(const uint8_t *a, size_t a_len,
  13.                 const uint8_t *b, size_t b_len);
  14.  
  15. /** Match two strings case-insensitively */
  16. bool hubbub_string_match_ci(const uint8_t *a, size_t a_len,
  17.                 const uint8_t *b, size_t b_len);
  18.  
  19. #endif
  20.