2010-06-30 06:29:53 +00:00
|
|
|
#ifndef OSMO_BSC_RF
|
|
|
|
#define OSMO_BSC_RF
|
|
|
|
|
|
|
|
#include <osmocore/write_queue.h>
|
|
|
|
|
|
|
|
struct gsm_network;
|
|
|
|
|
|
|
|
struct osmo_bsc_rf {
|
2010-09-15 16:10:18 +00:00
|
|
|
/* the value of signal.h */
|
|
|
|
int policy;
|
2010-06-30 06:29:53 +00:00
|
|
|
struct bsc_fd listen;
|
|
|
|
struct gsm_network *gsm_network;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct osmo_bsc_rf_conn {
|
|
|
|
struct write_queue queue;
|
2010-09-15 16:10:18 +00:00
|
|
|
struct osmo_bsc_rf *rf;
|
2010-06-30 06:29:53 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct osmo_bsc_rf *osmo_bsc_rf_create(const char *path, struct gsm_network *net);
|
|
|
|
|
|
|
|
#endif
|