summaryrefslogtreecommitdiffhomepage
path: root/src/libSystem/SystemKit/System.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libSystem/SystemKit/System.h')
-rw-r--r--src/libSystem/SystemKit/System.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/libSystem/SystemKit/System.h b/src/libSystem/SystemKit/System.h
index 69cce9a7..7e4a9ae6 100644
--- a/src/libSystem/SystemKit/System.h
+++ b/src/libSystem/SystemKit/System.h
@@ -21,7 +21,8 @@
/// @brief Types API.
// ------------------------------------------------------------------------------------------ //
-/// @brief Reference type, used for all references in the system, such as file descriptors, dylib handles, thread handles, etc.
+/// @brief Reference type, used for all references in the system, such as file descriptors, dylib
+/// handles, thread handles, etc.
struct REF_TYPE {
UInt64 __hash; /// @brief Hash of the syscall
VoidPtr __self; /// @brief Syscall self value.
@@ -398,7 +399,8 @@ IMPORT_C UInt64 StrMathToNumber(const Char* in, const Char** endp, const SInt16
// ------------------------------------------------------------------------------------------ //
/// @brief Create a semaphore.
-IMPORT_C _Output SemaphoreRef SemCreate(_Input UInt32 initial_count, _Input UInt32 max_count, _Input const Char* name);
+IMPORT_C _Output SemaphoreRef SemCreate(_Input UInt32 initial_count, _Input UInt32 max_count,
+ _Input const Char* name);
/// @brief Wait on a semaphore.
IMPORT_C SInt32 SemWait(_Input SemaphoreRef sem);
@@ -406,4 +408,10 @@ IMPORT_C SInt32 SemWait(_Input SemaphoreRef sem);
/// @brief Close a semaphore.
IMPORT_C SInt32 SemClose(_Input SemaphoreRef sem);
+// ------------------------------------------------------------------------------------------ //
+// @brief User AgeAuth API.
+// ------------------------------------------------------------------------------------------ //
+
+IMPORT_C SInt32 UserIsAdult(_Input SInt32 uid);
+
#endif // ifndef SYSTEMKIT_SYSTEM_H