2018-07-30 Fred Gleason <fredg@paravelsystems.com>

* Refactored ripcd(8) to process UTF-8 strings correctly.
	* Fixed bugs in 'RDRip' that caused corruption of UTF-8 strings.
This commit is contained in:
Fred Gleason
2018-07-30 14:35:38 -04:00
parent 5482e87e23
commit 9769324828
7 changed files with 291 additions and 289 deletions

View File

@@ -22,11 +22,27 @@
#define RIPCD_CONNECTION_H
#include <qobject.h>
#include <qsocket.h>
#include <qstring.h>
#include <rdsocket.h>
#include <rd.h>
class RipcdConnection
{
public:
RipcdConnection(int id,int fd);
~RipcdConnection();
int id() const;
QSocket *socket() const;
bool isAuthenticated() const;
void setAuthenticated(bool state);
QString accum;
int ripcd_id;
bool ripcd_authenticated;
QSocket *ripcd_socket;
};
/*
class RipcdConnection
{
public:
@@ -39,6 +55,6 @@ class RipcdConnection
int argptr;
bool auth;
};
*/
#endif // RIPCD_CONNECTION_H