]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/plugin.h
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / bfd / plugin.h
index 1a66e6e459120b807dd5624ea174716107686462..373541a5ed22f09c42f190769b9845c765257f9a 100644 (file)
@@ -1,5 +1,5 @@
 /* Plugin support for BFD.
-   Copyright (C) 2009-2015 Free Software Foundation, Inc.
+   Copyright (C) 2009-2021 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
 #ifndef _PLUGIN_H_
 #define _PLUGIN_H_
 
-#include "bfd.h"
-
 void bfd_plugin_set_program_name (const char *);
+int bfd_plugin_open_input (bfd *, struct ld_plugin_input_file *);
 void bfd_plugin_set_plugin (const char *);
 bfd_boolean bfd_plugin_target_p (const bfd_target *);
 bfd_boolean bfd_plugin_specified_p (void);
-void register_ld_plugin_object_p (const bfd_target *(*object_p) (bfd *));
+bfd_boolean bfd_link_plugin_object_p (bfd *);
+void register_ld_plugin_object_p (bfd_cleanup (*object_p) (bfd *));
 
 typedef struct plugin_data_struct
 {