-static unichar *get_unicode
- (const unsigned char *, unsigned long, int, int *);
-static int get_resid
- (struct res_id *, const unsigned char *, unsigned long, int);
-static struct res_resource *bin_to_res_generic
- (enum res_type, const unsigned char *, unsigned long);
-static struct res_resource *bin_to_res_cursor
- (const unsigned char *, unsigned long, int);
-static struct res_resource *bin_to_res_menu
- (const unsigned char *, unsigned long, int);
-static struct menuitem *bin_to_res_menuitems
- (const unsigned char *, unsigned long, int, int *);
-static struct menuitem *bin_to_res_menuexitems
- (const unsigned char *, unsigned long, int, int *);
-static struct res_resource *bin_to_res_dialog
- (const unsigned char *, unsigned long, int);
-static struct res_resource *bin_to_res_string
- (const unsigned char *, unsigned long, int);
-static struct res_resource *bin_to_res_fontdir
- (const unsigned char *, unsigned long, int);
-static struct res_resource *bin_to_res_accelerators
- (const unsigned char *, unsigned long, int);
-static struct res_resource *bin_to_res_rcdata
- (const unsigned char *, unsigned long, int);
-static struct res_resource *bin_to_res_group_cursor
- (const unsigned char *, unsigned long, int);
-static struct res_resource *bin_to_res_group_icon
- (const unsigned char *, unsigned long, int);
-static struct res_resource *bin_to_res_version
- (const unsigned char *, unsigned long, int);
-static struct res_resource *bin_to_res_userdata
- (const unsigned char *, unsigned long, int);
-static void get_version_header
- (const unsigned char *, unsigned long, int, const char *,
- unichar **, int *, int *, int *, int *);
+static unichar *get_unicode (windres_bfd *, const bfd_byte *, rc_uint_type, rc_uint_type *);
+static int get_resid (windres_bfd *, rc_res_id *, const bfd_byte *, rc_uint_type);
+static rc_res_resource *bin_to_res_generic (windres_bfd *, enum rc_res_type,
+ const bfd_byte *, rc_uint_type);
+static rc_res_resource *bin_to_res_cursor (windres_bfd *, const bfd_byte *, rc_uint_type);
+static rc_res_resource *bin_to_res_menu (windres_bfd *,const bfd_byte *, rc_uint_type);
+static rc_menuitem *bin_to_res_menuitems (windres_bfd *, const bfd_byte *, rc_uint_type,
+ rc_uint_type *);
+static rc_menuitem *bin_to_res_menuexitems (windres_bfd *, const bfd_byte *, rc_uint_type,
+ rc_uint_type *);
+static rc_res_resource *bin_to_res_dialog (windres_bfd *, const bfd_byte *, rc_uint_type);
+static rc_res_resource *bin_to_res_string (windres_bfd *,const bfd_byte *, rc_uint_type);
+static rc_res_resource *bin_to_res_fontdir (windres_bfd *, const bfd_byte *, rc_uint_type);
+static rc_res_resource *bin_to_res_accelerators (windres_bfd *, const bfd_byte *, rc_uint_type);
+static rc_res_resource *bin_to_res_rcdata (windres_bfd *, const bfd_byte *, rc_uint_type, int);
+static rc_res_resource *bin_to_res_group_cursor (windres_bfd *, const bfd_byte *, rc_uint_type);
+static rc_res_resource *bin_to_res_group_icon (windres_bfd *, const bfd_byte *, rc_uint_type);
+static rc_res_resource *bin_to_res_version (windres_bfd *, const bfd_byte *, rc_uint_type);
+static rc_res_resource *bin_to_res_userdata (windres_bfd *, const bfd_byte *, rc_uint_type);
+static rc_res_resource *bin_to_res_toolbar (windres_bfd *, const bfd_byte *, rc_uint_type);
+static void get_version_header (windres_bfd *, const bfd_byte *, rc_uint_type, const char *,
+ unichar **, rc_uint_type *, rc_uint_type *, rc_uint_type *,
+ rc_uint_type *);