summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-26 17:41:16 +0100
committerAndreas Baumann <abaumann@yahoo.com>2009-03-26 17:41:16 +0100
commitb43d170a167d0f21ab98a051cf97942f76dbf76f (patch)
treebb3ab69daa72145d203a7aeae89ec58e4761a8a9 /include
parent54a4e0cb75fc68948178249f45e0c11c8dc33401 (diff)
downloadwolfbones-b43d170a167d0f21ab98a051cf97942f76dbf76f.tar.gz
wolfbones-b43d170a167d0f21ab98a051cf97942f76dbf76f.tar.bz2
moved service dispatcher into libwolf
Diffstat (limited to 'include')
-rw-r--r--include/wolf/log/messages.h1
-rw-r--r--include/wolf/service/service.h2
2 files changed, 3 insertions, 0 deletions
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