1#ifndef _IOKIT_TESTIOUSERCLIENT2022ENTITLEMENTS_H_
2#define _IOKIT_TESTIOUSERCLIENT2022ENTITLEMENTS_H_
3
4#include <IOKit/IOService.h>
5#include <IOKit/IOUserClient.h>
6
7#if (DEVELOPMENT || DEBUG)
8
9class TestIOUserClient2022Entitlements : public IOService {
10 OSDeclareDefaultStructors(TestIOUserClient2022Entitlements);
11
12public:
13 virtual bool start(IOService *provider) override;
14};
15
16class TestIOUserClient2022EntitlementsUserClient : public IOUserClient2022 {
17 OSDeclareDefaultStructors(TestIOUserClient2022EntitlementsUserClient);
18
19
20public:
21 virtual bool start(IOService * provider) override;
22 virtual IOReturn clientClose() override;
23 IOReturn externalMethod(uint32_t selector, IOExternalMethodArgumentsOpaque * args) override;
24 static IOReturn extBasicMethod(OSObject * target, void * reference, IOExternalMethodArguments * arguments);
25 static IOReturn extPerSelectorCheck(OSObject * target, void * reference, IOExternalMethodArguments * arguments);
26};
27
28#endif /* (DEVELOPMENT || DEBUG) */
29
30#endif /* _IOKIT_TESTIOUSERCLIENT2022ENTITLEMENTS_H_ */
31