Subversion Repositories SvarDOS

Rev

Rev 1133 | Rev 1559 | Go to most recent revision | Show entire file | Regard 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
 * Provides all network functions used by pkgnet, wrapped around the
5
 * Provides all network functions used by pkgnet, wrapped around the
6
 * Watt-32 TCP/IP stack.
6
 * Watt-32 TCP/IP stack.
7
 */
7
 */
8
 
8
 
Line 124... Line 124...
124
  sock_abort(&(socket->sock));
124
  sock_abort(&(socket->sock));
125
  free(socket);
125
  free(socket);
126
}
126
}
127
 
127
 
128
 
128
 
-
 
129
void net_shut(void) {
-
 
130
  sock_exit();
-
 
131
}
-
 
132
 
-
 
133
 
129
const char *net_engine(void) {
134
const char *net_engine(void) {
130
  return(wattcpVersion());
135
  return(wattcpVersion());
131
}
136
}