summaryrefslogtreecommitdiffstats
path: root/source/include/acutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/include/acutils.h')
-rw-r--r--source/include/acutils.h35
1 files changed, 21 insertions, 14 deletions
diff --git a/source/include/acutils.h b/source/include/acutils.h
index c80dd36..de62498 100644
--- a/source/include/acutils.h
+++ b/source/include/acutils.h
@@ -926,6 +926,27 @@ void
AcpiUtRepairName (
char *Name);
+#if defined (ACPI_DEBUGGER) || defined (ACPI_APPLICATION)
+BOOLEAN
+AcpiUtSafeStrcpy (
+ char *Dest,
+ ACPI_SIZE DestSize,
+ char *Source);
+
+BOOLEAN
+AcpiUtSafeStrcat (
+ char *Dest,
+ ACPI_SIZE DestSize,
+ char *Source);
+
+BOOLEAN
+AcpiUtSafeStrncat (
+ char *Dest,
+ ACPI_SIZE DestSize,
+ char *Source,
+ ACPI_SIZE MaxTransferLength);
+#endif
+
/*
* utmutex - mutex support
@@ -967,20 +988,6 @@ AcpiUtInitializeBuffer (
ACPI_BUFFER *Buffer,
ACPI_SIZE RequiredLength);
-void *
-AcpiUtAllocate (
- ACPI_SIZE Size,
- UINT32 Component,
- const char *Module,
- UINT32 Line);
-
-void *
-AcpiUtAllocateZeroed (
- ACPI_SIZE Size,
- UINT32 Component,
- const char *Module,
- UINT32 Line);
-
#ifdef ACPI_DBG_TRACK_ALLOCATIONS
void *
AcpiUtAllocateAndTrack (
OpenPOWER on IntegriCloud