mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-26 07:59:37 -05:00
17 lines
408 B
Go
17 lines
408 B
Go
|
/*
|
||
|
Copyright (c) Edgeless Systems GmbH
|
||
|
|
||
|
SPDX-License-Identifier: AGPL-3.0-only
|
||
|
*/
|
||
|
|
||
|
// Package cryptsetup contains CGO bindings for cryptsetup.
|
||
|
package cryptsetup
|
||
|
|
||
|
// #include <libcryptsetup.h>
|
||
|
import "C"
|
||
|
|
||
|
const (
|
||
|
// ReadWriteQueueBypass is a flag to disable the write and read workqueues for a crypt device.
|
||
|
ReadWriteQueueBypass = C.CRYPT_ACTIVATE_NO_WRITE_WORKQUEUE | C.CRYPT_ACTIVATE_NO_READ_WORKQUEUE
|
||
|
)
|