summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-06-20 04:35:06 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-06-23 00:18:23 +0000
commit17518fe393a37781c84d09836256bb1a6256032b (patch)
tree6a39eb3b0b86fa7407ea04a00410aaa1b588d3d3 /include
parent33370cb18d3dda2bccbf2648f40d9614693ed0ea (diff)
doxygen: unify use of \file across the board
Considering the various styles and implications found in the sources, edit scores of files to follow the same API doc guidelines around the doxygen grouping and the \file tag. Many files now show a short description in the generated API doc that was so far only available as C comment. The guidelines and reasoning behind it is documented at https://osmocom.org/projects/cellular-infrastructure/wiki/Guidelines_for_API_documentation In some instances, remove file comments and add to the corresponding group instead, to be shared among several files (e.g. bitvec). Change-Id: Ifa70e77e90462b5eb2b0457c70fd25275910c72b
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/codec/codec.h2
-rw-r--r--include/osmocom/coding/gsm0503_coding.h10
-rw-r--r--include/osmocom/coding/gsm0503_interleaving.h10
-rw-r--r--include/osmocom/coding/gsm0503_mapping.h10
-rw-r--r--include/osmocom/coding/gsm0503_parity.h10
-rw-r--r--include/osmocom/coding/gsm0503_tables.h10
-rw-r--r--include/osmocom/core/backtrace.h2
-rw-r--r--include/osmocom/core/bitcomp.h17
-rw-r--r--include/osmocom/core/bits.h18
-rw-r--r--include/osmocom/core/bitvec.h20
-rw-r--r--include/osmocom/core/byteswap.h2
-rw-r--r--include/osmocom/core/conv.h10
-rw-r--r--include/osmocom/core/crc16.h2
-rw-r--r--include/osmocom/core/crcXXgen.h.tpl11
-rw-r--r--include/osmocom/core/crcgen.h10
-rw-r--r--include/osmocom/core/defs.h10
-rw-r--r--include/osmocom/core/endian.h7
-rw-r--r--include/osmocom/core/fsm.h10
-rw-r--r--include/osmocom/core/gsmtap.h10
-rw-r--r--include/osmocom/core/gsmtap_util.h3
-rw-r--r--include/osmocom/core/linuxlist.h15
-rw-r--r--include/osmocom/core/logging.h4
-rw-r--r--include/osmocom/core/loggingrb.h8
-rw-r--r--include/osmocom/core/macaddr.h2
-rw-r--r--include/osmocom/core/msgb.h4
-rw-r--r--include/osmocom/core/msgfile.h1
-rw-r--r--include/osmocom/core/panic.h4
-rw-r--r--include/osmocom/core/plugin.h2
-rw-r--r--include/osmocom/core/prim.h4
-rw-r--r--include/osmocom/core/process.h1
-rw-r--r--include/osmocom/core/rate_ctr.h4
-rw-r--r--include/osmocom/core/select.h10
-rw-r--r--include/osmocom/core/sercomm.h10
-rw-r--r--include/osmocom/core/serial.h10
-rw-r--r--include/osmocom/core/signal.h3
-rw-r--r--include/osmocom/core/socket.h9
-rw-r--r--include/osmocom/core/stat_item.h4
-rw-r--r--include/osmocom/core/stats.h4
-rw-r--r--include/osmocom/core/strrb.h15
-rw-r--r--include/osmocom/core/talloc.h3
-rw-r--r--include/osmocom/core/timer.h8
-rw-r--r--include/osmocom/core/timer_compat.h9
-rw-r--r--include/osmocom/core/utils.h4
-rw-r--r--include/osmocom/core/write_queue.h8
-rw-r--r--include/osmocom/crypt/auth.h4
-rw-r--r--include/osmocom/crypt/gprs_cipher.h2
-rw-r--r--include/osmocom/ctrl/control_cmd.h2
-rw-r--r--include/osmocom/ctrl/control_if.h2
-rw-r--r--include/osmocom/ctrl/control_vty.h2
-rw-r--r--include/osmocom/ctrl/ports.h6
-rw-r--r--include/osmocom/gprs/gprs_bssgp.h2
-rw-r--r--include/osmocom/gprs/gprs_bssgp_bss.h16
-rw-r--r--include/osmocom/gprs/gprs_msgb.h2
-rw-r--r--include/osmocom/gprs/gprs_ns.h2
-rw-r--r--include/osmocom/gprs/gprs_ns_frgre.h2
-rw-r--r--include/osmocom/gprs/gprs_rlc.h2
-rw-r--r--include/osmocom/gprs/protocol/gsm_04_60.h7
-rw-r--r--include/osmocom/gprs/protocol/gsm_08_16.h11
-rw-r--r--include/osmocom/gprs/protocol/gsm_08_18.h2
-rw-r--r--include/osmocom/gsm/a5.h10
-rw-r--r--include/osmocom/gsm/abis_nm.h8
-rw-r--r--include/osmocom/gsm/apn.h2
-rw-r--r--include/osmocom/gsm/bitvec_gsm.h3
-rw-r--r--include/osmocom/gsm/comp128.h4
-rw-r--r--include/osmocom/gsm/comp128v23.h4
-rw-r--r--include/osmocom/gsm/gan.h2
-rw-r--r--include/osmocom/gsm/gea.h4
-rw-r--r--include/osmocom/gsm/gsm0341.h2
-rw-r--r--include/osmocom/gsm/gsm0411_smc.h2
-rw-r--r--include/osmocom/gsm/gsm0411_smr.h2
-rw-r--r--include/osmocom/gsm/gsm0411_utils.h2
-rw-r--r--include/osmocom/gsm/gsm0480.h2
-rw-r--r--include/osmocom/gsm/gsm0502.h2
-rw-r--r--include/osmocom/gsm/gsm0808.h4
-rw-r--r--include/osmocom/gsm/gsm0808_utils.h4
-rw-r--r--include/osmocom/gsm/gsm23003.h3
-rw-r--r--include/osmocom/gsm/gsm48.h2
-rw-r--r--include/osmocom/gsm/gsm48_ie.h2
-rw-r--r--include/osmocom/gsm/gsm_utils.h3
-rw-r--r--include/osmocom/gsm/gsup.h7
-rw-r--r--include/osmocom/gsm/ipa.h2
-rw-r--r--include/osmocom/gsm/kasumi.h4
-rw-r--r--include/osmocom/gsm/l1sap.h2
-rw-r--r--include/osmocom/gsm/lapd_core.h8
-rw-r--r--include/osmocom/gsm/lapdm.h4
-rw-r--r--include/osmocom/gsm/meas_rep.h2
-rw-r--r--include/osmocom/gsm/mncc.h2
-rw-r--r--include/osmocom/gsm/oap.h7
-rw-r--r--include/osmocom/gsm/prim.h2
-rw-r--r--include/osmocom/gsm/protocol/gsm_03_40.h5
-rw-r--r--include/osmocom/gsm/protocol/gsm_03_41.h5
-rw-r--r--include/osmocom/gsm/protocol/gsm_04_08.h4
-rw-r--r--include/osmocom/gsm/protocol/gsm_04_08_gprs.h2
-rw-r--r--include/osmocom/gsm/protocol/gsm_04_11.h2
-rw-r--r--include/osmocom/gsm/protocol/gsm_04_12.h5
-rw-r--r--include/osmocom/gsm/protocol/gsm_04_14.h2
-rw-r--r--include/osmocom/gsm/protocol/gsm_04_80.h5
-rw-r--r--include/osmocom/gsm/protocol/gsm_08_58.h15
-rw-r--r--include/osmocom/gsm/protocol/gsm_09_02.h5
-rw-r--r--include/osmocom/gsm/protocol/gsm_12_21.h14
-rw-r--r--include/osmocom/gsm/protocol/gsm_23_003.h2
-rw-r--r--include/osmocom/gsm/protocol/gsm_44_318.h5
-rw-r--r--include/osmocom/gsm/protocol/ipaccess.h2
-rw-r--r--include/osmocom/gsm/protocol/smpp34_osmocom.h4
-rw-r--r--include/osmocom/gsm/rsl.h4
-rw-r--r--include/osmocom/gsm/rxlev_stat.h2
-rw-r--r--include/osmocom/gsm/sysinfo.h2
-rw-r--r--include/osmocom/gsm/tlv.h3
-rw-r--r--include/osmocom/sim/class_tables.h9
-rw-r--r--include/osmocom/sim/sim.h9
-rw-r--r--include/osmocom/vty/buffer.h3
-rw-r--r--include/osmocom/vty/command.h6
-rw-r--r--include/osmocom/vty/logging.h2
-rw-r--r--include/osmocom/vty/misc.h2
-rw-r--r--include/osmocom/vty/ports.h6
-rw-r--r--include/osmocom/vty/stats.h2
-rw-r--r--include/osmocom/vty/telnet_interface.h10
-rw-r--r--include/osmocom/vty/vector.h3
-rw-r--r--include/osmocom/vty/vty.h3
119 files changed, 335 insertions, 309 deletions
diff --git a/include/osmocom/codec/codec.h b/include/osmocom/codec/codec.h
index 3e9b6881..3e62a013 100644
--- a/include/osmocom/codec/codec.h
+++ b/include/osmocom/codec/codec.h
@@ -1,3 +1,5 @@
+/*! \file codec.h */
+
#pragma once
#include <stdint.h>
diff --git a/include/osmocom/coding/gsm0503_coding.h b/include/osmocom/coding/gsm0503_coding.h
index a9c59e47..a2d4115b 100644
--- a/include/osmocom/coding/gsm0503_coding.h
+++ b/include/osmocom/coding/gsm0503_coding.h
@@ -1,3 +1,7 @@
+/*! \file gsm0503_coding.h
+ * GSM TS 05.03 coding
+ */
+
#pragma once
#include <stdint.h>
@@ -5,11 +9,7 @@
/*! \addtogroup coding
* @{
- */
-
-/*! \file gsm0503_coding.h
- * GSM TS 05.03 coding
- */
+ * \file gsm0503_coding.h */
#define GSM0503_GPRS_BURSTS_NBITS (116 * 4)
#define GSM0503_EGPRS_BURSTS_NBITS (348 * 4)
diff --git a/include/osmocom/coding/gsm0503_interleaving.h b/include/osmocom/coding/gsm0503_interleaving.h
index 1463fb38..05b5e278 100644
--- a/include/osmocom/coding/gsm0503_interleaving.h
+++ b/include/osmocom/coding/gsm0503_interleaving.h
@@ -1,14 +1,14 @@
+/*! \file gsm0503_interleaving.h
+ * GSM TS 05.03 interleaving.
+ */
+
#pragma once
#include <osmocom/core/bits.h>
/*! \addtogroup interleaving
* @{
- */
-
-/*! \file gsm0503_interleaving.h
- * GSM TS 05.03 interleaving
- */
+ * \file gsm0503_interleaving.h */
void gsm0503_xcch_deinterleave(sbit_t *cB, const sbit_t *iB);
void gsm0503_xcch_interleave(const ubit_t *cB, ubit_t *iB);
diff --git a/include/osmocom/coding/gsm0503_mapping.h b/include/osmocom/coding/gsm0503_mapping.h
index 435c9131..fbd3bfd7 100644
--- a/include/osmocom/coding/gsm0503_mapping.h
+++ b/include/osmocom/coding/gsm0503_mapping.h
@@ -1,14 +1,14 @@
+/*! \file gsm0503_mapping.c
+ * GSM TS 05.03 burst mapping.
+ */
+
#pragma once
#include <osmocom/core/bits.h>
/*! \addtogroup mapping
* @{
- */
-
-/*! \file gsm0503_mapping.c
- * GSM TS 05.03 burst mapping
- */
+ * \file gsm0503_mapping.h */
void gsm0503_xcch_burst_unmap(sbit_t *iB, const sbit_t *eB,
sbit_t *hl, sbit_t *hn);
diff --git a/include/osmocom/coding/gsm0503_parity.h b/include/osmocom/coding/gsm0503_parity.h
index 2743bdb1..28a54443 100644
--- a/include/osmocom/coding/gsm0503_parity.h
+++ b/include/osmocom/coding/gsm0503_parity.h
@@ -1,14 +1,14 @@
+/*! \file gsm0503_parity.h
+ * GSM TS 05.03 parity.
+ */
+
#pragma once
#include <osmocom/core/crcgen.h>
/*! \addtogroup parity
* @{
- */
-
-/*! \file gsm0503_parity.h
- * GSM TS 05.03 parity
- */
+ * \file gsm0503_parity.h */
const struct osmo_crc64gen_code gsm0503_fire_crc40;
const struct osmo_crc16gen_code gsm0503_cs234_crc16;
diff --git a/include/osmocom/cod