File: magic.h

package info (click to toggle)
zgv 3.0-4
  • links: PTS
  • area: main
  • in suites: slink
  • size: 680 kB
  • ctags: 616
  • sloc: ansic: 6,696; makefile: 109; sh: 23
file content (19 lines) | stat: -rw-r--r-- 433 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Zgv v2.7 - GIF, JPEG and PBM/PGM/PPM viewer, for VGA PCs running Linux.
 * Copyright (C) 1993-1995 Russell Marks. See README for license details.
 *
 * magic.h
 */

#define _IS_GIF			1
#define _IS_JPEG		2
#define _IS_PNM			3
#define _IS_BMP			4
#define _IS_TGA			5
#define _IS_PNG			6
#define _IS_PCX			7
#define _IS_NGM			8
#define _IS_XVPIC		9
#define _IS_MRF			10
#define _IS_BAD		 	99

extern int magic_ident(char *filename);