XenevaOS
Loading...
Searching...
No Matches
_xeneva.h
Go to the documentation of this file.
1
32#ifndef __XENEVA_H__
33#define __XENEVA_H__
34
35#include <stdint.h>
36
41#ifdef YES_DYNAMIC
42#define XE_EXPORT __declspec(dllexport)
43#define XE_IMPORT __declspec(dllimport)
44#else
45/* nothing to define here*/
46#define XE_EXPORT
47#define XE_IMPORT
48#endif
49
50#define XE_EXTERN extern "C"
51
52#define XE_API XE_EXTERN
53#define XE_MAIN XE_EXPORT
54
55#define XE_LIB XE_EXPORT
56
57
58#define AURORA_SYSCALL_MAGIC 0x15062023
59
60#ifdef _MSC_VER
61#define INLINE __inline
62#else
63#define INLINE inline
64#endif
65
66#ifdef __cplusplus
68#endif
69
73 XE_LIB void _KePrint(const char* text,...);
74
75 XE_LIB void _XESetEnvironmentVariable(char* key, char* value, bool overwrite);
76
77 XE_LIB int _XEPutEnvironmentVariable(char* keyval);
78
79 XE_LIB const char* _XEGetEnvironmentVariable(const char* key);
80
81#ifdef __cplusplus
82}
83#endif
84
85
86#endif
#define XE_LIB
Definition _xeneva.h:55
XE_LIB int _XEPutEnvironmentVariable(char *keyval)
Definition _xeneva.cpp:105
#define XE_EXTERN
Definition _xeneva.h:50
XE_LIB const char * _XEGetEnvironmentVariable(const char *key)
Definition _xeneva.cpp:140
XE_LIB void _XESetEnvironmentVariable(char *key, char *value, bool overwrite)
Definition _xeneva.cpp:57
XE_LIB void _KePrint(const char *text,...)
_KePrint – kernel printing function, uses kernel serial console to print strings