17 lines
377 B
C
17 lines
377 B
C
#ifndef _SOCK_H_
|
|
#define _SOCK_H_
|
|
#include "utility.h"
|
|
|
|
void sock_init(int addr);
|
|
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);
|
|
#endif
|