zuluCrypt  5.7.1
About: zuluCrypt is a simple but feature rich solution for hard drives encryption. It can manage PLAIN dm-crypt, LUKS, TrueCrypt and VeraCrypt encrypted volumes.
  Fossies Dox: zuluCrypt-5.7.1.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

create_volumes.c File Reference
#include "includes.h"
#include "../lib/includes.h"
#include <libintl.h>
#include <locale.h>
#include <stdio.h>
#include <sys/stat.h>
Include dependency graph for create_volumes.c:

Go to the source code of this file.

Functions

static int zuluExit (int st, stringList_t stl)
 
static int zuluExit_1 (const char *type, stringList_t stl)
 
int zuluCryptEXECreateVolume (const struct_opts *opts, const char *mapping_name, uid_t uid)
 

Function Documentation

◆ zuluCryptEXECreateVolume()

int zuluCryptEXECreateVolume ( const struct_opts opts,
const char *  mapping_name,
uid_t  uid 
)

Definition at line 80 of file create_volumes.c.

References struct_opts_1::ask_confirmation, struct_opts_1::device, struct_opts_1::existing_key, struct_opts_1::fs, struct_opts_1::key, struct_opts_1::key_source, struct_opts_1::rng, String(), StringAtLeastOneMatch_1(), StringContent(), StringConvertToInt(), StringFree(), StringGetFromTerminal_1(), StringLength(), StringListAppendString_1(), StringListArray(), StringListMultipleDelete(), StringListSize(), StringListStringArray_0(), StringListVoid, StringPrefixEqual(), StringsAreEqual, StringsAreEqual_1(), StringsAreNotEqual_2(), StringSilentlyGetFromTerminal_1(), StringVoid, struct_opts_1::tcrypt_hidden_volume_key, struct_opts_1::tcrypt_hidden_volume_multiple_keyfiles, struct_opts_1::tcrypt_hidden_volume_size, TCRYPT_KEYFILE, struct_opts_1::tcrypt_multiple_keyfiles, TCRYPT_PASSPHRASE, struct_opts_1::type, ZULUCRYPT_KEY_MAX_SIZE, zuluCryptCanOpenPathForWriting(), zuluCryptCheckOpenedMapper(), zuluCryptCreateKeyFile(), zuluCryptCreateKeyFiles(), zuluCryptCreateMapperName(), zuluCryptCreateTCryptVolume(), zuluCryptCreateVolume(), zuluCryptDeleteKeyFiles(), zuluCryptExeOriginalUserIsNotRoot(), zulucryptFileSystemIsSupported(), zuluCryptGetPassFromFile(), zuluCryptGetVolumeSize(), ZULUCRYPTlongMapperPath, ZULUCRYPTmkfs, zuluCryptPartitionIsMounted(), zuluCryptPartitionIsSystemPartition(), zuluCryptPathIsNotValid(), zuluCryptSecurityDropElevatedPrivileges(), zuluCryptSecurityGainElevatedPrivileges(), zuluCryptUserIsAMemberOfAGroup(), zuluExit(), and zuluExit_1().

Referenced by zuluCryptEXE().

◆ zuluExit()

static int zuluExit ( int  st,
stringList_t  stl 
)
static

Definition at line 27 of file create_volumes.c.

References StringListClearDelete(), and ZULUCRYPTmkfs.

Referenced by zuluCryptEXECreateVolume().

◆ zuluExit_1()

static int zuluExit_1 ( const char *  type,
stringList_t  stl 
)
static

Definition at line 65 of file create_volumes.c.

References StringAtLeastOneMatch_1(), and StringListClearDelete().

Referenced by zuluCryptEXECreateVolume().