mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 09:08:20 +00:00
Move file analyzers to new plugin infrastructure.
This commit is contained in:
parent
f2574636b6
commit
7c7b6214a6
41 changed files with 559 additions and 172 deletions
|
@ -383,4 +383,12 @@ extern magic_t magic_mime_cookie;
|
|||
void bro_init_magic(magic_t* cookie_ptr, int flags);
|
||||
const char* bro_magic_buffer(magic_t cookie, const void* buffer, size_t length);
|
||||
|
||||
/**
|
||||
* Canonicalizes a name by converting it to uppercase letters and replacing
|
||||
* all non-alphanumeric characters with an underscore.
|
||||
* @param name The string to canonicalize.
|
||||
* @return The canonicalized version of \a name which caller may later delete[].
|
||||
*/
|
||||
const char* canonify_name(const char* name);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue