X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=service.h;h=dc1715b2ec025598e398fcf6c9fef704c6890a48;hb=8e2c124550ea78e6b9ddfd5ad6cdb72ba93e9a1b;hp=04327c3c6ef29046db3b4179aab7ce890d3c8c46;hpb=2f219930f488b2551326900df5c201de2e9304f2;p=nssm.git diff --git a/service.h b/service.h index 04327c3..dc1715b 100644 --- a/service.h +++ b/service.h @@ -13,11 +13,20 @@ #define KEY_LENGTH 255 #define VALUE_LENGTH 16383 #define SERVICE_NAME_LENGTH KEY_LENGTH - 55 +#define SERVICE_DISPLAYNAME_LENGTH 256 #define ACTION_LEN 16 typedef struct { TCHAR name[SERVICE_NAME_LENGTH]; + TCHAR displayname[SERVICE_DISPLAYNAME_LENGTH]; + TCHAR description[VALUE_LENGTH]; + unsigned long startup; + TCHAR *username; + size_t usernamelen; + TCHAR *password; + size_t passwordlen; + unsigned long type; TCHAR exe[EXE_LENGTH]; TCHAR flags[VALUE_LENGTH]; TCHAR dir[MAX_PATH];