git://git.iain.cx/iain
/
nssm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enforce maximum report delay when starting service.
[nssm.git]
/
service.h
diff --git
a/service.h
b/service.h
index
250eb10
..
49760ba
100644
(file)
--- a/
service.h
+++ b/
service.h
@@
-1,7
+1,11
@@
#ifndef SERVICE_H
\r
#define SERVICE_H
\r
\r
#ifndef SERVICE_H
\r
#define SERVICE_H
\r
\r
+#define ACTION_LEN 16
\r
+
\r
void WINAPI service_main(unsigned long, char **);
\r
void WINAPI service_main(unsigned long, char **);
\r
+char *service_control_text(unsigned long);
\r
+void log_service_control(char *, unsigned long, bool);
\r
unsigned long WINAPI service_control_handler(unsigned long, unsigned long, void *, void *);
\r
\r
SC_HANDLE open_service_manager();
\r
unsigned long WINAPI service_control_handler(unsigned long, unsigned long, void *, void *);
\r
\r
SC_HANDLE open_service_manager();
\r
@@
-9,9
+13,12
@@
int pre_install_service(int, char **);
int pre_remove_service(int, char **);
\r
int install_service(char *, char *, char *);
\r
int remove_service(char *);
\r
int pre_remove_service(int, char **);
\r
int install_service(char *, char *, char *);
\r
int remove_service(char *);
\r
+void set_service_recovery(SC_HANDLE, char *);
\r
int monitor_service();
\r
int start_service();
\r
int monitor_service();
\r
int start_service();
\r
-int stop_service(unsigned long);
\r
+int stop_service(unsigned long
, bool, bool
);
\r
void CALLBACK end_service(void *, unsigned char);
\r
void CALLBACK end_service(void *, unsigned char);
\r
+void throttle_restart();
\r
+int await_shutdown(char *, char *, SERVICE_STATUS_HANDLE, SERVICE_STATUS *, HANDLE, unsigned long);
\r
\r
#endif
\r
\r
#endif
\r