Skip to content

Commit

Permalink
Add file inspection callback stability disclaimer to libclamav header
Browse files Browse the repository at this point in the history
  • Loading branch information
micahsnyder committed Oct 25, 2022
1 parent 56873b1 commit 679993a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion libclamav/clamav.h
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,10 @@ extern void cl_engine_set_clcb_pre_cache(struct cl_engine *engine, clcb_pre_cach
#define LAYER_ATTRIBUTES_DECRYPTED 0x2 /** Decryption was used to extract this layer. I.e. had to decrypt some previous layer. */

/**
* @brief Pre-scan callback.
* @brief File inspection callback.
*
* DISCLAIMER: This interface is to be considered unstable while we continue to evaluate it.
* We may change this interface in the future.
*
* Called for each NEW file (inner and outer).
* Provides capability to record embedded file information during a scan.
Expand All @@ -522,6 +525,9 @@ typedef cl_error_t (*clcb_file_inspection)(int fd, const char *type, const char
/**
* @brief Set a custom file inspection callback function.
*
* DISCLAIMER: This interface is to be considered unstable while we continue to evaluate it.
* We may change this interface in the future.
*
* Caution: changing options for an engine that is in-use is not thread-safe!
*
* @param engine The initialized scanning engine.
Expand Down

0 comments on commit 679993a

Please sign in to comment.