We are using a single member in struct file_handle, the "name"
[pspp-builds.git] / src / data / file-handle-def.h
index 7c8a00a6133287b902a808331583b5c713c8cd0a..a3d837ab924b0a60af7a4bf319eabe0c31bef4ca 100644 (file)
@@ -61,11 +61,12 @@ const struct fh_properties *fh_default_properties (void);
 void fh_free (struct file_handle *);
 
 /* Finding file handles. */
-struct file_handle *fh_from_name (const char *handle_name);
+struct file_handle *fh_from_id (const char *handle_name);
 struct file_handle *fh_from_file_name (const char *file_name);
 struct file_handle *fh_inline_file (void);
 
 /* Generic properties of file handles. */
+const char *fh_get_id (const struct file_handle *);
 const char *fh_get_name (const struct file_handle *);
 enum fh_referent fh_get_referent (const struct file_handle *);