Skip to content

Commit

Permalink
nn/uds: Add initial headers (#387)
Browse files Browse the repository at this point in the history
* nn/uds: Add initial headers

* nn/uds: Minor fixes and improvements
  • Loading branch information
DaniElectra authored Jun 20, 2024
1 parent 263c036 commit 4933211
Show file tree
Hide file tree
Showing 6 changed files with 585 additions and 0 deletions.
25 changes: 25 additions & 0 deletions include/nn/cfg/CTR.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#pragma once

#include <wut.h>

#ifdef __cplusplus

namespace nn {

namespace cfg {

namespace CTR {

//! Represents a console username, used in UDS and DLP
struct UserName {
char16_t name[12];
};
WUT_CHECK_SIZE(UserName, 0x18);

} // namespace CTR

} // namespace cfg

} // namespace nn

#endif
8 changes: 8 additions & 0 deletions include/nn/uds.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#pragma once

/**
* \defgroup nn_uds nn_uds
* UDS Network functions
*/

#include <nn/uds/Cafe.h>
Loading

0 comments on commit 4933211

Please sign in to comment.