File: ServerControl.h

package info (click to toggle)
boxbackup 0.11.1~r2837-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 10,476 kB
  • sloc: xml: 70,723; cpp: 47,154; perl: 4,430; sh: 3,536; python: 311; makefile: 192
file content (18 lines) | stat: -rw-r--r-- 405 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef SERVER_CONTROL_H
#define SERVER_CONTROL_H

#include "Test.h"

bool HUPServer(int pid);
bool KillServer(int pid, bool WaitForProcess = false);

#ifdef WIN32
	#include "WinNamedPipeStream.h"
	#include "IOStreamGetLine.h"
	#include "BoxPortsAndFiles.h"

	void SetNamedPipeName(const std::string& rPipeName);
	// bool SendCommands(const std::string& rCmd);
#endif // WIN32

#endif // SERVER_CONTROL_H