mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-05 10:52:15 +02:00
13 lines
295 B
C
13 lines
295 B
C
#include "ioctl.h"
|
|
|
|
typedef struct NvChannel {
|
|
u32 fd;
|
|
bool has_init;
|
|
} NvChannel;
|
|
|
|
Result nvChannelCreate(NvChannel* c, const char* dev);
|
|
void nvChannelClose(NvChannel* c);
|
|
|
|
Result nvChannelSetPriority(NvChannel* c, NvChannelPriority prio);
|
|
Result nvChannelSetNvmapFd(NvChannel* c);
|