Changeset 97
- Timestamp:
- 02/04/06 23:24:13 (3 years ago)
- Files:
-
- fastphoto/trunk/src/Makefile.am (modified) (1 diff)
- fastphoto/trunk/src/cgi.c (added)
- fastphoto/trunk/src/cgi.h (added)
- fastphoto/trunk/src/fastphoto.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
fastphoto/trunk/src/Makefile.am
r96 r97 6 6 bin_PROGRAMS = fastphoto 7 7 8 noinst_HEADERS = resize.h8 noinst_HEADERS = cgi.h resize.h 9 9 10 fastphoto_SOURCES = fastphoto.c resize.c10 fastphoto_SOURCES = fastphoto.c cgi.c resize.c 11 11 fastphoto_LDADD = $(EPEG_LIBS) fastphoto/trunk/src/fastphoto.c
r96 r97 2 2 #include <stdlib.h> 3 3 4 #include "cgi.h" 4 5 #include "resize.h" 5 6 6 7 #define CONTENT_TYPE_JPEG "Content-Type: image/jpeg\n\n" 7 8 int9 content_type_jpeg ()10 {11 return puts (CONTENT_TYPE_JPEG);12 }13 14 int15 blat (char * filename)16 {17 }18 8 19 9 int … … 31 21 resize (infile, outfile, 128, 128); 32 22 33 blat (outfile);34 35 23 return 0; 36 24 }
