File: a12scan.h

package info (click to toggle)
photopc 3.05-5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 648 kB
  • ctags: 678
  • sloc: ansic: 6,242; sh: 330; makefile: 211
file content (56 lines) | stat: -rw-r--r-- 1,363 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
	$Id: a12scan.h,v 2.3 1999/03/10 22:34:43 crosser Exp $
*/

/*
	Copyright (c) 1997,1998 Eugene G. Crosser
	Copyright (c) 1998 Bruce D. Lightner (DOS/Windows support)

	You may distribute and/or use for any purpose modified or unmodified
	copies of this software if you preserve the copyright notice above.

	THIS SOFTWARE IS PROVIDED AS IS AND COME WITH NO WARRANTY OF ANY
	KIND, EITHER EXPRESSED OR IMPLIED.  IN NO EVENT WILL THE
	COPYRIGHT HOLDER BE LIABLE FOR ANY DAMAGES RESULTING FROM THE
	USE OF THIS SOFTWARE.
*/

/*
	$Log: a12scan.h,v $
	Revision 2.3  1999/03/10 22:34:43  crosser
	make app12 and exif scanning in different files

	Revision 2.2  1999/02/28 22:40:48  crosser
	Support Exif file format

	Revision 2.1  1998/10/18 13:18:27  crosser
	Put RCS logs and I.D. into the source

	Revision 2.0  1998/02/13 23:01:13  crosser
	define type off_t for DOS
	
	Revision 1.3  1998/02/08 19:58:38  crosser
	Support low memory: chunked saving etc.
	
	Revision 1.2  1998/01/18 02:16:45  crosser
	DOS support
	
	Revision 1.1  1997/08/17 08:59:54  crosser
	Initial revision
	
*/

#ifndef _A12SCAN_H
#define _A12SCAN_H

#define MAXJPREFIX 8192L

#ifdef DOS
typedef long off_t;
#endif

int a12scan(unsigned char **buf,off_t *bufsize);
unsigned char *a12search(char *key,unsigned char *buf,off_t bufsize);
void a12dump(unsigned char *buf,off_t bufsize);

#endif