-/* Read up to N bytes from ZM, storing them in BUF.
- Returns the number of bytes read, or -1 on error */
+/* Opens the zip member named MEMBER in ZR. If successful, stores the new
+ zip_member in *ZMP and returns NULL; on error, returns an error message that
+ the caller must free and stores NULL in *ZMP. */
+char *zip_member_open (struct zip_reader *zr, const char *member,
+ struct zip_member **zmp) WARN_UNUSED_RESULT;
+
+/* Read up to N bytes from ZM, storing them in BUF. Returns the number of
+ bytes read, or -1 on error. On error, zip_member_steal_error() may be used
+ to obtain an error message. */