diff --git a/headers/private/app/PortLink.h b/headers/private/app/PortLink.h index 3628256344..e508f4e46c 100644 --- a/headers/private/app/PortLink.h +++ b/headers/private/app/PortLink.h @@ -23,6 +23,7 @@ public: void MakeEmpty(); status_t Attach(const void *data, size_t size); + status_t AttachString(const char *string); template status_t Attach(Type data) { int32 size = sizeof(Type); diff --git a/headers/private/app/PortMessage.h b/headers/private/app/PortMessage.h index a22a1b8571..82eec95354 100644 --- a/headers/private/app/PortMessage.h +++ b/headers/private/app/PortMessage.h @@ -49,6 +49,7 @@ public: ssize_t BufferSize(void) { return _buffersize; } status_t Read(void *data, ssize_t size); + status_t ReadString(char **string); template status_t Read(Type *data) { int32 size = sizeof(Type);