95a90bd9c6638a5977479aefe1e0bbb34bf2ca98
[darkstat] / localip.h
1 /* darkstat 3
2 * copyright (c) 2001-2006 Emil Mikulic.
3 *
4 * localip.h: determine local IP of our capture interface
5 *
6 * You may use, modify and redistribute this file under the terms of the
7 * GNU General Public License version 2. (see COPYING.GPL)
8 */
9
10 #include <netinet/in.h> /* for in_addr_t */
11
12 extern in_addr_t localip;
13
14 void localip_init(const char *interface);
15 void localip_update(void);
16
17 /* vim:set ts=3 sw=3 tw=78 expandtab: */