[PATCH] libosmocore[master]: core/logging.h: Add logging category for jitter buffer

2018-02-27 Thread Pau Espin Pedrol
Hello Jenkins Builder,

I'd like you to reexamine a change.  Please visit

https://gerrit.osmocom.org/6969

to look at the new patch set (#2).

core/logging.h: Add logging category for jitter buffer

Forthcoming jitter buffer code in libosmo-netif will make use of it.

Change-Id: I2434f9dfa401f736bc62a2ddce920e587cd8c517
---
M include/osmocom/core/logging.h
M src/logging.c
2 files changed, 7 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/69/6969/2

diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h
index 617d78e..e68f618 100644
--- a/include/osmocom/core/logging.h
+++ b/include/osmocom/core/logging.h
@@ -121,7 +121,8 @@
 #define DLSUA  -15 /*!< Osmocom SUA */
 #define DLM3UA -16 /*!< Osmocom M3UA */
 #define DLMGCP -17 /*!< Osmocom MGCP */
-#define OSMO_NUM_DLIB  17  /*!< Number of logging sub-systems in libraries 
*/
+#define DLJIBUF-18 /*!< Osmocom Jitter Buffer */
+#define OSMO_NUM_DLIB  18  /*!< Number of logging sub-systems in libraries 
*/
 
 /*! Configuration of single log category / sub-system */
 struct log_category {
diff --git a/src/logging.c b/src/logging.c
index 66074ea..147b1fb 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -168,6 +168,11 @@
.description = "libosmo-mgcp Media Gateway Control Protocol",
.enabled = 1, .loglevel = LOGL_NOTICE,
},
+   [INT2IDX(DLJIBUF)] = {
+   .name = "DLJIBUF",
+   .description = "libosmo-netif Jitter Buffer",
+   .enabled = 1, .loglevel = LOGL_NOTICE,
+   },
 };
 
 /*! descriptive string for each log level */

-- 
To view, visit https://gerrit.osmocom.org/6969
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I2434f9dfa401f736bc62a2ddce920e587cd8c517
Gerrit-PatchSet: 2
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol 
Gerrit-Reviewer: Jenkins Builder


[PATCH] libosmocore[master]: core/logging.h: Add logging category for jitter buffer

2018-02-27 Thread Pau Espin Pedrol

Review at  https://gerrit.osmocom.org/6969

core/logging.h: Add logging category for jitter buffer

Forthcoming jitter buffer code in libosmo-netif will make use of it.

Change-Id: I2434f9dfa401f736bc62a2ddce920e587cd8c517
---
M include/osmocom/core/logging.h
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/69/6969/1

diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h
index 617d78e..e68f618 100644
--- a/include/osmocom/core/logging.h
+++ b/include/osmocom/core/logging.h
@@ -121,7 +121,8 @@
 #define DLSUA  -15 /*!< Osmocom SUA */
 #define DLM3UA -16 /*!< Osmocom M3UA */
 #define DLMGCP -17 /*!< Osmocom MGCP */
-#define OSMO_NUM_DLIB  17  /*!< Number of logging sub-systems in libraries 
*/
+#define DLJIBUF-18 /*!< Osmocom Jitter Buffer */
+#define OSMO_NUM_DLIB  18  /*!< Number of logging sub-systems in libraries 
*/
 
 /*! Configuration of single log category / sub-system */
 struct log_category {

-- 
To view, visit https://gerrit.osmocom.org/6969
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2434f9dfa401f736bc62a2ddce920e587cd8c517
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol