File: sock.h

package info (click to toggle)
modemu 0.0.1-6
  • links: PTS
  • area: main
  • in suites: woody
  • size: 208 kB
  • ctags: 266
  • sloc: ansic: 1,860; lex: 146; makefile: 75; sh: 12
file content (13 lines) | stat: -rw-r--r-- 148 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
struct {
    int fd;
    int alive;
} sock;

#define sockIsAlive() (sock.alive)

void
sockClose(void);
void
sockShutdown(void);
int
sockDial(void);