summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-08-17 18:52:30 +0200
committerHarald Welte <laforge@gnumonks.org>2011-08-17 18:52:30 +0200
commite881b1b9ebcd9e23a5cef1b8152aa4e7422c29ac (patch)
treebefb762d40a43959c151b8343a65f59192f4242c
parent8f2c7e5b2b2c038d51653c68380837fd54b84db0 (diff)
doxygen: split VTY configuration in multiple files
-rw-r--r--include/osmocom/gsm/rsl.h11
-rw-r--r--include/osmocom/vty/command.h2
-rw-r--r--include/osmocom/vty/telnet_interface.h2
-rw-r--r--src/vty/command.c2
-rw-r--r--src/vty/telnet_interface.c2
5 files changed, 15 insertions, 4 deletions
diff --git a/include/osmocom/gsm/rsl.h b/include/osmocom/gsm/rsl.h
index 44ded1b1..efe557fa 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 @@ void rsl_rll_push_l3(struct msgb *msg, uint8_t msg_type, uint8_t chan_nr,
/* 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 c50f256f..79d0aecf 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 c776f51c..9a7c9e52 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 890fb7df..ab1eacaa 100644
--- a/src/vty/command.c
+++ b/src/vty/command.c
@@ -40,7 +40,7 @@ Boston, MA 02111-1307, USA. */
#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 89cba581..ed64cdab 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 */