aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/misc/sysmobts_par.h
blob: 8a37b5856391d3e92e852efedd0320401684207e (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
#ifndef _SYSMOBTS_PAR_H
#define _SYSMOBTS_PAR_H

#include <stdint.h>

enum sysmobts_par {
	SYSMOBTS_PAR_MAC,
	SYSMOBTS_PAR_CLK_FACTORY,
	SYSMOBTS_PAR_TEMP_DIG_MAX,
	SYSMOBTS_PAR_TEMP_RF_MAX,
	SYSMOBTS_PAR_SERNR,
	SYSMOBTS_PAR_HOURS,
	SYSMOBTS_PAR_BOOTS,
	SYSMOBTS_PAR_KEY,
	_NUM_SYSMOBTS_PAR
};


int sysmobts_par_get_int(enum sysmobts_par par, int *ret);
int sysmobts_par_set_int(enum sysmobts_par par, int val);
int sysmobts_par_get_buf(enum sysmobts_par par, uint8_t *buf,
			 unsigned int size);
int sysmobts_par_set_buf(enum sysmobts_par par, const uint8_t *buf,
			 unsigned int size);

#endif