ultimatepp/uppsrc/TCore/service/service.h
rylek a085713350 MS SQL Server BIGINT added to supported types in OleDB schema definition
git-svn-id: svn://ultimatepp.org/upp/trunk@1850 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2009-12-29 00:52:02 +00:00

25 lines
603 B
C

#ifndef _TCore_service_service_h_
#define _TCore_service_service_h_
#include <Web/Web.h>
#ifdef PLATFORM_WIN32
extern bool InitService(); // implemented by main program
extern void RunService(); // implemented by main program
NAMESPACE_UPP
extern volatile bool service_stopped;
extern volatile bool service_paused;
void InstallConsoleCtrlHandler();
bool InstallService(String name, String display_name, String& cmdline, String& status);
bool UninstallService(String name, String& status);
void RunServiceDispatcher(String service_name);
END_UPP_NAMESPACE
#endif
#endif