"Fossies" - the Fresh Open Source Software Archive

Member "src/ExpandVolume/InitDataArea.h" (10 Oct 2018, 1314 Bytes) of package /windows/misc/VeraCrypt_1.23-Hotfix-2_Source.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "InitDataArea.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  Derived from source code of TrueCrypt 7.1a, which is
    3  Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
    4  by the TrueCrypt License 3.0, and also derived from source code of extcv which
    5  is Copyright (c) 2009-2010 by Kih-Oskh or Copyright (c) 2012-2013 Josef Schneider
    6  <josef@netpage.dk>
    7 
    8  Modifications and additions to the original source code (contained in this file)
    9  and all other portions of this file are Copyright (c) 2013-2017 IDRIX
   10  and are governed by the Apache License 2.0 the full text of which is
   11  contained in the file License.txt included in VeraCrypt binary and source
   12  code distribution packages.
   13 */
   14 
   15 #ifndef TC_HEADER_InitDataArea
   16 #define TC_HEADER_InitDataArea
   17 
   18 #ifdef __cplusplus
   19 extern "C" {
   20 #endif
   21 
   22 void SetFormatSectorSize (uint32 sector_size);
   23 int FormatNoFs (HWND hwndDlg, unsigned __int64 startSector, __int64 num_sectors, void *dev, PCRYPTO_INFO cryptoInfo, BOOL quickFormat);
   24 BOOL WriteSector ( void *dev , char *sector , char *write_buf , int *write_buf_cnt , __int64 *nSecNo , PCRYPTO_INFO cryptoInfo );
   25 BOOL FlushFormatWriteBuffer (void *dev, char *write_buf, int *write_buf_cnt, __int64 *nSecNo, PCRYPTO_INFO cryptoInfo);
   26 BOOL StartFormatWriteThread ();
   27 void StopFormatWriteThread ();
   28 
   29 
   30 #ifdef __cplusplus
   31 }
   32 #endif
   33 
   34 #endif // TC_HEADER_InitDataArea