File: magic.h

package info (click to toggle)
dsniff 2.4b1%2Bdebian-22
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,808 kB
  • sloc: ansic: 10,785; sh: 152; makefile: 116
file content (18 lines) | stat: -rw-r--r-- 339 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * magic.h
 *
 * Network application protocol identification, based on file(1) magic.
 *
 * Copyright (c) 2000 Dug Song <dugsong@monkey.org>
 *
 * $Id: magic.h,v 1.3 2001/03/15 08:33:06 dugsong Exp $
 */

#ifndef MAGIC_H
#define MAGIC_H

void	 magic_init(char *filename);

char	*magic_match(u_char *buf, int len);

#endif /* MAGIC_H */