OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / user / ddns3-client / sockio.h
1 /*
2  *      DDNS v3 Client
3  *
4  *              Author:         Alan Yates <alany@ay.com.au>
5  *              Version:        $Id: sockio.h,v 1.1.1.1 2002/07/19 11:47:20 alany Exp $
6  */
7
8 #ifndef _SOCKIO_H
9 #define _SOCKIO_H
10
11 int ddns3_sockio_connect(char *host);
12 int ddns3_sockio_write(int sock, char *buf, int len);
13 int ddns3_sockio_read(int sock, char *buf, int len);
14 int ddns3_sockio_close(int sock);
15 int ddns3_sockio_init(void);
16 int ddns3_sockio_cleanup(void);
17 int ddns3_sockio_error(char *buf, int len);
18 int ddns3_sockio_getlocalip(int sock, char *buf, int len);
19
20 #endif /* _SOCKIO_H */