+ /* The stream resource is located in an external file. The name of the
+ * file will be provided by @file_on_disk member. In addition, if
+ * @file_on_disk_fp is not NULL, it will be an open FILE * to the file.
+ * */
+ RESOURCE_IN_FILE_ON_DISK,
+
+ /* The stream resource is directly attached in an in-memory buffer
+ * pointed to by @attached_buffer. */
+ RESOURCE_IN_ATTACHED_BUFFER,
+
+#ifdef WITH_FUSE
+ /* The stream resource is located in an external file in the staging
+ * directory for a read-write mount. */
+ RESOURCE_IN_STAGING_FILE,
+#endif
+
+#ifdef WITH_NTFS_3G
+ /* The stream resource is located in an NTFS volume. It is identified
+ * by volume, filename, data stream name, and by whether it is a reparse
+ * point or not. @ntfs_loc points to a structure containing this
+ * information. */
+ RESOURCE_IN_NTFS_VOLUME,
+#endif
+
+#ifdef __WIN32__
+ /* Resource must be accessed using Win32 API (may be a named data
+ * stream) */
+ RESOURCE_WIN32,
+
+ /* Windows only: the file is on disk in the file named @file_on_disk,
+ * but the file is encrypted and must be read using special functions.
+ * */
+ RESOURCE_WIN32_ENCRYPTED,
+#endif
+
+};