]> git.stg.codes - stg.git/blobdiff - stglibs/common.lib/include/stg/common.h
Minor change in stg's Makefile.
[stg.git] / stglibs / common.lib / include / stg / common.h
index 94c26a8b26c021fd9c478c81910e86edfaa9994a..fe3b3af29377975fff95360eb7d8606078cf2334 100644 (file)
@@ -139,6 +139,11 @@ int ParseYesNo(const std::string & str, bool * val);
 
 bool WaitPackets(int sd);
 
+bool ReadAll(int sd, void * dest, size_t size);
+bool WriteAll(int sd, const void * source, size_t size);
+
+std::string ToPrintable(const std::string & src);
+
 //-----------------------------------------------------------------------------
 int str2x(const std::string & str, int32_t & x);
 int str2x(const std::string & str, uint32_t & x);