ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/gr2lib/trunk/gr2lib/core/coretypes/native/granny_file.cs
Revision: 94
Committed: Sat Jul 17 05:09:42 2010 UTC (12 years, 6 months ago) by william
File size: 698 byte(s)
Log Message:
add support for getting access to the Granny2 Header

File Contents

# Content
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using System.Runtime.InteropServices;
6
7 namespace gr2lib.core.coretypes.native
8 {
9 [StructLayout(LayoutKind.Sequential, Pack = 4), Size(Size = 119)]
10 internal struct granny_file
11 {
12 public bool IsByteReversed;
13 //public granny_grn_file_header Header;
14 //public granny_grn_file_magic_value SourceMagicValue;
15 public IntPtr Header;
16 public IntPtr SourceMagicValue;
17 public Int32 SectionCount;
18 public IntPtr Sections;
19 public bool Marshalled;
20 public bool IsUserMemory;
21 public IntPtr ConversionBuffer;
22 }
23 }