aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/ndis/pe_var.h
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>2004-01-06 18:06:54 +0000
committerBill Paul <wpaul@FreeBSD.org>2004-01-06 18:06:54 +0000
commit1cfaf27e2b55b08677ed41e94d065b8f52b1d71a (patch)
treea4751cb173541fb66864d0091b2cf0b9d6bc58f6 /sys/compat/ndis/pe_var.h
parentd09a5d6fce705736bdb3cbef07586feb4913470b (diff)
downloadsrc-1cfaf27e2b55b08677ed41e94d065b8f52b1d71a.tar.gz
src-1cfaf27e2b55b08677ed41e94d065b8f52b1d71a.zip
Clean up pe_get_message(). Allow the caller to obtain the resource
flag so that it can see if the message string is unicode or not and do the conversion itself rather than doing it in subr_pe.c. This prevents subr_pe.c from being dependent on subr_ndis.c.
Notes
Notes: svn path=/head/; revision=124173
Diffstat (limited to 'sys/compat/ndis/pe_var.h')
-rw-r--r--sys/compat/ndis/pe_var.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/compat/ndis/pe_var.h b/sys/compat/ndis/pe_var.h
index 4eafc4c740c6..5178449c0b43 100644
--- a/sys/compat/ndis/pe_var.h
+++ b/sys/compat/ndis/pe_var.h
@@ -422,10 +422,8 @@ extern int pe_get_section(vm_offset_t, image_section_header *, const char *);
extern int pe_relocate(vm_offset_t);
extern int pe_get_import_descriptor(vm_offset_t, image_import_descriptor *, char *);
extern int pe_patch_imports(vm_offset_t, char *, image_patch_table *);
-#ifdef _KERNEL
-extern int pe_get_messagetable(vm_offset_t, message_resource_data **);
-extern int pe_get_message(vm_offset_t, uint32_t, char **, int *);
-#endif
+extern int pe_get_messagetable(vm_offset_t, message_resource_data **);
+extern int pe_get_message(vm_offset_t, uint32_t, char **, int *, uint16_t *);
__END_DECLS
#endif /* _PE_VAR_H_ */