diff options
| author | Sebastien Braun | 2010-10-06 15:08:03 +0200 |
|---|---|---|
| committer | Sebastien Braun | 2010-10-06 15:08:03 +0200 |
| commit | 6afd810d1954018791456a7cebca0d275c50ed95 (patch) | |
| tree | 64d7b3e560dde3049c6c3056387c14f10066c666 /src/input/pvsPrivInputSocket.h | |
| parent | Implement administratively configured user privileges (diff) | |
| download | pvs-6afd810d1954018791456a7cebca0d275c50ed95.tar.gz pvs-6afd810d1954018791456a7cebca0d275c50ed95.tar.xz pvs-6afd810d1954018791456a7cebca0d275c50ed95.zip | |
Refactor signal handling in pvsprivinputd
Only use one socketpair and delegate the actual decision of what to do
when a specific signal is received to a special object.
Diffstat (limited to 'src/input/pvsPrivInputSocket.h')
| -rw-r--r-- | src/input/pvsPrivInputSocket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input/pvsPrivInputSocket.h b/src/input/pvsPrivInputSocket.h index 879ca99..447360b 100644 --- a/src/input/pvsPrivInputSocket.h +++ b/src/input/pvsPrivInputSocket.h @@ -28,6 +28,7 @@ QSettings* pvsPrivInputGetSettings(); QSettings* pvsPrivInputReopenSettings(); QString pvsPrivInputGetSettingsPath(); QString pvsPrivInputGetSocketAddress(); +bool pvsPrivInputEnableReceiveCredentials(int sock); int pvsPrivInputMakeClientSocket(); int pvsPrivInputMakeServerSocket(); bool pvsPrivInputSendMessage(int sock, void* buf, size_t len, int* err = 0); |
