diff --git a/include/exijpeg.h b/include/exijpeg.h index f74ca14..4bdf326 100644 --- a/include/exijpeg.h +++ b/include/exijpeg.h @@ -50,6 +50,13 @@ exijpeg_data_t *exijpeg_data_alloc(void); void exijpeg_data_free(exijpeg_data_t *); +/* adds a segment to jpeg_data_t */ int exijpeg_data_add_segment(exijpeg_data_t *, unsigned char *, unsigned long); +/* loads a file to jpeg structure */ +int exijpeg_data_loadfile(exijpeg_data_t *, const char *); + +/* release any resources allocated from the system during open file proc */ +int exijpeg_data_release(exijpeg_data_t *); + #endif