From: Christian Grothoff Date: Fri, 22 Jun 2012 11:17:16 +0000 (+0000) Subject: -notes for regex api X-Git-Tag: initial-import-from-subversion-38251~12885 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1acf88bc634b8317d53c8675702e586c7d80724b;p=oweals%2Fgnunet.git -notes for regex api --- diff --git a/src/include/gnunet_regex_lib.h b/src/include/gnunet_regex_lib.h index c9b884291..22d9a36f6 100644 --- a/src/include/gnunet_regex_lib.h +++ b/src/include/gnunet_regex_lib.h @@ -48,7 +48,7 @@ struct GNUNET_REGEX_Automaton; struct GNUNET_REGEX_Edge { /** - * Label of the edge. + * Label of the edge. FIXME: might want to not consume exactly multiples of 8 bits, need length? */ const char *label; @@ -132,8 +132,8 @@ GNUNET_REGEX_get_computed_regex (struct GNUNET_REGEX_Automaton *a); * @return number of bits of 'input_string' that have been consumed * to construct the key */ -unsigned int -GNUNET_REGEX_get_first_key (const char *input_string, unsigned int string_len, +unsigned int /* FIXME: size_t */ +GNUNET_REGEX_get_first_key (const char *input_string, /* FIXME: size_t */ unsigned int string_len, struct GNUNET_HashCode * key); /**