* readelf.c (dynamic_info): Correct size of array.
[deliverable/binutils-gdb.git] / gdb / xml-support.h
index f06b4a7b7ba874a1e55777c8e7b0d07d55e65fcb..135263d5d52d4be43054bb409d1445535bf3dc92 100644 (file)
@@ -1,6 +1,6 @@
 /* Helper routines for parsing XML using Expat.
 
-   Copyright (C) 2006, 2007, 2008 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -240,4 +240,10 @@ extern void obstack_xml_printf (struct obstack *obstack,
                                const char *format, ...)
   ATTRIBUTE_PRINTF_2;
 
+/* Open FILENAME, read all its text into memory, close it, and return
+   the text.  If something goes wrong, return NULL and warn.  */
+
+extern char *xml_fetch_content_from_file (const char *filename,
+                                          void *baton);
+
 #endif
This page took 0.024107 seconds and 4 git commands to generate.