Ivan Kluchnikov | 6043718 | 2012-05-24 22:07:15 +0400 | [diff] [blame] | 1 | /* gprs_debug.h |
| 2 | * |
| 3 | * Copyright (C) 2012 Ivan Klyuchnikov |
| 4 | * |
| 5 | * This program is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU General Public License |
| 7 | * as published by the Free Software Foundation; either version 2 |
| 8 | * of the License, or (at your option) any later version. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this program; if not, write to the Free Software |
| 17 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 18 | */ |
Neels Hofmeyr | d0a887b | 2017-02-17 17:23:46 +0100 | [diff] [blame] | 19 | |
| 20 | #pragma once |
Ivan Kluchnikov | 6043718 | 2012-05-24 22:07:15 +0400 | [diff] [blame] | 21 | |
Andreas Eversberg | a23c7ee | 2012-12-18 10:47:28 +0100 | [diff] [blame] | 22 | #ifdef __cplusplus |
Ivan Kluchnikov | 6043718 | 2012-05-24 22:07:15 +0400 | [diff] [blame] | 23 | extern "C" { |
Andreas Eversberg | a23c7ee | 2012-12-18 10:47:28 +0100 | [diff] [blame] | 24 | #endif |
Ivan Kluchnikov | 6043718 | 2012-05-24 22:07:15 +0400 | [diff] [blame] | 25 | #include <osmocom/core/logging.h> |
Andreas Eversberg | a23c7ee | 2012-12-18 10:47:28 +0100 | [diff] [blame] | 26 | #ifdef __cplusplus |
Ivan Kluchnikov | 6043718 | 2012-05-24 22:07:15 +0400 | [diff] [blame] | 27 | }; |
Andreas Eversberg | a23c7ee | 2012-12-18 10:47:28 +0100 | [diff] [blame] | 28 | #endif |
Neels Hofmeyr | d0a887b | 2017-02-17 17:23:46 +0100 | [diff] [blame] | 29 | |
Ivan Kluchnikov | 6043718 | 2012-05-24 22:07:15 +0400 | [diff] [blame] | 30 | /* Debug Areas of the code */ |
| 31 | enum { |
| 32 | DCSN1, |
| 33 | DL1IF, |
| 34 | DRLCMAC, |
| 35 | DRLCMACDATA, |
Andreas Eversberg | e6228b3 | 2012-07-03 13:36:03 +0200 | [diff] [blame] | 36 | DRLCMACDL, |
| 37 | DRLCMACUL, |
Andreas Eversberg | 5dac2f0 | 2012-06-27 15:52:04 +0200 | [diff] [blame] | 38 | DRLCMACSCHED, |
Andreas Eversberg | 050ace2 | 2013-03-16 16:22:02 +0100 | [diff] [blame] | 39 | DRLCMACMEAS, |
Max | 0524e38 | 2018-01-19 18:22:25 +0100 | [diff] [blame] | 40 | DTBF, |
| 41 | DTBFDL, |
| 42 | DTBFUL, |
Jacob Erlbeck | 56af6d5 | 2015-08-17 14:06:21 +0200 | [diff] [blame] | 43 | DNS, |
Ivan Kluchnikov | 6043718 | 2012-05-24 22:07:15 +0400 | [diff] [blame] | 44 | DBSSGP, |
| 45 | DPCU, |
| 46 | aDebug_LastEntry |
| 47 | }; |
| 48 | |
Ivan Kluchnikov | 6043718 | 2012-05-24 22:07:15 +0400 | [diff] [blame] | 49 | extern const struct log_info gprs_log_info; |