doxygen: split VTY configuration in multiple files
diff --git a/include/osmocom/gsm/rsl.h b/include/osmocom/gsm/rsl.h
index 44ded1b..efe557f 100644
--- a/include/osmocom/gsm/rsl.h
+++ b/include/osmocom/gsm/rsl.h
@@ -6,11 +6,19 @@
#include <osmocom/core/msgb.h>
#include <osmocom/gsm/protocol/gsm_08_58.h>
+/*! \defgroup rsl RSL
+ * @{
+ */
+
+/*! \file rsl.h */
+
void rsl_init_rll_hdr(struct abis_rsl_rll_hdr *dh, uint8_t msg_type);
void rsl_init_cchan_hdr(struct abis_rsl_cchan_hdr *ch, uint8_t msg_type);
extern const struct tlv_definition rsl_att_tlvdef;
+
+/*! \brief Parse RSL TLV structure using \ref tlv_parse */
#define rsl_tlv_parse(dec, buf, len) \
tlv_parse(dec, &rsl_att_tlvdef, buf, len, 0, 0)
@@ -40,4 +48,7 @@
/* Allocate msgb and fill with simple RSL RLL header */
struct msgb *rsl_rll_simple(uint8_t msg_type, uint8_t chan_nr,
uint8_t link_id, int transparent);
+
+/*! }@ */
+
#endif /* _OSMOCORE_RSL_H */
diff --git a/include/osmocom/vty/command.h b/include/osmocom/vty/command.h
index c50f256..79d0aec 100644
--- a/include/osmocom/vty/command.h
+++ b/include/osmocom/vty/command.h
@@ -28,7 +28,7 @@
#include "vector.h"
#include "vty.h"
-/*! \addtogroup vty
+/*! \defgroup command VTY Command
* @{
*/
/*! \file command.h */
diff --git a/include/osmocom/vty/telnet_interface.h b/include/osmocom/vty/telnet_interface.h
index c776f51..9a7c9e5 100644
--- a/include/osmocom/vty/telnet_interface.h
+++ b/include/osmocom/vty/telnet_interface.h
@@ -26,7 +26,7 @@
#include <osmocom/vty/vty.h>
-/*! \addtogroup vty
+/*! \defgroup telnet_interface Telnet Interface
* @{
*/
diff --git a/src/vty/command.c b/src/vty/command.c
index 890fb7d..ab1eaca 100644
--- a/src/vty/command.c
+++ b/src/vty/command.c
@@ -40,7 +40,7 @@
#include <osmocom/core/talloc.h>
-/*! \addtogroup vty
+/*! \addtogroup command
* @{
*/
/*! \file command.c */
diff --git a/src/vty/telnet_interface.c b/src/vty/telnet_interface.c
index 89cba58..ed64cda 100644
--- a/src/vty/telnet_interface.c
+++ b/src/vty/telnet_interface.c
@@ -33,7 +33,7 @@
#include <osmocom/vty/buffer.h>
#include <osmocom/vty/command.h>
-/*! \addtogroup vty
+/*! \addtogroup telnet_interface
* @{
*/
/*! \file telnet_interface.c */