X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Ffile-handle-def.h;h=a3d837ab924b0a60af7a4bf319eabe0c31bef4ca;hb=4ec88a3abb859304f42a5905231704b2ecfaf711;hp=9524bc0333c60223284e7aa13e45379f0cb597a1;hpb=3f2ed1c5fe6dc692ca00bb18a15e41617fa2d37d;p=pspp diff --git a/src/data/file-handle-def.h b/src/data/file-handle-def.h index 9524bc0333..a3d837ab92 100644 --- a/src/data/file-handle-def.h +++ b/src/data/file-handle-def.h @@ -1,6 +1,5 @@ /* PSPP - computes sample statistics. Copyright (C) 1997-9, 2000, 2005, 2006 Free Software Foundation, Inc. - Written by Ben Pfaff . This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -62,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 *);