From 60ba196e8b82233b21bb23ec060662cf671f0aa1 Mon Sep 17 00:00:00 2001 From: Alexander Vdolainen Date: Sat, 1 Jul 2023 20:56:28 +0300 Subject: [PATCH] template for jpeg related ops has been added; --- include/exijpeg.h | 43 +++++++++++++++++++++++++++++++++++++++++++ src/exifdate.c | 2 ++ 2 files changed, 45 insertions(+) create mode 100644 include/exijpeg.h diff --git a/include/exijpeg.h b/include/exijpeg.h new file mode 100644 index 0000000..f216927 --- /dev/null +++ b/include/exijpeg.h @@ -0,0 +1,43 @@ +/* + * EXIF date tool + * + * (c) Alexander Vdolainen 2023 + * + * this is free software: you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published + * by the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * this is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see ."; + * + */ + +#ifndef __EXIJPEG_H__ +#define __EXIJPEG_H__ + +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include + +typedef struct __exijpeg_data_type { + unsigned char *data; + char *filename; + int fd; + +} exijpeg_data_t; + +#endif diff --git a/src/exifdate.c b/src/exifdate.c index b5f0990..235e827 100644 --- a/src/exifdate.c +++ b/src/exifdate.c @@ -30,6 +30,8 @@ #include +#include + #include #ifndef TOOL_FULLNAME