Gitweb links:

...log 
http://git.netsurf-browser.org/libwapcaplet.git/shortlog/45e8eec9340f6780313346862da0d75f4a968f86
...commit 
http://git.netsurf-browser.org/libwapcaplet.git/commit/45e8eec9340f6780313346862da0d75f4a968f86
...tree 
http://git.netsurf-browser.org/libwapcaplet.git/tree/45e8eec9340f6780313346862da0d75f4a968f86

The branch, master has been updated
       via  45e8eec9340f6780313346862da0d75f4a968f86 (commit)
       via  51be9fc60be50ff65e6d39ac52329943ba3f5077 (commit)
      from  894913a852ba3a435a6267d8be4737262b88c61b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/libwapcaplet.git/commit/?id=45e8eec9340f6780313346862da0d75f4a968f86
commit 45e8eec9340f6780313346862da0d75f4a968f86
Merge: 894913a 51be9fc
Author: Michael Drake <t...@netsurf-browser.org>
Commit: Michael Drake <t...@netsurf-browser.org>

    Merge branch 'tlsa/insensitive_hash'



-----------------------------------------------------------------------

Summary of changes:
 include/libwapcaplet/libwapcaplet.h |   24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/include/libwapcaplet/libwapcaplet.h 
b/include/libwapcaplet/libwapcaplet.h
index c0e8c29..29cd47e 100644
--- a/include/libwapcaplet/libwapcaplet.h
+++ b/include/libwapcaplet/libwapcaplet.h
@@ -252,6 +252,30 @@ lwc__intern_caseless_string(lwc_string *str);
 #define lwc_string_hash_value(str) ({assert(str != NULL); (str)->hash;})
 
 /**
+ * Retrieve a hash value for the caseless content of the string.
+ *
+ * @param str   The string to get caseless hash value for.
+ * @param hash  A pointer to a hash value to be filled out with the result.
+ * @return Result of operation, if not ok then value pointed to by \a ret will
+ *      not be valid.
+ */
+/*
+static inline lwc_error lwc_string_caseless_hash_value(
+       lwc_string *str, lwc_hash *hash)
+{
+       if (str->insensitive == NULL) {
+               lwc_error err = lwc__intern_caseless_string(str);
+               if (err != lwc_error_ok) {
+                       return err;
+               }
+       }
+
+       *hash = str->insensitive->hash;
+       return lwc_error_ok;
+}
+*/
+
+/**
  * Iterate the context and return every string in it.
  *
  * @param cb The callback to give the string to.


-- 
String internment library

_______________________________________________
netsurf-commits mailing list
netsurf-commits@netsurf-browser.org
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to