| /CTR-SDK-0.13.2/include/nn/ac/CTR/ |
| D | ac_Api.h | 338 NN_EXTERN_C nnResult nnacInitialize(void); 343 NN_EXTERN_C nnResult nnacFinalize(void); 348 NN_EXTERN_C nnResult nnacCreateDefaultConfig( nnacConfig* config ); 353 NN_EXTERN_C nnResult nnacDebugSetNetworkArea( nnacConfig* config, nnacNetworkArea networkArea ); 358 NN_EXTERN_C nnResult nnacConnect( nnacConfig* config ); 363 NN_EXTERN_C nnResult nnacConnectAsync( nnacConfig* config, nnosEvent* event ); 368 NN_EXTERN_C nnResult nnacCancelConnectAsync(void); 373 NN_EXTERN_C nnResult nnacGetConnectResult(void); 378 NN_EXTERN_C nnResult nnacDebugSetNetworkSetting1( const u8 ssid[], u8 ssidLength, nnacSecurityMode … 383 NN_EXTERN_C nnResult nnacDebugFlushNetworkSetting(void); [all …]
|
| /CTR-SDK-0.13.2/include/nn/http/ |
| D | http_Connection.h | 754 NN_EXTERN_C nnResult nnhttpConnectionInitialize(nnhttpConnection* this_, const char *pUrl, nnHttpRe… 759 NN_EXTERN_C nnResult nnhttpConnectionFinalize(nnhttpConnection* this_); 764 NN_EXTERN_C nnResult nnhttpConnectionConnect(nnhttpConnection* this_); 769 NN_EXTERN_C nnResult nnhttpConnectionConnectAsync(nnhttpConnection* this_); 774 NN_EXTERN_C nnResult nnhttpConnectionCancel(nnhttpConnection* this_); 779 NN_EXTERN_C nnResult nnhttpConnectionRead(nnhttpConnection* this_, u8* pBodyBuf, u32 bufLen); 784 NN_EXTERN_C nnResult nnhttpConnectionGetStatus(const nnhttpConnection* this_, nnHttpStatus* pStatus… 789 NN_EXTERN_C nnResult nnhttpConnectionGetProgress(const nnhttpConnection* this_, u32* pReceivedLen, … 794 NN_EXTERN_C nnResult nnhttpConnectionGetError(const nnhttpConnection* this_, nnHttpResultCode* pRes… 802 NN_EXTERN_C nnResult nnhttpConnectionSetProxy(nnhttpConnection* this_, const char* pProxyName, u16 … [all …]
|
| D | http_CertStore.h | 127 NN_EXTERN_C nnResult nnhttpCertStoreInitialize(nnhttpCertStore* this_); 132 NN_EXTERN_C nnResult nnhttpCertStoreFinalize(nnhttpCertStore* this_); 137 NN_EXTERN_C nnResult nnhttpCertStoreRegisterCert(nnhttpCertStore* this_, const u8* pCertData, size_… 142 NN_EXTERN_C nnResult nnhttpCertStoreRegisterInternalCert(nnhttpCertStore* this_, NnHttpInternalCaCe… 148 NN_EXTERN_C nnResult nnhttpCertStoreUnRegisterCert(nnhttpCertStore* this_, NnHttpCertId certId);
|
| /CTR-SDK-0.13.2/include/nn/os/ |
| D | os_LightEvent.h | 270 NN_EXTERN_C void nnosLightEventInitialize(nnosLightEvent* this_, bool isManualReset); 275 NN_EXTERN_C bool nnosLightEventIsSignaled(nnosLightEvent* this_); 280 NN_EXTERN_C bool nnosLightEventIsManualReset(nnosLightEvent* this_); 285 NN_EXTERN_C bool nnosLightEventTryWait(nnosLightEvent* this_); 290 NN_EXTERN_C void nnosLightEventWait(nnosLightEvent* this_); 295 NN_EXTERN_C void nnosLightEventSignal(nnosLightEvent* this_); 300 NN_EXTERN_C void nnosLightEventPulse(nnosLightEvent* this_); 305 NN_EXTERN_C void nnosLightEventClearSignal(nnosLightEvent* this_); 310 NN_EXTERN_C void nnosLightEventFinalize(nnosLightEvent* this_);
|
| D | os_BlockingQueue.h | 520 NN_EXTERN_C void nnosBlockingQueueInitialize(nnosBlockingQueue* this_, uptr buffer[], size_t size); 525 NN_EXTERN_C bool nnosBlockingQueueTryInitialize(nnosBlockingQueue* this_, uptr buffer[], size_t siz… 530 NN_EXTERN_C void nnosBlockingQueueFinalize(nnosBlockingQueue* this_); 535 NN_EXTERN_C bool nnosBlockingQueueTryEnqueue(nnosBlockingQueue* this_, uptr data); 540 NN_EXTERN_C void nnosBlockingQueueEnqueue(nnosBlockingQueue* this_, uptr data); 545 NN_EXTERN_C bool nnosBlockingQueueTryJam(nnosBlockingQueue* this_, uptr data); 550 NN_EXTERN_C void nnosBlockingQueueJam(nnosBlockingQueue* this_, uptr data); 555 NN_EXTERN_C bool nnosBlockingQueueTryDequeue(nnosBlockingQueue* this_, uptr* pOut); 560 NN_EXTERN_C uptr nnosBlockingQueueDequeue(nnosBlockingQueue* this_); 565 NN_EXTERN_C bool nnosBlockingQueueTryGetFront(nnosBlockingQueue* this_, uptr* pOut); [all …]
|
| D | os_StackMemoryBlock.h | 158 NN_EXTERN_C void nnosStackMemoryBlockInitialize(nnosStackMemoryBlock* p); 163 NN_EXTERN_C void nnosStackMemoryBlockAllocate(nnosStackMemoryBlock* p, size_t size); 168 NN_EXTERN_C void nnosStackMemoryBlockFree(nnosStackMemoryBlock* p); 173 NN_EXTERN_C uptr nnosStackMemoryBlockGetAddress(nnosStackMemoryBlock* p); 178 NN_EXTERN_C size_t nnosStackMemoryBlockGetSize(nnosStackMemoryBlock* p); 183 NN_EXTERN_C uptr nnosStackMemoryBlockGetStackBottom(nnosStackMemoryBlock* p);
|
| D | os_MemoryBlock.h | 172 NN_EXTERN_C void nnosMemoryBlockAllocate(nnosMemoryBlock* p, size_t size); 177 NN_EXTERN_C void nnosMemoryBlockSetReadOnly(nnosMemoryBlock* p, bool readOnly); 182 NN_EXTERN_C void nnosMemoryBlockFree(nnosMemoryBlock* p); 187 NN_EXTERN_C uptr nnosMemoryBlockGetAddress(nnosMemoryBlock* p); 192 NN_EXTERN_C size_t nnosMemoryBlockGetSize(nnosMemoryBlock* p); 197 NN_EXTERN_C bool nnosMemoryBlockIsReadOnly(nnosMemoryBlock* p);
|
| D | os_LightSemaphore.h | 267 NN_EXTERN_C void nnosLightSemaphoreInitialize(nnosLightSemaphore* this_, s32 initialCount, s32 maxC… 272 NN_EXTERN_C s32 nnosLightSemaphoreGetMax(nnosLightSemaphore* p); 277 NN_EXTERN_C s32 nnosLightSemaphoreGetCount(nnosLightSemaphore* p); 282 NN_EXTERN_C s32 nnosLightSemaphoreRelease(nnosLightSemaphore* this_, s32 releaseCount); 287 NN_EXTERN_C void nnosLightSemaphoreAcquire(nnosLightSemaphore* this_); 292 NN_EXTERN_C bool nnosLightSemaphoreTryAcquire(nnosLightSemaphore* this_); 297 NN_EXTERN_C void nnosLightSemaphoreFinalize(nnosLightSemaphore* this_);
|
| D | os_StackMemory.h | 173 NN_EXTERN_C void nnosStackMemoryProtect(nnosStackMemory* p, void* pMem, size_t size); 178 NN_EXTERN_C void nnosStackMemoryUnprotect(nnosStackMemory* p); 183 NN_EXTERN_C uptr nnosStackMemoryGetAddress(nnosStackMemory* p); 188 NN_EXTERN_C size_t nnosStackMemoryGetSize(nnosStackMemory* p); 193 NN_EXTERN_C uptr nnosStackMemoryGetStackBottom(nnosStackMemory* p);
|
| D | os_Tick.h | 155 NN_EXTERN_C inline s64 nnosTickConvertFromNanoSeconds(s64 ns) in nnosTickConvertFromNanoSeconds() 167 NN_EXTERN_C inline s64 nnosTickConvertFromMicroSeconds(s64 us) in nnosTickConvertFromMicroSeconds() 179 NN_EXTERN_C inline s64 nnosTickConvertFromMilliSeconds(s64 ms) in nnosTickConvertFromMilliSeconds() 191 NN_EXTERN_C inline s64 nnosTickConvertFromSeconds(s64 s) in nnosTickConvertFromSeconds() 203 NN_EXTERN_C inline s64 nnosTickConvertToNanoSeconds(s64 tick) in nnosTickConvertToNanoSeconds() 215 NN_EXTERN_C inline s64 nnosTickConvertToMicroSeconds(s64 tick) in nnosTickConvertToMicroSeconds() 227 NN_EXTERN_C inline s64 nnosTickConvertToMilliSeconds(s64 tick) in nnosTickConvertToMilliSeconds() 239 NN_EXTERN_C inline s64 nnosTickConvertToSeconds(s64 tick) in nnosTickConvertToSeconds() 247 NN_EXTERN_C s64 nnosTickGetSystemCurrent(void);
|
| D | os_SharedMemory.h | 74 NN_EXTERN_C void nnosSharedMemoryBlockAllocate(nnosSharedMemoryBlock* this_, size_t size, bool read… 75 NN_EXTERN_C void nnosSharedMemoryBlockInitializeNoAllocate(nnosSharedMemoryBlock* this_); 76 NN_EXTERN_C void nnosSharedMemoryBlockFree(nnosSharedMemoryBlock* this_); 77 NN_EXTERN_C uptr nnosSharedMemoryBlockGetAddress(nnosSharedMemoryBlock* this_); 78 NN_EXTERN_C size_t nnosSharedMemoryBlockGetSize(nnosSharedMemoryBlock* this_); 79 NN_EXTERN_C bool nnosSharedMemoryBlockIsReadOnly(nnosSharedMemoryBlock* this_);
|
| D | os_Timer.h | 259 NN_EXTERN_C void nnosTimerInitialize(nnosTimer* this_, bool isManualReset); 264 NN_EXTERN_C bool nnosTimerTryInitialize(nnosTimer* this_, bool isManualReset); 269 NN_EXTERN_C void nnosTimerStartPeriodic(nnosTimer* this_, s64 first, s64 interval); 274 NN_EXTERN_C void nnosTimerStartOneShot(nnosTimer* this_, s64 time); 279 NN_EXTERN_C void nnosTimerWait(nnosTimer* this_); 284 NN_EXTERN_C void nnosTimerStop(nnosTimer* this_); 289 NN_EXTERN_C void nnosTimerClearSignal(nnosTimer* this_); 294 NN_EXTERN_C void nnosTimerFinalize(nnosTimer* this_); 299 NN_EXTERN_C void nnosTimerSignal(nnosTimer* this_);
|
| D | os_Mutex.h | 243 NN_EXTERN_C void nnosMutexInitialize(nnosMutex* this_, bool initialLocked); 248 NN_EXTERN_C bool nnosMutexTryInitialize(nnosMutex* this_, bool initialLocked); 253 NN_EXTERN_C void nnosMutexLock(nnosMutex* this_); 258 NN_EXTERN_C bool nnosMutexTryLock(nnosMutex* this_, s64 timeout); 263 NN_EXTERN_C void nnosMutexUnlock(nnosMutex* this_); 268 NN_EXTERN_C void nnosMutexFinalize(nnosMutex* this_);
|
| D | os_Event.h | 234 NN_EXTERN_C void nnosEventInitialize(nnosEvent* this_, bool manualReset); 239 NN_EXTERN_C bool nnosEventTryInitialize(nnosEvent* this_, bool manualReset); 244 NN_EXTERN_C void nnosEventSignal(nnosEvent* this_); 249 NN_EXTERN_C void nnosEventWaitSignal(nnosEvent* this_); 254 NN_EXTERN_C bool nnosEventTryWaitSignal(nnosEvent* this_, s64 nanoSecondsTimeout); 259 NN_EXTERN_C void nnosEventClearSignal(nnosEvent* this_); 264 NN_EXTERN_C void nnosEventFinalize(nnosEvent* this_);
|
| D | os_CriticalSection.h | 311 NN_EXTERN_C void nnosCriticalSectionInitialize(nnosCriticalSection* this_); 316 NN_EXTERN_C bool nnosCriticalSectionTryInitialize(nnosCriticalSection* this_); 321 NN_EXTERN_C void nnosCriticalSectionEnter(nnosCriticalSection* this_); 326 NN_EXTERN_C bool nnosCriticalSectionTryEnter(nnosCriticalSection* this_); 331 NN_EXTERN_C void nnosCriticalSectionLeave(nnosCriticalSection* this_); 336 NN_EXTERN_C void nnosCriticalSectionFinalize(nnosCriticalSection* this_);
|
| D | os_ThreadPool.h | 289 NN_EXTERN_C void nnosThreadPoolTaskInitialize(nnosThreadPoolTask* this_, void (*f)(uptr), uptr para… 295 NN_EXTERN_C void nnosThreadPoolTaskFinalize(nnosThreadPoolTask* this_); 311 NN_EXTERN_C void nnosThreadPoolWaitTaskInitialize(nnosThreadPoolWaitTask* this_, nnosWaitObject* wa… 316 NN_EXTERN_C void nnosThreadPoolWaitTaskFinalize(nnosThreadPoolWaitTask* this_); 332 NN_EXTERN_C void nnosThreadPoolInitialize(nnosThreadPool* this_, void* workBuffer, size_t numMaxWai… 334 NN_EXTERN_C void nnosThreadPoolInitializeWithStackMemoryBlock(nnosThreadPool* this_, void* workBuff… 340 NN_EXTERN_C void nnosThreadPoolFinalize(nnosThreadPool* this_); 345 NN_EXTERN_C void nnosThreadPoolAddWaitTask(nnosThreadPool* this_, nnosThreadPoolWaitTask* task); 350 NN_EXTERN_C void nnosThreadPoolAddTask(nnosThreadPool* this_, nnosThreadPoolTask* task); 355 NN_EXTERN_C size_t nnosThreadPoolGetWorkBufferSize(size_t numMaxWaitObjects, size_t numWorkerThread…
|
| D | os_Semaphore.h | 214 NN_EXTERN_C void nnosSemaphoreInitialize(nnosSemaphore* this_, s32 initialCount, s32 maxCount); 219 NN_EXTERN_C bool nnosSemaphoreTryInitialize(nnosSemaphore* this_, s32 initialCount, s32 maxCount); 224 NN_EXTERN_C s32 nnosSemaphoreRelease(nnosSemaphore* this_, s32 releaseCount); 229 NN_EXTERN_C void nnosSemaphoreAcquire(nnosSemaphore* this_); 234 NN_EXTERN_C bool nnosSemaphoreTryAcquire(nnosSemaphore* this_, s64 nanoSeconds); 239 NN_EXTERN_C void nnosSemaphoreFinalize(nnosSemaphore* this_);
|
| /CTR-SDK-0.13.2/include/nn/ssl/ |
| D | ssl_Connection.h | 365 NN_EXTERN_C bool nnsslConnectionAssignSocket(nnsslConnection* this_, s32 socket); 370 NN_EXTERN_C nnResult nnsslConnectionAssignServer(nnsslConnection* this_, const char* pServerName, u… 375 NN_EXTERN_C nnResult nnsslConnectionSetServerCertBuffer(nnsslConnection* this_, uptr bufferAddress,… 380 NN_EXTERN_C nnResult nnsslConnectionShutdown(nnsslConnection* this_); 385 NN_EXTERN_C nnResult nnsslConnectionDoHandshake(nnsslConnection* this_); 390 NN_EXTERN_C nnResult nnsslConnectionDoHandshakeEx(nnsslConnection* this_, size_t* pServerCertSize, … 395 NN_EXTERN_C nnResult nnsslConnectionRead(nnsslConnection* this_, u8* pDataBuf, size_t dataBufSize, … 400 NN_EXTERN_C nnResult nnsslConnectionPeek(nnsslConnection* this_, u8* pDataBuf, size_t dataBufSize, … 405 NN_EXTERN_C nnResult nnsslConnectionWrite(nnsslConnection* this_, const u8* pDataBuf, size_t dataBu… 410 NN_EXTERN_C nnResult nnsslConnectionSetServerCertStore(nnsslConnection* this_, nnsslCertStore* cert… [all …]
|
| D | ssl_CertStore.h | 132 NN_EXTERN_C nnResult nnsslCertStoreInitialize(nnsslCertStore* this_); 137 NN_EXTERN_C nnResult nnsslCertStoreFinalize(nnsslCertStore* this_); 142 NN_EXTERN_C nnResult nnsslCertStoreRegisterCert(nnsslCertStore* this_, const u8* pCertData, size_t … 147 NN_EXTERN_C nnResult nnsslCertStoreRegistByInternalCert(nnsslCertStore* this_, NnSslInternalCaCert … 154 NN_EXTERN_C nnResult nnsslCertStoreUnRegisterCert(nnsslCertStore* this_, NnSslCertId certId);
|
| D | ssl_CrlStore.h | 133 NN_EXTERN_C nnResult nnsslCrlStoreInitialize(nnsslCrlStore* this_); 138 NN_EXTERN_C nnResult nnsslCrlStoreFinalize(nnsslCrlStore* this_); 143 NN_EXTERN_C nnResult nnsslCrlStoreRegisterCrl(nnsslCrlStore* this_, const u8* pCrlData, size_t cert… 148 NN_EXTERN_C nnResult nnsslCrlStoreRegistByInternalCrl(nnsslCrlStore* this_, NnSslInternalCrl certId… 154 NN_EXTERN_C nnResult nnsslCrlStoreUnRegisterCrl(nnsslCrlStore* this_, NnSslCertId certId);
|
| /CTR-SDK-0.13.2/include/nn/util/detail/ |
| D | util_CLibImpl.h | 32 #define NN_EXTERN_C extern "C" macro 42 #define NN_EXTERN_C extern macro 54 NN_EXTERN_C toC* name(fromC*); \ 55 NN_EXTERN_C const toC* name##Const(const fromC*) 58 …NN_EXTERN_C toC* name(fromC* p) { return reinterpret_cast<toC*>(static_cast<toCpp*>(reinterpret_ca… 59 …NN_EXTERN_C const toC* name##Const(const fromC* p) { return reinterpret_cast<const toC*>(static_ca…
|
| /CTR-SDK-0.13.2/include/nn/nstd/ |
| D | nstd_Printf.h | 68 NN_EXTERN_C s32 nnnstdTVSNPrintf(char *dst, size_t len, const char *fmt, va_list vlist); 69 NN_EXTERN_C s32 nnnstdTSNPrintf(char *dst, size_t len, const char *fmt, ...); 70 NN_EXTERN_C s32 nnnstdTSPrintf(char *dst, const char *fmt, ...); 71 NN_EXTERN_C s32 nnnstdTVSNWPrintf(wchar_t *dst, size_t len, const wchar_t *fmt, va_list vlist); 72 NN_EXTERN_C s32 nnnstdTSNWPrintf(wchar_t *dst, size_t len, const wchar_t *fmt, ...); 73 NN_EXTERN_C s32 nnnstdTSWPrintf(wchar_t *dst, const wchar_t *fmt, ...);
|
| /CTR-SDK-0.13.2/include/nn/net/osl/ |
| D | osl_Mbuf.h | 85 NN_EXTERN_C nnnetOslMbuf* nnnetOslMbuf_getm (u32 name, nnnetOslMbuf *orig, s32 len, s32 how… 86 NN_EXTERN_C void nnnetOslMbuf_freem (nnnetOslMbuf* pMbuf_); 87 NN_EXTERN_C s32 nnnetOslMbuf_adj (nnnetOslMbuf* pMbuf_, s32 len); 88 NN_EXTERN_C s32 nnnetOslMbuf_append (nnnetOslMbuf* pMbuf_, s32 len, const u8 *cp); 89 NN_EXTERN_C nnnetOslMbuf* nnnetOslMbuf_prepend_a (nnnetOslMbuf* pMbuf_, s32 len, int how); 90 NN_EXTERN_C nnnetOslMbuf* nnnetOslMbuf_pullup (nnnetOslMbuf* pMbuf_, s32 len); 91 NN_EXTERN_C nnnetOslMbuf* nnnetOslMbuf_dup (nnnetOslMbuf* pMbuf_, int how); 92 NN_EXTERN_C s32 nnnetOslMbuf_copydata (const nnnetOslMbuf* pMbuf_, s32 offset, s32 le… 93 NN_EXTERN_C s32 nnnetOslMbuf_copyback (nnnetOslMbuf* pMbuf_, s32 offset, s32 len, con… 94 NN_EXTERN_C s32 nnnetOslMbuf_cat (nnnetOslMbuf* pMbuf_, nnnetOslMbuf *n); [all …]
|
| D | osl_EventFlag.h | 121 NN_EXTERN_C void nnnetOslEventFlagInitialize(nnnetOslEventFlag* this_); 122 NN_EXTERN_C bool nnnetOslEventFlagTryInitialize(nnnetOslEventFlag* this_); 123 NN_EXTERN_C void nnnetOslEventFlagSignal(nnnetOslEventFlag* this_, bit32 pattern); 124 NN_EXTERN_C bit32 nnnetOslEventFlagWaitSignal(nnnetOslEventFlag* this_, bit32 pattern, nnnetOslWait… 125 NN_EXTERN_C void nnnetOslEventFlagClearSignal(nnnetOslEventFlag* this_, bit32 pattern); 126 NN_EXTERN_C bit32 nnnetOslEventFlagWaitAndClear(nnnetOslEventFlag* this_, bit32 pattern, nnnetOslWa… 127 NN_EXTERN_C void nnnetOslEventFlagFinalize(nnnetOslEventFlag* this_);
|
| /CTR-SDK-0.13.2/sources/libraries/os/ |
| D | os_AddressSpaceManager.h | 139 NN_EXTERN_C void nnosAddressSpaceManagerInitialize(nnosAddressSpaceManager* p, uptr begin, size_t s… 144 NN_EXTERN_C uptr nnosAddressSpaceManagerAllocate(nnosAddressSpaceManager* p, nnosMemoryBlockBase* p… 149 NN_EXTERN_C void nnosAddressSpaceManagerFree(nnosAddressSpaceManager* p, nnosMemoryBlockBase* pBloc… 154 NN_EXTERN_C void nnosAddressSpaceManagerSwitch(nnosAddressSpaceManager* p, nnosMemoryBlockBase* pTo…
|