Spelling src

These are non-functional changes.

* accounting
* activation
* actual
* added
* addresult
* aggregable
* aligned
* alternatively
* ambiguous
* analysis
* analyzer
* anticlimactic
* apparently
* application
* appropriate
* arithmetic
* assignment
* assigns
* associated
* authentication
* authoritative
* barrier
* boundary
* broccoli
* buffering
* caching
* called
* canonicalized
* capturing
* certificates
* ciphersuite
* columns
* communication
* comparison
* comparisons
* compilation
* component
* concatenating
* concatenation
* connection
* convenience
* correctly
* corresponding
* could
* counting
* data
* declared
* decryption
* defining
* dependent
* deprecated
* detached
* dictionary
* directional
* directly
* directory
* discarding
* disconnecting
* distinguishes
* documentation
* elsewhere
* emitted
* empty
* endianness
* endpoint
* enumerator
* essentially
* evaluated
* everything
* exactly
* execute
* explicit
* expressions
* facilitates
* fiddling
* filesystem
* flag
* flagged
* for
* fragments
* guarantee
* guaranteed
* happen
* happening
* hemisphere
* identifier
* identifies
* identify
* implementation
* implemented
* implementing
* including
* inconsistency
* indeterminate
* indices
* individual
* information
* initial
* initialization
* initialize
* initialized
* initializes
* instantiate
* instantiated
* instantiates
* interface
* internal
* interpreted
* interpreter
* into
* it
* iterators
* length
* likely
* log
* longer
* mainly
* mark
* maximum
* message
* minimum
* module
* must
* name
* namespace
* necessary
* nonexistent
* not
* notifications
* notifier
* number
* objects
* occurred
* operations
* original
* otherwise
* output
* overridden
* override
* overriding
* overwriting
* ownership
* parameters
* particular
* payload
* persistent
* potential
* precision
* preexisting
* preservation
* preserved
* primarily
* probably
* procedure
* proceed
* process
* processed
* processes
* processing
* propagate
* propagated
* prototype
* provides
* publishing
* purposes
* queue
* reached
* reason
* reassem
* reassemble
* reassembler
* recommend
* record
* reduction
* reference
* regularly
* representation
* request
* reserved
* retrieve
* returning
* separate
* should
* shouldn't
* significant
* signing
* simplified
* simultaneously
* single
* somebody
* sources
* specific
* specification
* specified
* specifies
* specify
* statement
* subdirectories
* succeeded
* successful
* successfully
* supplied
* synchronization
* tag
* temporarily
* terminating
* that
* the
* transmitted
* true
* truncated
* try
* understand
* unescaped
* unforwarding
* unknown
* unknowndata
* unspecified
* update
* usually
* which
* wildcard

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2022-10-23 16:00:49 -04:00
parent d65c75e2ad
commit cd201aa24e
188 changed files with 432 additions and 432 deletions

View file

@ -49,7 +49,7 @@ public:
/**
* Constructor.
*
* @param type The type of the compoment.
* @param type The type of the component.
*
* @param name A descriptive name for the component. This name must
* be unique across all components of the same type.
@ -83,17 +83,17 @@ public:
virtual void Initialize() { }
/**
* Returns the compoment's type.
* Returns the component's type.
*/
component::Type Type() const { return type; }
/**
* Returns the compoment's name.
* Returns the component's name.
*/
const std::string& Name() const { return name; }
/**
* Returns a canonocalized version of the components's name. The
* Returns a canonicalized version of the components's name. The
* returned name is derived from what's passed to the constructor but
* upper-cased and transformed to allow being part of a script-level
* ID.

View file

@ -95,7 +95,7 @@ public:
*
* @param name A component's canonical name.
* @return The component's tag, or a tag representing an error if
* no such component assoicated with the name exists.
* no such component associated with the name exists.
*/
zeek::Tag GetComponentTag(const std::string& name) const;
@ -104,7 +104,7 @@ public:
*
* @param v A component's enum value.
* @return The component's tag, or a tag representing an error if
* no such component assoicated with the value exists.
* no such component associated with the value exists.
*/
zeek::Tag GetComponentTag(Val* v) const;
@ -308,7 +308,7 @@ void ComponentManager<C>::RegisterComponent(C* component, const std::string& pre
components_by_tag.insert(std::make_pair(component->Tag(), component));
components_by_val.insert(std::make_pair(component->Tag().AsVal()->InternalInt(), component));
// Install an identfier for enum value
// Install an identifier for enum value
std::string id = util::fmt("%s%s", prefix.c_str(), cname.c_str());
tag_enum_type->AddName(module, id.c_str(), component->Tag().AsVal()->InternalInt(), true,
nullptr);

View file

@ -87,7 +87,7 @@ void Manager::SearchDynamicPlugins(const std::string& dir)
searched_dirs.emplace(canon_path);
// Check if it's a plugin dirctory.
// Check if it's a plugin directory.
const std::string magic = dir + "/__bro_plugin__";
@ -121,7 +121,7 @@ void Manager::SearchDynamicPlugins(const std::string& dir)
return;
}
// No plugin here, traverse subirectories.
// No plugin here, traverse subdirectories.
DIR* d = opendir(dir.c_str());

