2016-02-06 19:27:59 +01:00
|
|
|
package fusefrontend
|
2015-11-28 16:52:57 +01:00
|
|
|
|
2016-09-20 21:58:04 +02:00
|
|
|
import (
|
|
|
|
"github.com/rfjakob/gocryptfs/internal/cryptocore"
|
|
|
|
)
|
|
|
|
|
2016-02-06 19:27:59 +01:00
|
|
|
// Container for arguments that are passed from main() to fusefrontend
|
2015-11-28 16:52:57 +01:00
|
|
|
type Args struct {
|
2015-11-29 21:55:20 +01:00
|
|
|
Masterkey []byte
|
|
|
|
Cipherdir string
|
2016-09-20 21:58:04 +02:00
|
|
|
CryptoBackend cryptocore.BackendTypeEnum
|
2015-11-28 16:52:57 +01:00
|
|
|
PlaintextNames bool
|
2016-02-06 22:54:14 +01:00
|
|
|
LongNames bool
|
2016-06-26 19:18:13 +02:00
|
|
|
// Should we chown a file after it has been created?
|
|
|
|
// This only makes sense if (1) allow_other is set and (2) we run as root.
|
|
|
|
PreserveOwner bool
|
2015-11-28 16:52:57 +01:00
|
|
|
}
|