1) Two new arguments (char *val, unsinged int maxlen) added to the
authorJan Patera <patera@pictview.com>
Wed, 7 Jan 2004 15:12:12 +0000 (16:12 +0100)
committerJan Patera <patera@pictview.com>
Wed, 7 Jan 2004 15:12:12 +0000 (16:12 +0100)
commit9fc047a73709d04147081447974b6ea9ad3f39c1
treed31a239c711cde19d52b4e27f333a0a673923bd3
parenteb2e2e419710a77757a231f4b2e41e2da7dac041
1) Two new arguments (char *val, unsinged int maxlen) added to the
following functions and macros:
exif_entry_get_value
exif_entry_get_value_brief
exif_mnote_data_get_value
exif_mnote_data_pentax_get_value
macros:
exif_content_get_value
exif_content_get_value_brief

The functions return either NULL (in case of error) or val.

2) All static variables eliminated.

3) memset(val, 0, maxlen); is in all functions, followed by maxlen--;
 which ensures all returned strings will always be NULL-terminated.

All this should make the library thread-safe.
libexif/exif-content.h
libexif/exif-data.c
libexif/exif-entry.c
libexif/exif-entry.h
libexif/exif-mnote-data-priv.h
libexif/exif-mnote-data.c
libexif/exif-mnote-data.h