summaryrefslogtreecommitdiff
path: root/source3/profile
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-10-02 12:52:05 +0000
committerJeremy Allison <jra@samba.org>2014-10-03 19:55:09 +0200
commit0e1b60e8c3325a1e5ea77f420326b254d5404389 (patch)
tree9095420c7245639aca0c4c2bc73cf70dd2f03fd1 /source3/profile
parentd523e0b7ed67d1697a1b8ab5f58902afd2a496b3 (diff)
downloadsamba-0e1b60e8c3325a1e5ea77f420326b254d5404389.tar.gz
profiling: Move some #defines to profile.c
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/profile')
-rw-r--r--source3/profile/profile.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/profile/profile.c b/source3/profile/profile.c
index e0e468450b7..9ef2c69ff6e 100644
--- a/source3/profile/profile.c
+++ b/source3/profile/profile.c
@@ -25,6 +25,10 @@
#include "messages.h"
#include "smbprofile.h"
+#define PROF_SHMEM_KEY ((key_t)0x07021999)
+#define PROF_SHM_MAGIC 0x6349985
+#define PROF_SHM_VERSION 13
+
#ifdef WITH_PROFILE
#define IPC_PERMS ((S_IRUSR | S_IWUSR) | S_IRGRP | S_IROTH)
#endif /* WITH_PROFILE */