X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=win%2Fwin32service.h;h=de7a0972fadc489e27d090a7fa5aace53bcff01e;hb=07b12e72497b3f0e6e53eebab032e92e1f789f0a;hp=b33a53c28eb90af4a91607da0c00df6cabdd8ad9;hpb=44f42a13de52c8025942ddab42f51feb36821782;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/win/win32service.h b/win/win32service.h index b33a53c28..de7a0972f 100644 --- a/win/win32service.h +++ b/win/win32service.h @@ -1,6 +1,10 @@ /* * InspIRCd -- Internet Relay Chat Daemon * + * Copyright (C) 2013 Sadie Powell + * Copyright (C) 2013 ChrisTX + * Copyright (C) 2012 Robby + * Copyright (C) 2008 Craig Edwards * * This file is part of InspIRCd. InspIRCd is free software: you can * redistribute it and/or modify it under the terms of the GNU General Public @@ -16,11 +20,12 @@ */ -#ifndef WIN32SERVICE_H -#define WIN32SERVICE_H +#pragma once + +#ifdef _WIN32 /* Hook for win32service.cpp to exit properly with the service specific error code */ -void SetServiceStopped(int status); +void SetServiceStopped(unsigned long dwStatus); /* Marks the service as running, not called until the config is parsed */ void SetServiceRunning();