summaryrefslogtreecommitdiff
path: root/src/include/gnunet_regex_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_regex_service.h')
-rw-r--r--src/include/gnunet_regex_service.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/include/gnunet_regex_service.h b/src/include/gnunet_regex_service.h
index 4976adc6a..19cead5d4 100644
--- a/src/include/gnunet_regex_service.h
+++ b/src/include/gnunet_regex_service.h
@@ -11,12 +11,12 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20/** 20/**
21 * @author Maximilian Szengel 21 * @author Maximilian Szengel
22 * @author Christian Grothoff 22 * @author Christian Grothoff
@@ -77,10 +77,10 @@ struct GNUNET_REGEX_Search;
77 * Must be freed by calling #GNUNET_REGEX_announce_cancel. 77 * Must be freed by calling #GNUNET_REGEX_announce_cancel.
78 */ 78 */
79struct GNUNET_REGEX_Announcement * 79struct GNUNET_REGEX_Announcement *
80GNUNET_REGEX_announce (const struct GNUNET_CONFIGURATION_Handle *cfg, 80GNUNET_REGEX_announce(const struct GNUNET_CONFIGURATION_Handle *cfg,
81 const char *regex, 81 const char *regex,
82 struct GNUNET_TIME_Relative refresh_delay, 82 struct GNUNET_TIME_Relative refresh_delay,
83 uint16_t compression); 83 uint16_t compression);
84 84
85 85
86/** 86/**
@@ -89,7 +89,7 @@ GNUNET_REGEX_announce (const struct GNUNET_CONFIGURATION_Handle *cfg,
89 * @param a handle returned by a previous #GNUNET_REGEX_announce call. 89 * @param a handle returned by a previous #GNUNET_REGEX_announce call.
90 */ 90 */
91void 91void
92GNUNET_REGEX_announce_cancel (struct GNUNET_REGEX_Announcement *a); 92GNUNET_REGEX_announce_cancel(struct GNUNET_REGEX_Announcement *a);
93 93
94 94
95/** 95/**
@@ -124,10 +124,10 @@ typedef void
124 * Must be freed by calling #GNUNET_REGEX_search_cancel. 124 * Must be freed by calling #GNUNET_REGEX_search_cancel.
125 */ 125 */
126struct GNUNET_REGEX_Search * 126struct GNUNET_REGEX_Search *
127GNUNET_REGEX_search (const struct GNUNET_CONFIGURATION_Handle *cfg, 127GNUNET_REGEX_search(const struct GNUNET_CONFIGURATION_Handle *cfg,
128 const char *string, 128 const char *string,
129 GNUNET_REGEX_Found callback, 129 GNUNET_REGEX_Found callback,
130 void *callback_cls); 130 void *callback_cls);
131 131
132 132
133/** 133/**
@@ -136,7 +136,7 @@ GNUNET_REGEX_search (const struct GNUNET_CONFIGURATION_Handle *cfg,
136 * @param s Handle returned by a previous #GNUNET_REGEX_search call. 136 * @param s Handle returned by a previous #GNUNET_REGEX_search call.
137 */ 137 */
138void 138void
139GNUNET_REGEX_search_cancel (struct GNUNET_REGEX_Search *s); 139GNUNET_REGEX_search_cancel(struct GNUNET_REGEX_Search *s);
140 140
141 141
142#if 0 /* keep Emacsens' auto-indent happy */ 142#if 0 /* keep Emacsens' auto-indent happy */