dsniff  2.4b2
About: A collection of tools for network auditing
  Fossies Dox: dsniff-2.4b2.tar.gz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

magic.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


void magic_init (char *filename)
char * magic_match (u_char *buf, int len)

Function Documentation

◆ magic_init()

void magic_init ( char *  filename)

Definition at line 502 of file magic.c.

References err(), Magic, and magic_parse().

Referenced by trigger_init_magic().

◆ magic_match()

char* magic_match ( u_char *  buf,
int  len 

Definition at line 774 of file magic.c.

References ADD, magic::cont_level, err(), Magic, Magiccnt, Match, mcheck(), mget(), mprint(), and magic::offset.

Referenced by trigger_set_magic().