blob: 01fbfb50e33a59b8f314a80d20605f76ca503df4 [file] [log] [blame]
The Android Open Source Projectedbf3b62009-03-03 19:31:44 -08001/* utils/LogSocket.h
2**
3** Copyright 2008, The Android Open Source Project
4**
5** This file is dual licensed. It may be redistributed and/or modified
6** under the terms of the Apache 2.0 License OR version 2 of the GNU
7** General Public License.
8*/
9
10#ifndef _UTILS_LOGSOCKET_H
11#define _UTILS_LOGSOCKET_H
12
13#define SOCKET_CLOSE_LOCAL 0
14
15void add_send_stats(int fd, int send);
16void add_recv_stats(int fd, int recv);
17void log_socket_close(int fd, short reason);
18void log_socket_connect(int fd, unsigned int ip, unsigned short port);
19
20#endif /* _UTILS_LOGSOCKET_H */