mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-21 10:41:41 +00:00
b662a26c7e
* nifm/ssl: Implement GetCurrentNetworkProfile and stub Ssl Service * remove InterfaceVersion
27 lines
No EOL
847 B
C#
27 lines
No EOL
847 B
C#
using LibHac.Common;
|
|
using Ryujinx.Common.Memory;
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Nifm.StaticService.Types
|
|
{
|
|
[StructLayout(LayoutKind.Sequential, Pack = 1, Size = 0xaa)]
|
|
public struct ProxySetting
|
|
{
|
|
[MarshalAs(UnmanagedType.I1)]
|
|
public bool Enabled;
|
|
private byte _padding;
|
|
public short Port;
|
|
private NameStruct _name;
|
|
[MarshalAs(UnmanagedType.I1)]
|
|
public bool AutoAuthEnabled;
|
|
public Array32<byte> User;
|
|
public Array32<byte> Pass;
|
|
private byte _padding2;
|
|
|
|
[StructLayout(LayoutKind.Sequential, Size = 0x64)]
|
|
private struct NameStruct { }
|
|
|
|
public Span<byte> Name => SpanHelpers.AsSpan<NameStruct, byte>(ref _name);
|
|
}
|
|
} |