mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-22 04:52:39 +02:00
15 lines
363 B
C
15 lines
363 B
C
#pragma once
|
|
#include "types.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 nvChannelSetTimeout(NvChannel* c, u32 timeout);
|
|
Result nvChannelSetNvmapFd(NvChannel* c);
|