Files
sics/site_ansto/hardsup/Monitor/sock.h
Douglas Clowes 2ab57e1eb2 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
2012-11-15 12:48:57 +11:00

19 lines
481 B
C

#ifndef _SOCK_H_
#define _SOCK_H_
#include "utility.h"
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);
void sock_input(int n);
void sock_accept(int n);
void sock_send(int n, BUFFER* buffer);
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