summaryrefslogtreecommitdiff
path: root/src/regex/regex_ipc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex/regex_ipc.h')
-rw-r--r--src/regex/regex_ipc.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/regex/regex_ipc.h b/src/regex/regex_ipc.h
index 11c570178..5106ead24 100644
--- a/src/regex/regex_ipc.h
+++ b/src/regex/regex_ipc.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 * @file regex/regex_ipc.h 21 * @file regex/regex_ipc.h
22 * @brief regex IPC messages (not called 'regex.h' due to conflict with 22 * @brief regex IPC messages (not called 'regex.h' due to conflict with
@@ -31,9 +31,7 @@
31/** 31/**
32 * Request for regex service to announce capability. 32 * Request for regex service to announce capability.
33 */ 33 */
34struct AnnounceMessage 34struct AnnounceMessage {
35{
36
37 /** 35 /**
38 * Type is GNUNET_MESSAGE_TYPE_REGEX_ANNOUNCE 36 * Type is GNUNET_MESSAGE_TYPE_REGEX_ANNOUNCE
39 */ 37 */
@@ -61,23 +59,20 @@ struct AnnounceMessage
61/** 59/**
62 * Message to initiate regex search. 60 * Message to initiate regex search.
63 */ 61 */
64struct RegexSearchMessage 62struct RegexSearchMessage {
65{
66 /** 63 /**
67 * Type is GNUNET_MESSAGE_TYPE_REGEX_SEARCH 64 * Type is GNUNET_MESSAGE_TYPE_REGEX_SEARCH
68 */ 65 */
69 struct GNUNET_MessageHeader header; 66 struct GNUNET_MessageHeader header;
70 67
71 /* followed by 0-terminated search string */ 68 /* followed by 0-terminated search string */
72
73}; 69};
74 70
75 71
76/** 72/**
77 * Result from regex search. 73 * Result from regex search.
78 */ 74 */
79struct ResultMessage 75struct ResultMessage {
80{
81 /** 76 /**
82 * Type is GNUNET_MESSAGE_TYPE_REGEX_RESULT 77 * Type is GNUNET_MESSAGE_TYPE_REGEX_RESULT
83 */ 78 */
@@ -99,7 +94,6 @@ struct ResultMessage
99 struct GNUNET_PeerIdentity id; 94 struct GNUNET_PeerIdentity id;
100 95
101 /* followed by GET path and PUT path arrays */ 96 /* followed by GET path and PUT path arrays */
102
103}; 97};
104 98
105 99