aboutsummaryrefslogtreecommitdiff
path: root/src/regex/gnunet-service-regex.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-06-20 09:02:43 +0000
committerChristian Grothoff <christian@grothoff.org>2013-06-20 09:02:43 +0000
commit566b7539fcaf9c455da665cb641016d2cfbb1b47 (patch)
treeeb12baa08d99313d6da7eb8c1be17c5e447f1586 /src/regex/gnunet-service-regex.c
parentde9409f80dbfc5cc61a28316b271600e9da95cdc (diff)
downloadgnunet-566b7539fcaf9c455da665cb641016d2cfbb1b47.tar.gz
gnunet-566b7539fcaf9c455da665cb641016d2cfbb1b47.zip
renaming symbols from libgnunetregextest to have the prefix REGEX_TEST
Diffstat (limited to 'src/regex/gnunet-service-regex.c')
-rw-r--r--src/regex/gnunet-service-regex.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/regex/gnunet-service-regex.c b/src/regex/gnunet-service-regex.c
index f0a39a361..697b04a36 100644
--- a/src/regex/gnunet-service-regex.c
+++ b/src/regex/gnunet-service-regex.c
@@ -54,12 +54,12 @@ struct ClientEntry
54 /** 54 /**
55 * Search handle (if this client is searching). 55 * Search handle (if this client is searching).
56 */ 56 */
57 struct REGEX_ITERNAL_Search *sh; 57 struct REGEX_INTERNAL_Search *sh;
58 58
59 /** 59 /**
60 * Announcement handle (if this client is announcing). 60 * Announcement handle (if this client is announcing).
61 */ 61 */
62 struct REGEX_ITERNAL_Announcement *ah; 62 struct REGEX_INTERNAL_Announcement *ah;
63 63
64 /** 64 /**
65 * Refresh frequency for announcements. 65 * Refresh frequency for announcements.
@@ -143,12 +143,12 @@ handle_client_disconnect (void *cls, struct GNUNET_SERVER_Client *client)
143 } 143 }
144 if (NULL != ce->ah) 144 if (NULL != ce->ah)
145 { 145 {
146 REGEX_ITERNAL_announce_cancel (ce->ah); 146 REGEX_INTERNAL_announce_cancel (ce->ah);
147 ce->ah = NULL; 147 ce->ah = NULL;
148 } 148 }
149 if (NULL != ce->sh) 149 if (NULL != ce->sh)
150 { 150 {
151 REGEX_ITERNAL_search_cancel (ce->sh); 151 REGEX_INTERNAL_search_cancel (ce->sh);
152 ce->sh = NULL; 152 ce->sh = NULL;
153 } 153 }
154 GNUNET_CONTAINER_DLL_remove (client_head, client_tail, ce); 154 GNUNET_CONTAINER_DLL_remove (client_head, client_tail, ce);
@@ -171,7 +171,7 @@ reannounce (void *cls,
171{ 171{
172 struct ClientEntry *ce = cls; 172 struct ClientEntry *ce = cls;
173 173
174 REGEX_ITERNAL_reannounce (ce->ah); 174 REGEX_INTERNAL_reannounce (ce->ah);
175 ce->refresh_task = GNUNET_SCHEDULER_add_delayed (ce->frequency, 175 ce->refresh_task = GNUNET_SCHEDULER_add_delayed (ce->frequency,
176 &reannounce, 176 &reannounce,
177 ce); 177 ce);
@@ -207,7 +207,7 @@ handle_announce (void *cls,
207 } 207 }
208 ce = GNUNET_new (struct ClientEntry); 208 ce = GNUNET_new (struct ClientEntry);
209 ce->client = client; 209 ce->client = client;
210 ce->ah = REGEX_ITERNAL_announce (dht, 210 ce->ah = REGEX_INTERNAL_announce (dht,
211 &am->pid, 211 &am->pid,
212 regex, 212 regex,
213 ntohs (am->compression), 213 ntohs (am->compression),
@@ -311,7 +311,7 @@ handle_search (void *cls,
311 } 311 }
312 ce = GNUNET_new (struct ClientEntry); 312 ce = GNUNET_new (struct ClientEntry);
313 ce->client = client; 313 ce->client = client;
314 ce->sh = REGEX_ITERNAL_search (dht, 314 ce->sh = REGEX_INTERNAL_search (dht,
315 string, 315 string,
316 &handle_search_result, 316 &handle_search_result,
317 ce, 317 ce,