예제 #1
0
 public static extern PalFlags.FailCodes rvn_write_journal(
     SafeJournalHandle handle,
     void *buffer,
     Int64 size,
     Int64 offset,
     out Int32 errorCode
     );
예제 #2
0
 public static extern PalFlags.FailCodes rvn_read_journal(
     SafeJournalHandle handle,
     void *buffer,
     Int64 requiredSize,
     Int64 offset,
     out Int64 actualSize,
     out Int32 errorCode
     );
예제 #3
0
 public static extern PalFlags.FailCodes rvn_open_journal_for_writes(
     string fileName,
     PalFlags.JournalMode mode,
     Int64 requiredSize,
     PalFlags.DurabilityMode supportDurability,
     out SafeJournalHandle handle,
     out Int64 actualSize,
     out Int32 errorCode);
예제 #4
0
 public static PalFlags.FailCodes rvn_open_journal_for_reads(
     string filename,
     out SafeJournalHandle handle,
     out Int32 errorCode)
 {
     using (var convert = new Converter(filename))
     {
         return(rvn_open_journal_for_reads(convert.Pointer,
                                           out handle,
                                           out errorCode));
     }
 }
예제 #5
0
 public static PalFlags.FailCodes rvn_open_journal_for_writes(
     string filename,
     PalFlags.JournalMode mode,
     Int64 requiredSize,
     PalFlags.DurabilityMode supportDurability,
     out SafeJournalHandle handle,
     out Int64 actualSize,
     out Int32 errorCode)
 {
     using (var convert = new Converter(filename))
     {
         return(rvn_open_journal_for_writes(convert.Pointer,
                                            mode,
                                            requiredSize,
                                            supportDurability,
                                            out handle,
                                            out actualSize,
                                            out errorCode));
     }
 }
예제 #6
0
 public static extern PalFlags.FailCodes rvn_open_journal_for_reads(
     string fileNameFullPath,
     out SafeJournalHandle handle,
     out Int32 errorCode
     );
예제 #7
0
 public static extern PalFlags.FailCodes rvn_truncate_journal(
     SafeJournalHandle handle,
     Int64 size,
     out Int32 errorCode
     );