This commit was generated by cvs2svn to track changes on a CVS vendor
[deliverable/binutils-gdb.git] / sim / igen / lf.h
index 4d3dc1558a97b7c23094159598fdcdd414aee5f2..e968f5f6cb617bdbe9770b0a90f965b3b656486a 100644 (file)
@@ -1,6 +1,6 @@
 /*  This file is part of the program psim.
 
-    Copyright (C) 1994-1995, Andrew Cagney <cagney@highland.com.au>
+    Copyright (C) 1994-1997, Andrew Cagney <cagney@highland.com.au>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -36,9 +36,11 @@ typedef enum {
 } lf_file_references;
 
 
-/* Open the file NAME for writing.  REAL_NAME is to be included in any
-   line number outputs.  The output of line number information can be
-   suppressed with LINE_NUMBERS */
+/* Open the file NAME for writing ("-" for stdout).  Use REAL_NAME
+   when refering to the opened file.  Line number information (in the
+   output) can be suppressed with FILE_REFERENCES ==
+   LF_OMIT_REFERENCES.  TYPE is to determine the formatting of some of
+   the print messages below. */
 
 extern lf *lf_open
 (char *name,
@@ -53,6 +55,11 @@ extern void lf_close
 
 /* Basic output functions */
 
+extern int lf_write
+(lf *file,
+ const char *string,
+ int len);
+
 extern int lf_putchr
 (lf *file,
  const char ch);
@@ -99,29 +106,28 @@ extern int lf_print__file_start
 (lf *file);
 
 extern int lf_print__this_file_is_empty
-(lf *file);
+(lf *file,
+ const char *reason);
 
 extern int lf_print__file_finish
 (lf *file);
 
-extern int lf_print__internal_reference
+extern int lf_print__internal_ref
 (lf *file);
 
-extern int lf_print__external_reference
+extern int lf_print__external_ref
 (lf *file,
  int line_nr,
  const char *file_name);
 
+extern int lf_print__line_ref
+(lf *file,
+ line_ref *line);
+
 extern int lf_print__ucase_filename
 (lf *file);
 
-/* Tab prefix is suppressed */
-
-extern int lf_print__c_code
-(lf *file,
- const char *code);
-
-extern int lf_print_function_type
+extern int lf_print__function_type
 (lf *file,
  const char *type,
  const char *prefix,
@@ -129,7 +135,7 @@ extern int lf_print_function_type
 
 typedef int print_function(lf *file);
 
-extern int lf_print_function_type_function
+extern int lf_print__function_type_function
 (lf *file,
  print_function *print_type,
  const char *prefix,
This page took 0.023517 seconds and 4 git commands to generate.