diff options
| author | Harald Welte <laforge@gnumonks.org> | 2014-08-20 19:50:04 +0200 | 
|---|---|---|
| committer | Harald Welte <laforge@gnumonks.org> | 2014-08-21 15:34:17 +0200 | 
| commit | 1238cc64d79308c3db46baa7f755f17ac3db9e49 (patch) | |
| tree | 2323e625470e604a586ed41c78c4f1991f5e54c4 /include/osmocom/ctrl | |
| parent | e1a502b0df4a2e8ca90db42549fc22f00c2b72f6 (diff) | |
libctrl: remove openbsc headers, convert from make_sock to libosmocore
Diffstat (limited to 'include/osmocom/ctrl')
| -rw-r--r-- | include/osmocom/ctrl/control_cmd.h | 3 | ||||
| -rw-r--r-- | include/osmocom/ctrl/control_if.h | 6 | 
2 files changed, 5 insertions, 4 deletions
diff --git a/include/osmocom/ctrl/control_cmd.h b/include/osmocom/ctrl/control_cmd.h index 2e6863a9..10717acf 100644 --- a/include/osmocom/ctrl/control_cmd.h +++ b/include/osmocom/ctrl/control_cmd.h @@ -4,11 +4,10 @@  #include <osmocom/core/msgb.h>  #include <osmocom/core/talloc.h>  #include <osmocom/core/write_queue.h> +#include <osmocom/core/logging.h>  #include <osmocom/vty/vector.h> -#include <openbsc/vty.h> -  #define CTRL_CMD_ERROR		-1  #define CTRL_CMD_HANDLED	0  #define CTRL_CMD_REPLY		1 diff --git a/include/osmocom/ctrl/control_if.h b/include/osmocom/ctrl/control_if.h index d103332a..9ab3b2a4 100644 --- a/include/osmocom/ctrl/control_if.h +++ b/include/osmocom/ctrl/control_if.h @@ -2,8 +2,10 @@  #define _CONTROL_IF_H  #include <osmocom/core/write_queue.h> -#include <openbsc/control_cmd.h> -#include <openbsc/gsm_data.h> +#include <osmocom/ctrl/control_cmd.h> + +/* FIXME: this must go */ +struct gsm_network;  typedef int (*ctrl_cmd_handler)(struct ctrl_cmd *, void *);  | 
