2012-12-18 Hui Zhu <hui_zhu@mentor.com>
[deliverable/binutils-gdb.git] / gdb / ui-file.h
index a3b97da0b91379e79658725e3864b75aa654826c..bb857134779c127791fb705bb968f6336a94a74b 100644 (file)
@@ -79,6 +79,11 @@ typedef void (ui_file_delete_ftype) (struct ui_file * stream);
 extern void set_ui_file_data (struct ui_file *stream, void *data,
                              ui_file_delete_ftype *delete);
 
+typedef int (ui_file_fseek_ftype) (struct ui_file *stream, long offset,
+                                  int whence);
+extern void set_ui_file_fseek (struct ui_file *stream,
+                              ui_file_fseek_ftype *fseek_ptr);
+
 extern void *ui_file_data (struct ui_file *file);
 
 
@@ -113,6 +118,8 @@ extern char *ui_file_obsavestring (struct ui_file *file,
 
 extern long ui_file_read (struct ui_file *file, char *buf, long length_buf);
 
+extern int ui_file_fseek (struct ui_file *file, long offset, int whence);
+
 /* Create/open a memory based file.  Can be used as a scratch buffer
    for collecting output.  */
 extern struct ui_file *mem_fileopen (void);
This page took 0.035619 seconds and 4 git commands to generate.