From b43d170a167d0f21ab98a051cf97942f76dbf76f Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 26 Mar 2009 17:41:16 +0100 Subject: moved service dispatcher into libwolf --- include/wolf/log/messages.h | 1 + include/wolf/service/service.h | 2 ++ 2 files changed, 3 insertions(+) (limited to 'include') diff --git a/include/wolf/log/messages.h b/include/wolf/log/messages.h index eea86fa..04cad44 100644 --- a/include/wolf/log/messages.h +++ b/include/wolf/log/messages.h @@ -185,6 +185,7 @@ #define WOLF_MSG_SERVICE_STARTED_SERVICE WOLF_MSG_SERVICE_BASE+16 #define WOLF_MSG_SERVICE_WAIT_FOR_OBJECT_FAILED WOLF_MSG_SERVICE_BASE+17 #define WOLF_MSG_SERVICE_STOPPED_SERVICE WOLF_MSG_SERVICE_BASE+18 +#define WOLF_MSG_SERVICE_CANT_DISPATCH_SERVICE WOLF_MSG_SERVICE_BASE+19 #ifdef __cplusplus extern "C" { diff --git a/include/wolf/service/service.h b/include/wolf/service/service.h index f75b6af..1baa1b2 100644 --- a/include/wolf/service/service.h +++ b/include/wolf/service/service.h @@ -93,6 +93,8 @@ wolf_service_event_t wolf_service_events_suspend( int timeout, wolf_error_t *err */ void WINAPI wolf_service_main( DWORD argc, LPTSTR *argv ); +wolf_error_t wolf_service_start( LPTSTR service_name ); + #ifdef __cplusplus } #endif -- cgit v1.2.3-54-g00ecf