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,7 +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 to match
|
||||
* \param dev device context to match for this report
|
||||
*/
|
||||
void sock_report(BUFFER* bp, int match, void* dev)
|
||||
{
|
||||
|
||||
@@ -45,6 +45,7 @@ int hware_read(pHWARE hware, HWARE_VALUE* value);
|
||||
/**
|
||||
* Select the source
|
||||
*
|
||||
* \param hware pointer to opaque private data structure
|
||||
* \param value source selector
|
||||
* 3 Timebase 3 (80Mhz on PCI-6602)
|
||||
* 2 Timebase 2 (100Khz on PCI-6602)
|
||||
@@ -75,7 +76,7 @@ void hware_sync(pHWARE hware, bool external);
|
||||
/**
|
||||
* Destroy the 64-bit counter
|
||||
*
|
||||
* \param ptr address of pointer to opaque private data structure
|
||||
* \param hware address of pointer to opaque private data structure
|
||||
*
|
||||
* \return
|
||||
* 0 OK
|
||||
|
||||
@@ -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