Skip to content

Commit 4933211

Browse files
authored
nn/uds: Add initial headers (#387)
* nn/uds: Add initial headers * nn/uds: Minor fixes and improvements
1 parent 263c036 commit 4933211

6 files changed

Lines changed: 585 additions & 0 deletions

File tree

include/nn/cfg/CTR.h

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#pragma once
2+
3+
#include <wut.h>
4+
5+
#ifdef __cplusplus
6+
7+
namespace nn {
8+
9+
namespace cfg {
10+
11+
namespace CTR {
12+
13+
//! Represents a console username, used in UDS and DLP
14+
struct UserName {
15+
char16_t name[12];
16+
};
17+
WUT_CHECK_SIZE(UserName, 0x18);
18+
19+
} // namespace CTR
20+
21+
} // namespace cfg
22+
23+
} // namespace nn
24+
25+
#endif

include/nn/uds.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#pragma once
2+
3+
/**
4+
* \defgroup nn_uds nn_uds
5+
* UDS Network functions
6+
*/
7+
8+
#include <nn/uds/Cafe.h>

0 commit comments

Comments
 (0)