Skip to content

Commit 183cd8a

Browse files
jufajardinijasonish
authored andcommitted
output/eve: fix typos
To accompany documentation work done in Task OISF#4708 (cherry picked from commit 6b75b93)
1 parent 8eb349e commit 183cd8a

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/output-eve.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ typedef uint32_t ThreadId;
4949
* - Init: called once for each EVE instance using this filetype
5050
* - ThreadInit: called once for each output thread
5151
* - Write: called for each log record
52-
* - ThreadInit: called once for each output thread on exit
52+
* - ThreadDeinit: called once for each output thread on exit
5353
* - Deinit: called once for each EVE instance using this filetype on exit
5454
*
5555
* Examples:
@@ -114,7 +114,7 @@ typedef struct SCEveFileType_ {
114114
*
115115
* \param thread_id A unique ID to differentiate this thread from
116116
* others. If EVE is not in threaded mode this will be called
117-
* one with a ThreadId of 0. In threaded mode the ThreadId of
117+
* once with a ThreadId of 0. In threaded mode the ThreadId of
118118
* 0 correlates to the main Suricata thread.
119119
*
120120
* \param thread_data Output pointer for any data required by this
@@ -179,7 +179,7 @@ SCEveFileType *SCEveFindFileType(const char *name);
179179
* The function type for callbacks registered with
180180
* SCEveRegisterCallback. This function will be called with the
181181
* SCJsonBuilder just prior to the top-level object being closed. New
182-
* fields maybe added, however there is no way to alter existing
182+
* fields may be added, however, there is no way to alter existing
183183
* objects already added to the SCJsonBuilder.
184184
*
185185
* \param tv The ThreadVars for the thread performing the logging.
@@ -196,9 +196,9 @@ typedef void (*SCEveUserCallbackFn)(
196196
* is called just before the root object on the SCJsonBuilder is to be
197197
* closed.
198198
*
199-
* New objects and fields can be append, but exist entries cannot be modified.
199+
* New objects and fields can be appended, but existing entries cannot be modified.
200200
*
201-
* Packet and Flow will be provided if available, but will other be
201+
* Packet and Flow will be provided if available, but will otherwise be
202202
* NULL.
203203
*
204204
* Limitations: At this time the callbacks will only be called for EVE

0 commit comments

Comments
 (0)