summaryrefslogtreecommitdiff
path: root/include/user/np/np_common.h
diff options
context:
space:
mode:
authorReiko Asakura2021-05-05 21:14:22 -0400
committerReiko Asakura2021-05-05 21:14:22 -0400
commit262322d2e7375519da03c6b18d82acff3ad2f830 (patch)
tree679c6aca6b725592d810d4ecbb9029922614b79a /include/user/np/np_common.h
parentImport SceNpCommon NIDs from SDK 3.570 (diff)
downloadvds-libraries-262322d2e7375519da03c6b18d82acff3ad2f830.tar.gz
Add sceNpGetEnvironmentrelease/0.5.0
Diffstat (limited to '')
-rw-r--r--include/user/np/np_common.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/user/np/np_common.h b/include/user/np/np_common.h
new file mode 100644
index 0000000..2495ded
--- /dev/null
+++ b/include/user/np/np_common.h
@@ -0,0 +1,25 @@
+/*
+ Vita Development Suite Libraries
+*/
+
+#ifndef _VDSUITE_USER_NP_NP_COMMON_H
+#define _VDSUITE_USER_NP_NP_COMMON_H
+
+#include_next <np/np_common.h>
+
+#define SCE_NP_ENVIRONMENT_MAX_LENGTH 15
+
+#if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus)
+extern "C" {
+#endif /* defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus) */
+
+int
+sceNpGetEnvironment(
+ char *env
+ );
+
+#if defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus)
+}
+#endif /* defined(_LANGUAGE_C_PLUS_PLUS)||defined(__cplusplus)||defined(c_plusplus) */
+
+#endif /* _VDSUITE_USER_NP_NP_COMMON_H */