aboutsummaryrefslogtreecommitdiffstats
path: root/src/gprs_debug.h
blob: b66de90cf93c6affd3069801a51af780199ffa74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/* gprs_debug.h
 *
 * Copyright (C) 2012 Ivan Klyuchnikov
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * 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 General Public License for more details.
 */

#pragma once

#ifdef __cplusplus
extern "C" {
#endif
#include <osmocom/core/logging.h>

/* we used to have DBSSGP definded in each application, and applications telling
 * libosmogb which sub-system to use.  That creates problems and has been deprecated */
#define DBSSGP DLBSSGP

/* Debug Areas of the code */
enum {
	DCSN1,
	DL1IF,
	DRLCMAC,
	DRLCMACDATA,
	DRLCMACDL,
	DRLCMACUL,
	DRLCMACSCHED,
	DRLCMACMEAS,
	DMS,
	DTBF,
	DTBFDL,
	DTBFUL,
	DNS,
	DPCU,
	DNACC,
	DRIM,
	DE1,
	aDebug_LastEntry
};

extern const struct log_info gprs_log_info;

#ifdef __cplusplus
};
#endif