Subversion Repositories SvarDOS

Rev

Rev 1133 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1133 Rev 1502
Line 1... Line 1...
1
/*
1
/*
2
 * This file is part of the pkgnet package - the SvarDOS package manager.
2
 * This file is part of the pkgnet package - the SvarDOS package manager.
3
 * Copyright (C) Mateusz Viste 2013-2022
3
 * Copyright (C) Mateusz Viste 2013-2023
4
 */
4
 */
5
 
5
 
6
 
6
 
7
#ifndef libtcp_hdr
7
#ifndef libtcp_hdr
8
#define libtcp_hdr
8
#define libtcp_hdr
Line 37... Line 37...
37
int net_recv(struct net_tcpsocket *socket, void *buff, long maxlen);
37
int net_recv(struct net_tcpsocket *socket, void *buff, long maxlen);
38
 
38
 
39
/* Close the 'sock' socket. */
39
/* Close the 'sock' socket. */
40
void net_close(struct net_tcpsocket *socket);
40
void net_close(struct net_tcpsocket *socket);
41
 
41
 
-
 
42
/* network subsystem deinitialization */
-
 
43
void net_shut(void);
-
 
44
 
42
/* Returns an info string about the networking engine being used */
45
/* Returns an info string about the networking engine being used */
43
const char *net_engine(void);
46
const char *net_engine(void);
44
 
47
 
45
#endif
48
#endif