You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
541 B
C

22 years ago
#ifndef SERVICE_H
#define SERVICE_H
#define ACTION_LEN 16
22 years ago
void WINAPI service_main(unsigned long, char **);
unsigned long WINAPI service_control_handler(unsigned long, unsigned long, void *, void *);
SC_HANDLE open_service_manager();
19 years ago
int pre_install_service(int, char **);
int pre_remove_service(int, char **);
int install_service(char *, char *, char *);
22 years ago
int remove_service(char *);
int monitor_service();
int start_service();
int stop_service(unsigned long);
void CALLBACK end_service(void *, unsigned char);
#endif