aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/select.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/core/select.h')
-rw-r--r--include/osmocom/core/select.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/include/osmocom/core/select.h b/include/osmocom/core/select.h
index b1b82672..18aad35f 100644
--- a/include/osmocom/core/select.h
+++ b/include/osmocom/core/select.h
@@ -3,6 +3,10 @@
#include <osmocom/core/linuxlist.h>
+/*! \defgroup select Select loop abstraction
+ * @{
+ */
+
/*! \file select.h
* \brief select loop abstraction
*/
@@ -32,19 +36,10 @@ struct osmo_fd {
unsigned int priv_nr;
};
-/*! \brief Register a new file descriptor with select loop abstraction
- * \param[in] fd osmocom file descriptor to be registered
- */
int osmo_fd_register(struct osmo_fd *fd);
-
-/*! \brief Unregister a file descriptor from select loop abstraction
- * \param[in] fd osmocom file descriptor to be unregistered
- */
void osmo_fd_unregister(struct osmo_fd *fd);
-
-/*! \brief select main loop integration
- * \param[in] polling should we pollonly (1) or block on select (0)
- */
int osmo_select_main(int polling);
+/*! }@ */
+
#endif /* _BSC_SELECT_H */