mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
25 lines
684 B
C
25 lines
684 B
C
/**
|
|
* @file capmtp.h
|
|
* @brief capmtp service IPC wrapper.
|
|
* @note Only available on [11.0.0+].
|
|
* @author Behemoth
|
|
*/
|
|
#pragma once
|
|
#include "../types.h"
|
|
#include "../kernel/event.h"
|
|
#include "../sf/service.h"
|
|
|
|
Result capmtpInitialize(void* mem, size_t size, u32 app_count, u32 max_img, u32 max_vid, const char *other_name);
|
|
void capmtpExit(void);
|
|
|
|
Service* capmtpGetRootServiceSession(void);
|
|
Service* capmtpGetServiceSession(void);
|
|
|
|
Result capmtpStartCommandHandler(void);
|
|
Result capmtpStopCommandHandler(void);
|
|
bool capmtpIsRunning(void);
|
|
Event *capmtpGetConnectionEvent(void);
|
|
bool capmtpIsConnected(void);
|
|
Event *capmtpGetScanErrorEvent(void);
|
|
Result capmtpGetScanError(void);
|