summaryrefslogtreecommitdiffstats
path: root/kdesu/kdesud/handler.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-11-06 15:56:34 -0600
committerTimothy Pearson <[email protected]>2011-11-06 15:56:34 -0600
commitb529f046c9a64ac5fcfa60747af940cf972b3ebc (patch)
tree83c28cf7fa8fed1960ebd3924b579e7ed8c95cc6 /kdesu/kdesud/handler.h
parent6508fe4c40c60fd7a43bd3d9e19b762e10ea3f53 (diff)
downloadtdebase-b529f046c9a64ac5fcfa60747af940cf972b3ebc.tar.gz
tdebase-b529f046c9a64ac5fcfa60747af940cf972b3ebc.zip
Actually move the kde files that were renamed in the last commit
Diffstat (limited to 'kdesu/kdesud/handler.h')
-rw-r--r--kdesu/kdesud/handler.h52
1 files changed, 0 insertions, 52 deletions
diff --git a/kdesu/kdesud/handler.h b/kdesu/kdesud/handler.h
deleted file mode 100644
index 8728efe78..000000000
--- a/kdesu/kdesud/handler.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/* vi: ts=8 sts=4 sw=4
- *
- * This file is part of the KDE project, module tdesu.
- * Copyright (C) 1999,2000 Geert Jansen <[email protected]>
- */
-
-#ifndef __Handler_h_included__
-#define __Handler_h_included__
-
-#include <sys/types.h>
-
-#include <tqcstring.h>
-#include "secure.h"
-
-/**
- * A ConnectionHandler handles a client. It is called from the main program
- * loop whenever there is data to read from a corresponding socket.
- * It keeps reading data until a newline is read. Then, a command is parsed
- * and executed.
- */
-
-class ConnectionHandler: public SocketSecurity
-{
-
-public:
- ConnectionHandler(int fd);
- ~ConnectionHandler();
-
- /** Handle incoming data. */
- int handle();
-
- /* Send back exit code. */
- void sendExitCode();
-
-private:
- enum Results { Res_OK, Res_NO };
-
- int doCommand(TQCString buf);
- void respond(int ok, TQCString s=0);
- TQCString makeKey(int namspace, TQCString s1, TQCString s2=0, TQCString s3=0);
-
- int m_Fd, m_Timeout;
- int m_Priority, m_Scheduler;
- TQCString m_Buf, m_Pass, m_Host;
-public:
- int m_exitCode;
- bool m_hasExitCode;
- bool m_needExitCode;
- pid_t m_pid;
-};
-
-#endif