]> gitweb.fperrin.net Git - iftop.git/blob - serv_hash.h
Import iftop-1.0pre4
[iftop.git] / serv_hash.h
1 /*
2  * addr_hash.h:
3  *
4  */
5
6 #ifndef __SERV_HASH_H_ /* include guard */
7 #define __SERV_HASH_H_
8
9 #include <sys/types.h>
10 #include <sys/socket.h>
11 #include <netinet/in.h>
12 #include <arpa/inet.h>
13 #include "hash.h"
14
15 typedef struct {
16     int port;
17     int protocol;
18 } ip_service; 
19
20 hash_type* serv_hash_create(void);
21 void serv_hash_initialise(hash_type* sh);
22
23 #endif /* __SERV_HASH_H_ */