View file

@ -155,7 +155,7 @@ public:
template <class T> std::list<T*> Components() const;
/**
* Returns the (dynamic) plugin associated with a given filesytem
* Returns the (dynamic) plugin associated with a given filesystem
* path. The path can be the plugin directory itself, or any path
* inside it.
*/
@ -208,7 +208,7 @@ public:
* for it. Normally a plugin receives events through HookQueueEvent()
* only if Zeek actually has code to execute for it. By calling this
* method, the plugin tells Zeek to raise the event even if there's no
* correspondong handler; it will then go into HookQueueEvent() just as
* corresponding handler; it will then go into HookQueueEvent() just as
* any other.
*
* @param handler The event being interested in.
@ -273,7 +273,7 @@ public:
* If the plugins takes over by returning 1, there are two cases: if the
* second tuple element remains unset, the plugin handled the loading
* completely internally; the caller must not process it any further.
* Alternatively, the plugin may optionally return the acutal content to
* Alternatively, the plugin may optionally return the actual content to
* use for the file as a string through the tuple's second element. If so,
* the caller must ignore the file on disk and use that provided content
* instead (including when there's actually no physical file in place on
@ -493,7 +493,7 @@ private:
using dynamic_plugin_map = std::map<std::string, std::string>;
dynamic_plugin_map dynamic_plugins;
// We temporarliy buffer scripts to load to get them to load in the
// We temporarily buffer scripts to load to get them to load in the
// right order.
using file_list = std::list<std::string>;
file_list scripts_to_load;

View file

@ -236,7 +236,7 @@ public:
BifItem(const BifItem& other);
/**
* Assigment operator.
* Assignment operator.
*/
BifItem& operator=(const BifItem& other);
@ -770,7 +770,7 @@ public:
/**
* Registers an individual BiF that the plugin defines. The
* information is for informational purpuses only and will show up in
* information is for informational purposes only and will show up in
* the result of BifItems() as well as in the Describe() output.
* Another way to add this information is via overriding
* CustomBifItems().
@ -778,7 +778,7 @@ public:
* Note that this method is rarely the right one to use. As it's for
* informational purposes only, the plugin still needs to register
* the BiF items themselves with the corresponding Zeek parts. Doing
* so can be tricky, and it's recommned to instead define BiF items
* so can be tricky, and it's recommend to instead define BiF items
* in separate *.bif files that the plugin then pulls in. If defined
* there, one does *not* need to call this method.
*
@ -888,7 +888,7 @@ protected:
* Registers interest in an event, even if there's no handler for it.
* Normally a plugin receives events through HookQueueEvent() only if Zeek
* actually has code to execute for it. By calling this method, the
* plugin tells Zeek to raise the event even if there's no correspondong
* plugin tells Zeek to raise the event even if there's no corresponding
* handler; it will then go into HookQueueEvent() just as any other.
*
* @param handler The event handler being interested in.
@ -970,11 +970,11 @@ protected:
* must be 1 if the plugin takes over loading the file (see below); 0 if
* the plugin wanted to take over the file but had trouble loading it
* (processing will abort in this case, and the plugin should have printed
* an error message); and -1 if the plugin wants Zeek to proceeed processing
* an error message); and -1 if the plugin wants Zeek to proceed processing
* the file normally. If the plugins takes over by returning 1, there are
* two cases: if the second tuple element remains unset, the plugin handled
* the loading completely internally; Zeek will not do anything further with
* it. Alternatively, the plugin may optionally return the acutal content
* it. Alternatively, the plugin may optionally return the actual content
* to use for the file as a string through the tuple's second element. If
* so, Zeek will ignore the file on disk and use that provided content
* instead (including when there's actually no physical file in place on
@ -1082,7 +1082,7 @@ protected:
* causes a log line to be written. It will _not_ be called on the logger
* node. The function will be called each for every instantiated writer.
*
* @param writer The name of the writer being insantiated.
* @param writer The name of the writer being instantiated.
*
* @param instantiating_filter Name of the filter causing the
* writer instantiation.
@ -1195,7 +1195,7 @@ private:
virtual Configuration Configure() = 0;
/**
* Intializes the plugin's internal configuration. Called by the
* Initializes the plugin's internal configuration. Called by the
* manager before anything else.
*/
void DoConfigure();