Documentation corrections
r1293 | dcl | 2006-11-15 08:42:05 +1100 (Wed, 15 Nov 2006) | 2 lines
This commit is contained in:
@@ -86,10 +86,6 @@ static int sock_l;
|
||||
/**
|
||||
* Initialise the socket interface
|
||||
*
|
||||
* Opens and binds the listen socket and listens for incomming
|
||||
* connections.
|
||||
*
|
||||
* \param addr the TCP/IP port number on which to listen
|
||||
*/
|
||||
void sock_init(void)
|
||||
{
|
||||
@@ -104,6 +100,15 @@ void sock_init(void)
|
||||
num_fds = 0;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Opens and binds the listen socket and listens for incomming
|
||||
* connections.
|
||||
*
|
||||
* \param addr the TCP/IP port number on which to listen
|
||||
* \param command function to process device commands from the socket
|
||||
* \param device context argument to device command
|
||||
*/
|
||||
void sock_listen(int addr, int (*command)(void* device, const char* cmd), void* device)
|
||||
{
|
||||
int status;
|
||||
@@ -457,6 +462,7 @@ void sock_send(int n, BUFFER* bp)
|
||||
*
|
||||
* \param bp pointer to buffer containing report
|
||||
* \param match value to match for this report
|
||||
* \param dev device context to match for this report
|
||||
*/
|
||||
void sock_report(BUFFER* bp, int match, void* dev)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user