diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-02-20 16:48:15 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-02-27 07:10:50 +0000 |
commit | 5ea1817dc299611808532eda489981f09f87cba3 (patch) | |
tree | e92846654f2071526d08112dc4abb55dcd397340 /CommonLibs/trx_vty.h | |
parent | 49d42e979eb08cef124e8ceab7d402bed204c015 (diff) |
Add initial support for logging, vty, ctrl
Up to this point, the logging system, vty and ctrl are initialized and
can be used fine, though they don't have a lot of use yet.
Depends on libosmocore Change-Id Ib79cdb62d45d8c78445c7b064e58eb7e9faeccf9
Related: OS#2184
Change-Id: I08982c37b4f873966304b3cfb38a10ee86eb3dad
Diffstat (limited to 'CommonLibs/trx_vty.h')
-rw-r--r-- | CommonLibs/trx_vty.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/CommonLibs/trx_vty.h b/CommonLibs/trx_vty.h new file mode 100644 index 0000000..74af31b --- /dev/null +++ b/CommonLibs/trx_vty.h @@ -0,0 +1,13 @@ +#pragma once + +#include <osmocom/vty/command.h> + +extern struct vty_app_info g_vty_info; + +struct trx_ctx { + struct { + char *bind_addr; + } cfg; +}; + +int trx_vty_init(struct trx_ctx* trx); |