-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathuserspace.h
42 lines (32 loc) · 982 Bytes
/
userspace.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*
* Copyright (c) 2019 SUSE LLC
*
* Licensed under LGPL-2.1 (see LICENSE)
*/
#ifndef USERSPACE_H
#define USERSPACE_H 1
#include "driver.h"
#include "wnbd_ioctl.h"
#include "scsi_driver_extensions.h"
NTSTATUS
WnbdParseUserIOCTL(_In_ PWNBD_EXTENSION DeviceExtension,
_In_ PIRP Irp);
NTSTATUS
WnbdCreateConnection(_In_ PWNBD_EXTENSION DeviceExtension,
_In_ PWNBD_PROPERTIES Properties,
_In_ PWNBD_CONNECTION_INFO ConnectionInfo);
NTSTATUS
WnbdEnumerateActiveConnections(_In_ PWNBD_EXTENSION DeviceExtension,
_In_ PIRP Irp);
NTSTATUS
WnbdDeleteConnection(_In_ PWNBD_EXTENSION DeviceExtension,
_In_ PCHAR InstanceName);
NTSTATUS
WnbdSetDiskSize(_In_ PWNBD_EXTENSION DeviceExtension,
_In_ WNBD_CONNECTION_ID ConnectionId,
_In_ UINT64 BlockCount);
VOID
WnbdInitScsiIds();
VOID
WnbdDeviceMonitorThread(_In_ PVOID Context);
#endif