mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
13 lines
266 B
C
13 lines
266 B
C
#pragma once
|
|
#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);
|