diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-02-21 14:59:19 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-03-05 17:16:05 +0100 |
commit | efac20b6bb856eccd4995c4513318375f292a1d1 (patch) | |
tree | f2768696d64eca95390a151936d2461de68ba16b /CommonLibs | |
parent | 0bbd8922ea637dbfb013ebf2e79b754f03929cb0 (diff) |
Move enums required by VTY to a separate header
This patch is a preparation for next patches, which add full VTY cfg
support.
Change-Id: I3d5b0576aa96869756f1629a40306c0043b6304b
Diffstat (limited to 'CommonLibs')
-rw-r--r-- | CommonLibs/Makefile.am | 3 | ||||
-rw-r--r-- | CommonLibs/config_defs.h | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/CommonLibs/Makefile.am b/CommonLibs/Makefile.am index 5d116f9..613af1e 100644 --- a/CommonLibs/Makefile.am +++ b/CommonLibs/Makefile.am @@ -52,4 +52,5 @@ noinst_HEADERS = \ Vector.h \ Logger.h \ trx_vty.h \ - debug.h + debug.h \ + config_defs.h diff --git a/CommonLibs/config_defs.h b/CommonLibs/config_defs.h new file mode 100644 index 0000000..8626166 --- /dev/null +++ b/CommonLibs/config_defs.h @@ -0,0 +1,20 @@ +#pragma once + +/* + * This file contains structures used by both VTY (C, dir CommonLibs) and + * osmo-trx (CXX, dir Transceiver52) + */ + +enum FillerType { + FILLER_DUMMY, + FILLER_ZERO, + FILLER_NORM_RAND, + FILLER_EDGE_RAND, + FILLER_ACCESS_RAND, +}; + +enum ReferenceType { + REF_INTERNAL, + REF_EXTERNAL, + REF_GPS, +}; |