1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-03-24 18:16:24 +01:00
OJ f1fbf2064f Enable service control and status in queries.
This commit adds service status to the query functionality for a single
service so that it doesn't have to be found in the full list of services.

It also adds the ability for the caller to control services using the
typical start/stop/pause/resume/restart style functions. To use these
functions the caller has to have appropriate rights.
2014-03-11 14:49:19 +10:00

14 lines
413 B
C

/*!
* @file service.h
* @brief Declarations for service management functions
*/
#ifndef _METERPRETER_SOURCE_EXTENSION_EXTAPI_SERVICE_H
#define _METERPRETER_SOURCE_EXTENSION_EXTAPI_SERVICE_H
VOID initialise_service();
DWORD request_service_enum(Remote *remote, Packet *packet);
DWORD request_service_query(Remote *remote, Packet *packet);
DWORD request_service_control(Remote *remote, Packet *packet);
#endif