#ifdef __cplusplus
extern "C"
- {
+{
#endif
/* Clients can open one or more CTF containers and obtain a pointer to an
/* 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. */
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 *);
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);