summaryrefslogtreecommitdiff
path: root/src/IO/iowatch.cc
diff options
context:
space:
mode:
authorRodrigo Arias Mallo <rodarima@gmail.com>2024-03-09 17:35:19 +0100
committerrodarima <rodarima@gmail.com>2024-03-09 18:43:51 +0100
commit4c56214b8c2e130d3709bdca2513aef20b7b0fab (patch)
treeb8cd0c6dafb5850ba116221f6f39a62e84983aa5 /src/IO/iowatch.cc
parentbde09c45adf0daf252fafbaf87683d3ed7eaab07 (diff)
Use Doxygen comments for C files
Diffstat (limited to 'src/IO/iowatch.cc')
-rw-r--r--src/IO/iowatch.cc16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/IO/iowatch.cc b/src/IO/iowatch.cc
index f5243934..13c537fe 100644
--- a/src/IO/iowatch.cc
+++ b/src/IO/iowatch.cc
@@ -9,14 +9,16 @@
* (at your option) any later version.
*/
-// Simple ADT for watching file descriptor activity
+/** @file
+ * Simple ADT for watching file descriptor activity
+ */
#include <FL/Fl.H>
#include "iowatch.hh"
-//
-// Hook a Callback for a certain activities in a FD
-//
+/**
+ * Hook a Callback for a certain activities in a FD
+ */
void a_IOwatch_add_fd(int fd, int when, Fl_FD_Handler Callback,
void *usr_data = 0)
{
@@ -24,9 +26,9 @@ void a_IOwatch_add_fd(int fd, int when, Fl_FD_Handler Callback,
Fl::add_fd(fd, when, Callback, usr_data);
}
-//
-// Remove a Callback for a given FD (or just remove some events)
-//
+/**
+ * Remove a Callback for a given FD (or just remove some events)
+ */
void a_IOwatch_remove_fd(int fd, int when)
{
if (fd >= 0)