summaryrefslogtreecommitdiffstats
path: root/openbsc/src/utils/meas_db.h
blob: 889e9022fb096a55e7ca2bb020c74795c9f4e787 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef OPENBSC_MEAS_DB_H
#define OPENBSC_MEAS_DB_H

struct meas_db_state;

struct meas_db_state *meas_db_open(void *ctx, const char *fname);
void meas_db_close(struct meas_db_state *st);

int meas_db_begin(struct meas_db_state *st);
int meas_db_commit(struct meas_db_state *st);

int meas_db_insert(struct meas_db_state *st, const char *imsi,
		   const char *name, unsigned long timestamp,
		   const char *scenario,
		   const struct gsm_meas_rep *mr);

#endif