@@ -14,11 +14,11 @@ * file. */ #import "OFObject.h" -#include +/*! @file */ @class OFString; @class OFDataArray; @class OFFile; @class OFDate; @@ -100,5 +100,22 @@ * * @return The extra field of the entry */ - (OFDataArray*)extraField; @end + +#ifdef __cplusplus +extern "C" { +#endif +/*! + * @brief Gets a pointer to and the size of the extra field with the specified + * tag. + * + * @param data A pointer to a pointer that should be set to the start of the + * extra field with the specified tag + * @param size A pointer to an uint16_t that should be set to the size + */ +extern void of_zip_archive_entry_find_extra_field(OFDataArray *extraField, + uint16_t tag, uint8_t **data, uint16_t *size); +#ifdef __cplusplus +} +#endif