Make C++ compiler friendly and handle all eight counters in one process.

r1171 | dcl | 2006-10-24 15:44:25 +1000 (Tue, 24 Oct 2006) | 2 lines
This commit is contained in:
Douglas Clowes
2006-10-24 15:44:25 +10:00
parent 74ad3d225f
commit 2ab57e1eb2
13 changed files with 294 additions and 191 deletions

View File

@@ -2,7 +2,8 @@
#define _SOCK_H_
#include "utility.h"
void sock_init(int addr);
void sock_init(void);
void sock_listen(int addr, int (*method)(void* arg, const char* cmd), void* arg);
void sock_check(int timeout);
void sock_close(int n);
void sock_line(int n);
@@ -13,4 +14,5 @@ void sock_report(BUFFER* bp, int match);
void sock_set_match(int n, int match);
void sock_ok(int n);
void sock_err(int n);
void* sock_device(int n);
#endif