checkpoint
This commit is contained in:
23
Alpm/Junk.cs
23
Alpm/Junk.cs
@@ -102,28 +102,8 @@ namespace Foodsoft.Alpm
|
||||
SIGVALIDITY_UNKNOWN
|
||||
}
|
||||
|
||||
/** Dependency */
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
|
||||
public struct alpm_depend_t
|
||||
{
|
||||
string name;
|
||||
string version;
|
||||
string desc;
|
||||
public ulong name_hash;
|
||||
public alpm_depmod_t mod;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct AlpmDependPtr
|
||||
{
|
||||
private IntPtr ptr;
|
||||
|
||||
public alpm_depend_t Unmarshal()
|
||||
{
|
||||
return Marshal.PtrToStructure<alpm_depend_t>(ptr);
|
||||
}
|
||||
}
|
||||
|
||||
#if JUNK_INCLUDE
|
||||
/** Missing dependency */
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
|
||||
public struct alpm_depmissing_t
|
||||
@@ -146,6 +126,7 @@ namespace Foodsoft.Alpm
|
||||
public string package2;
|
||||
public AlpmDependPtr reason;
|
||||
}
|
||||
#endif
|
||||
|
||||
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
|
||||
/** File conflict */
|
||||
|
||||
Reference in New Issue
Block a user