aboutsummaryrefslogtreecommitdiff
path: root/src/regex/gnunet-regex-profiler.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-06-20 08:32:50 +0000
committerChristian Grothoff <christian@grothoff.org>2013-06-20 08:32:50 +0000
commit21a2b4f95b4488645ba5a6254fcb8919c4915f73 (patch)
tree00c92cb7103cc14fba7e63e8dee99fe711856863 /src/regex/gnunet-regex-profiler.c
parent5533b105943b4f6dd688c1758350cd83ebeab3b9 (diff)
downloadgnunet-21a2b4f95b4488645ba5a6254fcb8919c4915f73.tar.gz
gnunet-21a2b4f95b4488645ba5a6254fcb8919c4915f73.zip
continuing refactoring of regex library structure, disambiguating symbol names between old regex library which is now internal and the public API; moving IP-to-regex conversion functions to tun library, as only vpn is using those to begin with
Diffstat (limited to 'src/regex/gnunet-regex-profiler.c')
-rw-r--r--src/regex/gnunet-regex-profiler.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/regex/gnunet-regex-profiler.c b/src/regex/gnunet-regex-profiler.c
index 83395aad1..e6f35a6f4 100644
--- a/src/regex/gnunet-regex-profiler.c
+++ b/src/regex/gnunet-regex-profiler.c
@@ -31,7 +31,7 @@
31#include "platform.h" 31#include "platform.h"
32#include "gnunet_applications.h" 32#include "gnunet_applications.h"
33#include "gnunet_util_lib.h" 33#include "gnunet_util_lib.h"
34#include "gnunet_regex_lib.h" 34#include "regex_internal_lib.h"
35#include "gnunet_arm_service.h" 35#include "gnunet_arm_service.h"
36#include "gnunet_dht_service.h" 36#include "gnunet_dht_service.h"
37#include "gnunet_testbed_service.h" 37#include "gnunet_testbed_service.h"
@@ -150,7 +150,7 @@ struct RegexPeer
150 /** 150 /**
151 * Handle to a running regex search. 151 * Handle to a running regex search.
152 */ 152 */
153 struct GNUNET_REGEX_search_handle *search_handle; 153 struct REGEX_ITERNAL_Search *search_handle;
154 154
155 /** 155 /**
156 * Testbed operation handle for DHT. 156 * Testbed operation handle for DHT.
@@ -702,7 +702,7 @@ find_string (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc);
702 * Method called when we've found a peer that announced a regex 702 * Method called when we've found a peer that announced a regex
703 * that matches our search string. Now get the statistics. 703 * that matches our search string. Now get the statistics.
704 * 704 *
705 * @param cls Closure provided in GNUNET_REGEX_search. 705 * @param cls Closure provided in REGEX_ITERNAL_search.
706 * @param id Peer providing a regex that matches the string. 706 * @param id Peer providing a regex that matches the string.
707 * @param get_path Path of the get request. 707 * @param get_path Path of the get request.
708 * @param get_path_length Lenght of get_path. 708 * @param get_path_length Lenght of get_path.
@@ -1039,7 +1039,7 @@ dht_connect_cb (void *cls, struct GNUNET_TESTBED_Operation *op,
1039 GNUNET_assert (peer->dht_handle == ca_result); 1039 GNUNET_assert (peer->dht_handle == ca_result);
1040 1040
1041 peer->search_str_matched = GNUNET_NO; 1041 peer->search_str_matched = GNUNET_NO;
1042 peer->search_handle = GNUNET_REGEX_search (peer->dht_handle, 1042 peer->search_handle = REGEX_ITERNAL_search (peer->dht_handle,
1043 peer->search_str, 1043 peer->search_str,
1044 &regex_found_handler, peer, 1044 &regex_found_handler, peer,
1045 NULL); 1045 NULL);
@@ -1081,7 +1081,7 @@ dht_da (void *cls, void *op_result)
1081 1081
1082 if (NULL != peer->search_handle) 1082 if (NULL != peer->search_handle)
1083 { 1083 {
1084 GNUNET_REGEX_search_cancel (peer->search_handle); 1084 REGEX_ITERNAL_search_cancel (peer->search_handle);
1085 peer->search_handle = NULL; 1085 peer->search_handle = NULL;
1086 } 1086 }
1087 1087