Module: kamailio
Branch: master
Commit: b6e8422b8969daabb1259f00edc17f580a96e90f
URL: https://github.com/kamailio/kamailio/commit/b6e8422b8969daabb1259f00edc17f5…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-12-26T21:29:33+01:00
Makefile: remove "pingtel hack" #define from 2002 in Makefile
---
Modified: src/Makefile.defs
---
Diff: https://github.com/kamailio/kamailio/commit/b6e8422b8969daabb1259f00edc17f5…
Patch: https://github.com/kamailio/kamailio/commit/b6e8422b8969daabb1259f00edc17f5…
---
diff --git a/src/Makefile.defs b/src/Makefile.defs
index 3512666e0e..09260d1cbd 100644
--- a/src/Makefile.defs
+++ b/src/Makefile.defs
@@ -575,10 +575,6 @@ data_target = $(prefix)/$(data_dir)
# -DNOSMP
# don't use smp compliant locking (faster but won't work on SMP machines)
# (not yet enabled) (FAST_LOCK)
-# -DNO_PINGTEL_TAG_HACK
-# if enabled, To-header-field will be less liberal and will not accept
-# 'tag=' (tag parameter with equal sign and without value); it is called
-# this way because such message was sighted from a Pingtel phone
# -DUSE_TCP
# compiles in tcp support
# -DDISABLE_NAGLE
Module: kamailio
Branch: master
Commit: 47b9c44f06102b6dc26eb3ac06e49c63bfe6849b
URL: https://github.com/kamailio/kamailio/commit/47b9c44f06102b6dc26eb3ac06e49c6…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-12-26T21:13:46+01:00
core: remove the empty mem.c and shm_mem.c files, after change in 63cc0c1df1013
---
Removed: src/core/mem/mem.c
Removed: src/core/mem/shm_mem.c
---
Diff: https://github.com/kamailio/kamailio/commit/47b9c44f06102b6dc26eb3ac06e49c6…
Patch: https://github.com/kamailio/kamailio/commit/47b9c44f06102b6dc26eb3ac06e49c6…
---
diff --git a/src/core/mem/mem.c b/src/core/mem/mem.c
deleted file mode 100644
index 9af7e5052a..0000000000
--- a/src/core/mem/mem.c
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2001-2003 FhG Fokus
- *
- * This file is part of Kamailio, a free SIP server.
- *
- * Permission to use, copy, modify, and distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- *
- *
- */
-
-/**
- * \file
- * \brief Main definitions for memory manager
- *
- * Main definitions for memory manager, like malloc, free and realloc
- * \ingroup mem
- */
-
-
-#include <stdio.h>
-#include <stdlib.h>
-#include "../config.h"
-#include "../dprint.h"
-#include "../globals.h"
-#include "mem.h"
-
-#ifdef PKG_MALLOC
-#include "q_malloc.h"
-#endif
-
-#include "shm_mem.h"
diff --git a/src/core/mem/shm_mem.c b/src/core/mem/shm_mem.c
deleted file mode 100644
index a94b79889e..0000000000
--- a/src/core/mem/shm_mem.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Copyright (C) 2001-2003 FhG Fokus
- *
- * This file is part of Kamailio, a free SIP server.
- *
- * Permission to use, copy, modify, and distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
-
-/**
- * \file
- * \brief Shared memory functions
- * \ingroup mem
- */
-
-
Module: kamailio
Branch: master
Commit: 0999f108c91bdcfed91878241345fb24da3fc2a7
URL: https://github.com/kamailio/kamailio/commit/0999f108c91bdcfed91878241345fb2…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-12-26T21:12:42+01:00
core: add doxygen file header to current memory manager
---
Modified: src/core/mem/pkg.c
Modified: src/core/mem/pkg.h
Modified: src/core/mem/shm.c
Modified: src/core/mem/shm.h
---
Diff: https://github.com/kamailio/kamailio/commit/0999f108c91bdcfed91878241345fb2…
Patch: https://github.com/kamailio/kamailio/commit/0999f108c91bdcfed91878241345fb2…
---
diff --git a/src/core/mem/pkg.c b/src/core/mem/pkg.c
index f1e616eca6..57d7ea051d 100644
--- a/src/core/mem/pkg.c
+++ b/src/core/mem/pkg.c
@@ -16,6 +16,13 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+/**
+ * \file
+ * \brief Main definitions for memory manager
+ *
+ * Main definitions for PKG memory manager, like malloc, free and realloc
+ * \ingroup mem
+ */
#include <string.h>
#include <stdlib.h>
diff --git a/src/core/mem/pkg.h b/src/core/mem/pkg.h
index 0fe7f8942c..7b57719e46 100644
--- a/src/core/mem/pkg.h
+++ b/src/core/mem/pkg.h
@@ -16,6 +16,13 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+/**
+ * \file
+ * \brief Main definitions for memory manager
+ *
+ * Main definitions for PKG memory manager, like malloc, free and realloc
+ * \ingroup mem
+ */
#ifndef _sr_pkg_h_
#define _sr_pkg_h_
diff --git a/src/core/mem/shm.c b/src/core/mem/shm.c
index 2cecb1110e..b25fef1a51 100644
--- a/src/core/mem/shm.c
+++ b/src/core/mem/shm.c
@@ -16,6 +16,12 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+/**
+ * \file
+ * \brief Shared memory functions
+ * \ingroup mem
+ */
+
#include <stdlib.h>
#include "../config.h"
diff --git a/src/core/mem/shm.h b/src/core/mem/shm.h
index e36a94accc..4143462617 100644
--- a/src/core/mem/shm.h
+++ b/src/core/mem/shm.h
@@ -16,6 +16,11 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+/**
+ * \file
+ * \brief Shared memory functions
+ * \ingroup mem
+ */
#ifndef _sr_shm_h_
#define _sr_shm_h_
Module: kamailio
Branch: master
Commit: 63cc0c1df10138428473f17726c8b5ee336755ce
URL: https://github.com/kamailio/kamailio/commit/63cc0c1df10138428473f17726c8b5e…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-12-26T21:04:02+01:00
core: remove old memory managers, deactivated in 2015
- remove old memory PKG and SHM manager from core, it was deactivated in 2015
in commit 50df0feecc34e and bf3e80bdf711 from Daniel with an #ifdef 0
- modules should include for SHM memory the header "shm.h" instead of the old
header "shm_mem.h", this is kept for compatibility reasons
- no functional changes
---
Modified: src/core/mem/mem.c
Modified: src/core/mem/mem.h
Modified: src/core/mem/shm_mem.c
Modified: src/core/mem/shm_mem.h
---
Diff: https://github.com/kamailio/kamailio/commit/63cc0c1df10138428473f17726c8b5e…
Patch: https://github.com/kamailio/kamailio/commit/63cc0c1df10138428473f17726c8b5e…