template for jpeg related ops has been added;
parent
2a3da1a533
commit
60ba196e8b
@ -0,0 +1,43 @@
|
|||||||
|
/*
|
||||||
|
* EXIF date tool
|
||||||
|
*
|
||||||
|
* (c) Alexander Vdolainen 2023 <alex@vapaa.xyz>
|
||||||
|
*
|
||||||
|
* 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 <http://www.gnu.org/licenses/>.";
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __EXIJPEG_H__
|
||||||
|
#define __EXIJPEG_H__
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <getopt.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <time.h>
|
||||||
|
#include <utime.h>
|
||||||
|
|
||||||
|
#include <libexif/exif-data.h>
|
||||||
|
|
||||||
|
typedef struct __exijpeg_data_type {
|
||||||
|
unsigned char *data;
|
||||||
|
char *filename;
|
||||||
|
int fd;
|
||||||
|
|
||||||
|
} exijpeg_data_t;
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue