Code Review
/
o-du
/
l2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Memory handling fixes [Issue-ID: ODUHIGH-337]"
[o-du/l2.git]
/
src
/
o1
/
GlobalDefs.hpp
diff --git
a/src/o1/GlobalDefs.hpp
b/src/o1/GlobalDefs.hpp
index
0f8d42a
..
759e725
100644
(file)
--- a/
src/o1/GlobalDefs.hpp
+++ b/
src/o1/GlobalDefs.hpp
@@
-22,6
+22,9
@@
#define __GLOBAL_DEFS_HPP__
#include <syslog.h>
#define __GLOBAL_DEFS_HPP__
#include <syslog.h>
+#include <string>
+
+using std::string;
#define O1_LOG(...) ( {\
printf(__VA_ARGS__);\
#define O1_LOG(...) ( {\
printf(__VA_ARGS__);\
@@
-38,9
+41,10
@@
class O1
{
public:
class O1
{
public:
- static const short TCP_PORT;
static const int SUCCESS;
static const int FAILURE;
static const int SUCCESS;
static const int FAILURE;
+ static const string ALARM_SOCK_PATH;
+ static const int CPU_CORE;
};
#endif
};
#endif