Commit 0b099f43 authored by Maxwell F. (Max) Chen's avatar Maxwell F. (Max) Chen
Browse files

update docs

parent 8e70334a
No related merge requests found
Pipeline #119970 failed with stage
in 0 seconds
Showing with 8 additions and 2 deletions
+8 -2
......@@ -11,8 +11,14 @@
typedef struct connection connection_t;
/**
* TODO: put docs here
**/
* A callback function type used for handling network events.
*
* @param fd The file descriptor of the connection
* @param str The string data received from the connection
*
* This callback is typically used with the nu_multiplex function to handle
* data received from local or remote connections.
*/
typedef void nu_callback(int fd, char *str);
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment