Project

General

Profile

« Previous | Next » 

Revision 4dcb97c2

Added by Hamish Coleman almost 16 years ago

  • ID 4dcb97c2a90dd14cee054b8db7222646146d0b32

More work on the SCM helper. This looks like it is working

View differences:

scm.h
*
*/
struct servicedef {
struct SCM_def {
unsigned char *name;
unsigned char *desc;
int (*init)(int, char **);
int (*main)(int);
HANDLE stopEvent;
int (*stop)(int);
};
int SCM_Start(struct servicedef *);
int SCM_Install(struct servicedef *);
int SCM_Remove(struct servicedef *);
int SCM_Start(struct SCM_def *);
int SCM_Install(struct SCM_def *);
int SCM_Remove(struct SCM_def *);
#define SVC_OK 0
#define SVC_FAIL -1

Also available in: Unified diff