:tocdepth: 3

base/bif/file_analysis.bif.bro
==============================
.. bro:namespace:: Files
.. bro:namespace:: GLOBAL

Internal functions and types used by the file analysis framework.

:Namespaces: Files, GLOBAL
:Source File: :download:`/scripts/base/bif/file_analysis.bif.bro`

Summary
~~~~~~~
Functions
#########
============================================================= ===================================================================
:bro:id:`Files::__add_analyzer`: :bro:type:`function`         :bro:see:`Files::add_analyzer`.
:bro:id:`Files::__analyzer_name`: :bro:type:`function`        :bro:see:`Files::analyzer_name`.
:bro:id:`Files::__remove_analyzer`: :bro:type:`function`      :bro:see:`Files::remove_analyzer`.
:bro:id:`Files::__set_timeout_interval`: :bro:type:`function` :bro:see:`Files::set_timeout_interval`.
:bro:id:`Files::__stop`: :bro:type:`function`                 :bro:see:`Files::stop`.
:bro:id:`set_file_handle`: :bro:type:`function`               For use within a :bro:see:`get_file_handle` handler to set a unique
                                                              identifier to associate with the current input to the file analysis
                                                              framework.
============================================================= ===================================================================


Detailed Interface
~~~~~~~~~~~~~~~~~~
Functions
#########
.. bro:id:: Files::__add_analyzer

   :Type: :bro:type:`function` (file_id: :bro:type:`string`, tag: :bro:type:`Files::Tag`, args: :bro:type:`any`) : :bro:type:`bool`

   :bro:see:`Files::add_analyzer`.

.. bro:id:: Files::__analyzer_name

   :Type: :bro:type:`function` (tag: :bro:type:`Files::Tag`) : :bro:type:`string`

   :bro:see:`Files::analyzer_name`.

.. bro:id:: Files::__remove_analyzer

   :Type: :bro:type:`function` (file_id: :bro:type:`string`, tag: :bro:type:`Files::Tag`, args: :bro:type:`any`) : :bro:type:`bool`

   :bro:see:`Files::remove_analyzer`.

.. bro:id:: Files::__set_timeout_interval

   :Type: :bro:type:`function` (file_id: :bro:type:`string`, t: :bro:type:`interval`) : :bro:type:`bool`

   :bro:see:`Files::set_timeout_interval`.

.. bro:id:: Files::__stop

   :Type: :bro:type:`function` (file_id: :bro:type:`string`) : :bro:type:`bool`

   :bro:see:`Files::stop`.

.. bro:id:: set_file_handle

   :Type: :bro:type:`function` (handle: :bro:type:`string`) : :bro:type:`any`

   For use within a :bro:see:`get_file_handle` handler to set a unique
   identifier to associate with the current input to the file analysis
   framework.  Using an empty string for the handle signifies that the
   input will be ignored/discarded.
   

   :handle: A string that uniquely identifies a file.
   
   .. bro:see:: get_file_handle


