Client: add WriteString()

This commit is contained in:
Max Kellermann
2016-04-12 22:32:35 +02:00
parent 4eaa82fd22
commit fd5d42836f
3 changed files with 14 additions and 5 deletions

View File

@@ -109,6 +109,11 @@ public:
bool Write(const void *data, size_t length);
/**
* Write a null-terminated string.
*/
bool Write(const char *data);
/**
* returns the uid of the client process, or a negative value
* if the uid is unknown