gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r27627 - gnunet/src/regex


From: gnunet
Subject: [GNUnet-SVN] r27627 - gnunet/src/regex
Date: Wed, 26 Jun 2013 14:16:38 +0200

Author: grothoff
Date: 2013-06-26 14:16:38 +0200 (Wed, 26 Jun 2013)
New Revision: 27627

Modified:
   gnunet/src/regex/regex_block_lib.c
   gnunet/src/regex/regex_block_lib.h
   gnunet/src/regex/test_regex_iterate_api.c
Log:
-renaming symbols of the block library to use the REGEX_BLOCK_ prefix and not 
the REGEX_INTERNAL_ prefix

Modified: gnunet/src/regex/regex_block_lib.c
===================================================================
--- gnunet/src/regex/regex_block_lib.c  2013-06-26 12:16:12 UTC (rev 27626)
+++ gnunet/src/regex/regex_block_lib.c  2013-06-26 12:16:38 UTC (rev 27627)
@@ -39,7 +39,7 @@
  * @return GNUNET_OK if the proof is valid for the given key.
  */
 int
-REGEX_INTERNAL_check_proof (const char *proof,
+REGEX_BLOCK_check_proof (const char *proof,
                            size_t proof_len,
                            const struct GNUNET_HashCode *key)
 {
@@ -140,7 +140,7 @@
     GNUNET_break_op (0);
     return GNUNET_SYSERR;
   }
-  if (GNUNET_OK != REGEX_INTERNAL_check_proof ((const char *) &block[1], len, 
&block->key))
+  if (GNUNET_OK != REGEX_BLOCK_check_proof ((const char *) &block[1], len, 
&block->key))
   {
     GNUNET_break_op (0);
     return GNUNET_SYSERR;

Modified: gnunet/src/regex/regex_block_lib.h
===================================================================
--- gnunet/src/regex/regex_block_lib.h  2013-06-26 12:16:12 UTC (rev 27626)
+++ gnunet/src/regex/regex_block_lib.h  2013-06-26 12:16:38 UTC (rev 27627)
@@ -67,7 +67,7 @@
  * @return GNUNET_OK if the proof is valid for the given key.
  */
 int
-REGEX_INTERNAL_check_proof (const char *proof,
+REGEX_BLOCK_check_proof (const char *proof,
                            size_t proof_len,
                            const struct GNUNET_HashCode *key);
 

Modified: gnunet/src/regex/test_regex_iterate_api.c
===================================================================
--- gnunet/src/regex/test_regex_iterate_api.c   2013-06-26 12:16:12 UTC (rev 
27626)
+++ gnunet/src/regex/test_regex_iterate_api.c   2013-06-26 12:16:38 UTC (rev 
27627)
@@ -103,7 +103,7 @@
       ctx->match_count++;
   }
 
-  if (GNUNET_OK != REGEX_INTERNAL_check_proof (proof, strlen (proof), key))
+  if (GNUNET_OK != REGEX_BLOCK_check_proof (proof, strlen (proof), key))
   {
     ctx->error++;
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]