mirror of
https://github.com/claunia/Claunia.IO.git
synced 2025-12-16 19:24:44 +00:00
Correct extern declarations.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2015-05-03 Natalia Portillo <claunia@claunia.com>
|
||||||
|
|
||||||
|
* Interop/FreeBSD/Interop.FreeBSD.extattr.cs:
|
||||||
|
Correct extern declarations.
|
||||||
|
|
||||||
2015-05-03 Natalia Portillo <claunia@claunia.com>
|
2015-05-03 Natalia Portillo <claunia@claunia.com>
|
||||||
|
|
||||||
* Claunia.IO.csproj:
|
* Claunia.IO.csproj:
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ internal static partial class Interop
|
|||||||
/// <param name="data">Pointer to buffer where to store the data.</param>
|
/// <param name="data">Pointer to buffer where to store the data.</param>
|
||||||
/// <param name="nbytes">Size of the buffer.</param>
|
/// <param name="nbytes">Size of the buffer.</param>
|
||||||
[DllImport(Libraries.Libc, SetLastError = true, CharSet = CharSet.Ansi)]
|
[DllImport(Libraries.Libc, SetLastError = true, CharSet = CharSet.Ansi)]
|
||||||
Int64 extattr_get_file(string path, attrNamespace attrnamespace, string attrname, IntPtr data, Int64 nbytes);
|
public static extern Int64 extattr_get_file(string path, attrNamespace attrnamespace, string attrname, IntPtr data, Int64 nbytes);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sets an extended attribute value
|
/// Sets an extended attribute value
|
||||||
@@ -70,7 +70,7 @@ internal static partial class Interop
|
|||||||
/// <param name="data">Pointer where the data is stored.</param>
|
/// <param name="data">Pointer where the data is stored.</param>
|
||||||
/// <param name="nbytes">Size of the data.</param>
|
/// <param name="nbytes">Size of the data.</param>
|
||||||
[DllImport(Libraries.Libc, SetLastError = true, CharSet = CharSet.Ansi)]
|
[DllImport(Libraries.Libc, SetLastError = true, CharSet = CharSet.Ansi)]
|
||||||
Int64 extattr_set_file(string path, attrNamespace attrnamespace, string attrname, IntPtr data, Int64 nbytes);
|
public static extern Int64 extattr_set_file(string path, attrNamespace attrnamespace, string attrname, IntPtr data, Int64 nbytes);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Deletes an extended attribute value
|
/// Deletes an extended attribute value
|
||||||
@@ -83,7 +83,7 @@ internal static partial class Interop
|
|||||||
/// <param name="data">Pointer to buffer where the data is stored.</param>
|
/// <param name="data">Pointer to buffer where the data is stored.</param>
|
||||||
/// <param name="nbytes">Size of the pointer.</param>
|
/// <param name="nbytes">Size of the pointer.</param>
|
||||||
[DllImport(Libraries.Libc, SetLastError = true, CharSet = CharSet.Ansi)]
|
[DllImport(Libraries.Libc, SetLastError = true, CharSet = CharSet.Ansi)]
|
||||||
Int64 extattr_delete_file(string path, attrNamespace attrnamespace, string attrname);
|
public static extern Int64 extattr_delete_file(string path, attrNamespace attrnamespace, string attrname);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a list of extended attributes that the file has in that namespace
|
/// Gets a list of extended attributes that the file has in that namespace
|
||||||
@@ -98,7 +98,7 @@ internal static partial class Interop
|
|||||||
/// <param name="data">Pointer to buffer where to store the list.</param>
|
/// <param name="data">Pointer to buffer where to store the list.</param>
|
||||||
/// <param name="nbytes">Size of the buffer.</param>
|
/// <param name="nbytes">Size of the buffer.</param>
|
||||||
[DllImport(Libraries.Libc, SetLastError = true, CharSet = CharSet.Ansi)]
|
[DllImport(Libraries.Libc, SetLastError = true, CharSet = CharSet.Ansi)]
|
||||||
Int64 extattr_list_file(string path, attrNamespace attrnamespace, IntPtr data, Int64 nbytes);
|
public static extern Int64 extattr_list_file(string path, attrNamespace attrnamespace, IntPtr data, Int64 nbytes);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets an extended attribute value
|
/// Gets an extended attribute value
|
||||||
@@ -112,7 +112,7 @@ internal static partial class Interop
|
|||||||
/// <param name="data">Pointer to buffer where to store the data.</param>
|
/// <param name="data">Pointer to buffer where to store the data.</param>
|
||||||
/// <param name="nbytes">Size of the buffer.</param>
|
/// <param name="nbytes">Size of the buffer.</param>
|
||||||
[DllImport(Libraries.Libc, SetLastError = true, CharSet = CharSet.Ansi, EntryPoint = "extattr_get_file")]
|
[DllImport(Libraries.Libc, SetLastError = true, CharSet = CharSet.Ansi, EntryPoint = "extattr_get_file")]
|
||||||
Int32 extattr_get_file32(string path, attrNamespace attrnamespace, string attrname, IntPtr data, Int32 nbytes);
|
public static extern Int32 extattr_get_file32(string path, attrNamespace attrnamespace, string attrname, IntPtr data, Int32 nbytes);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sets an extended attribute value
|
/// Sets an extended attribute value
|
||||||
@@ -126,7 +126,7 @@ internal static partial class Interop
|
|||||||
/// <param name="data">Pointer where the data is stored.</param>
|
/// <param name="data">Pointer where the data is stored.</param>
|
||||||
/// <param name="nbytes">Size of the data.</param>
|
/// <param name="nbytes">Size of the data.</param>
|
||||||
[DllImport(Libraries.Libc, SetLastError = true, CharSet = CharSet.Ansi, EntryPoint = "extattr_set_file")]
|
[DllImport(Libraries.Libc, SetLastError = true, CharSet = CharSet.Ansi, EntryPoint = "extattr_set_file")]
|
||||||
Int32 extattr_set_file32(string path, attrNamespace attrnamespace, string attrname, IntPtr data, Int32 nbytes);
|
public static extern Int32 extattr_set_file32(string path, attrNamespace attrnamespace, string attrname, IntPtr data, Int32 nbytes);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Deletes an extended attribute value
|
/// Deletes an extended attribute value
|
||||||
@@ -140,7 +140,7 @@ internal static partial class Interop
|
|||||||
/// <param name="data">Pointer to buffer where the data is stored.</param>
|
/// <param name="data">Pointer to buffer where the data is stored.</param>
|
||||||
/// <param name="nbytes">Size of the pointer.</param>
|
/// <param name="nbytes">Size of the pointer.</param>
|
||||||
[DllImport(Libraries.Libc, SetLastError = true, CharSet = CharSet.Ansi, EntryPoint = "extattr_delete_file")]
|
[DllImport(Libraries.Libc, SetLastError = true, CharSet = CharSet.Ansi, EntryPoint = "extattr_delete_file")]
|
||||||
Int32 extattr_delete_file32(string path, attrNamespace attrnamespace, string attrname);
|
public static extern Int32 extattr_delete_file32(string path, attrNamespace attrnamespace, string attrname);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets a list of extended attributes that the file has in that namespace
|
/// Gets a list of extended attributes that the file has in that namespace
|
||||||
@@ -156,7 +156,7 @@ internal static partial class Interop
|
|||||||
/// <param name="data">Pointer to buffer where to store the list.</param>
|
/// <param name="data">Pointer to buffer where to store the list.</param>
|
||||||
/// <param name="nbytes">Size of the buffer.</param>
|
/// <param name="nbytes">Size of the buffer.</param>
|
||||||
[DllImport(Libraries.Libc, SetLastError = true, CharSet = CharSet.Ansi, EntryPoint = "extattr_list_file")]
|
[DllImport(Libraries.Libc, SetLastError = true, CharSet = CharSet.Ansi, EntryPoint = "extattr_list_file")]
|
||||||
Int32 extattr_list_file32(string path, attrNamespace attrnamespace, IntPtr data, Int32 nbytes);
|
public static extern Int32 extattr_list_file32(string path, attrNamespace attrnamespace, IntPtr data, Int32 nbytes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user