* JPEG encode and decode in eet now uses ISLOW (not IFAST) due to
noticable quality losses in the chase for speed. It will use
IFAST for quality less than 60 when encoding
+
+2011-12-02 Mike Blumenkrantz
+
+ * added eet_file_get to return the filename of an Eet_File
int compress);
/**
+ * Retrieve the filename of an Eet_File
+ * @param ef A valid eet file handle opened for writing.
+ * @return The file opened with eet_open(), or NULL on error
+ *
+ * @note This function will return NULL for files opened with eet_memopen_read()
+ *
+ * @since 1.6
+ * @ingroup Eet_File_Group
+ */
+EAPI const char *
+eet_file_get(Eet_File *ef);
+
+/**
* Retrieve the destination name of an alias
* @param ef A valid eet file handle opened for writing
* @param name Name of the entry. eg: "/base/file_i_want"
return ef;
} /* eet_memopen_read */
+EAPI const char *
+eet_file_get(Eet_File *ef)
+{
+ if (eet_check_pointer(ef)) return NULL;
+ return ef->path;
+}
+
EAPI Eet_File *
eet_open(const char *file,
Eet_File_Mode mode)