mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-10-23 08:12:01 +00:00
the network (mgcp_network.c) part and the protocol part (mgcp_protoocl.c) share a single loglevel DLMGCP. This makes debuging hard because when debugging the protocol we also get the log output from the RTP packets. assign the network part a private loglevel and keep DLMGCP for the directly MGCP related code Change-Id: I55a2711798d1d1c2c9ef2f3b7ebb8fdd78bd6ea2
36 lines
1012 B
C
36 lines
1012 B
C
/* (C) 2017 by sysmocom - s.f.m.c. GmbH <info@sysmocom.de>
|
|
* All Rights Reserved
|
|
*
|
|
* Author: Philipp Maier
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU Affero General Public License as published by
|
|
* the Free Software Foundation; either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Affero General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <stdio.h>
|
|
#include <osmocom/core/linuxlist.h>
|
|
|
|
#define DEBUG
|
|
#include <osmocom/core/logging.h>
|
|
|
|
/* Debug Areas of the code */
|
|
enum {
|
|
DRTP,
|
|
Debug_LastEntry,
|
|
};
|
|
|
|
extern const struct log_info log_info;
|