include, libctf: typo fixes
[deliverable/binutils-gdb.git] / include / ctf-api.h
index efc49896c76e8132e23649d283cc3e70ca60028f..bb1cf0f50eb72ceeca0cfca14b40eaf51e61015f 100644 (file)
@@ -30,7 +30,7 @@
 
 #ifdef __cplusplus
 extern "C"
-  {
+{
 #endif
 
 /* Clients can open one or more CTF containers and obtain a pointer to an
@@ -80,7 +80,7 @@ typedef struct ctf_link_sym
 
 /* Indication of how to share types when linking.  */
 
-/* Share all types thare are not in conflict.  The default.  */
+/* Share all types that are not in conflict.  The default.  */
 #define CTF_LINK_SHARE_UNCONFLICTED 0x0
 
 /* Share only types that are used by multiple inputs.  Not implemented yet.  */
@@ -263,6 +263,10 @@ extern void ctf_close (ctf_archive_t *);
 extern ctf_sect_t ctf_getdatasect (const ctf_file_t *);
 extern ctf_archive_t *ctf_get_arc (const ctf_file_t *);
 extern ctf_archive_t *ctf_arc_open (const char *, int *);
+extern ctf_archive_t *ctf_arc_bufopen (const ctf_sect_t *,
+                                      const ctf_sect_t *,
+                                      const ctf_sect_t *,
+                                      int *);
 extern void ctf_arc_close (ctf_archive_t *);
 extern ctf_file_t *ctf_arc_open_by_name (const ctf_archive_t *,
                                         const char *, int *);
@@ -424,7 +428,7 @@ extern unsigned char *ctf_link_write (ctf_file_t *, size_t *size,
                                      size_t threshold);
 
 /* Specialist linker functions.  These functions are not used by ld, but can be
-   used by other prgorams making use of the linker machinery for other purposes
+   used by other programs making use of the linker machinery for other purposes
    to customize its output.  */
 extern int ctf_link_add_cu_mapping (ctf_file_t *, const char *from,
                                    const char *to);
This page took 0.024077 seconds and 4 git commands to generate.