diff options
author | Andrew Sidwell <andy@entai.co.uk> | 2008-06-26 09:19:59 +0000 |
---|---|---|
committer | Andrew Sidwell <andy@entai.co.uk> | 2008-06-26 09:19:59 +0000 |
commit | 9acb291f49419a1ebe0235f6622ef4e2976f9f33 (patch) | |
tree | 17160c35fa7c0edb0f335cadb231a0268a779d2a /src/utils/string.h | |
parent | 968646860abb10e7db6dc810fc13cb9d41ba3237 (diff) | |
download | libhubbub-9acb291f49419a1ebe0235f6622ef4e2976f9f33.tar.gz libhubbub-9acb291f49419a1ebe0235f6622ef4e2976f9f33.tar.bz2 |
Add code to adjust foreign attributes, as per spec.
svn path=/trunk/hubbub/; revision=4454
Diffstat (limited to 'src/utils/string.h')
-rw-r--r-- | src/utils/string.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/utils/string.h b/src/utils/string.h new file mode 100644 index 0000000..d6bfe42 --- /dev/null +++ b/src/utils/string.h @@ -0,0 +1,16 @@ +/* + * This file is part of Hubbub. + * Licensed under the MIT License, + * http://www.opensource.org/licenses/mit-license.php + * Copyright 2008 Andrew Sidwell + */ + +#ifndef hubbub_string_h_ +#define hubbub_string_h_ + +bool hubbub_string_starts(const uint8_t *a, size_t a_len, + const uint8_t *b, size_t b_len); +bool hubbub_string_match(const uint8_t *a, size_t a_len, + const uint8_t *b, size_t b_len); + +#endif |