Files
iftop/serv_hash.h
pdw 8010c98d26 0.9pre4.
Merged in FreeBSD fixes.
2002-10-21 13:08:23 +00:00

24 lines
374 B
C

/*
* addr_hash.h:
*
*/
#ifndef __SERV_HASH_H_ /* include guard */
#define __SERV_HASH_H_
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "hash.h"
typedef struct {
int port;
int protocol;
} ip_service;
hash_type* serv_hash_create();
void serv_hash_initialise(hash_type* sh);
#endif /* __SERV_HASH_H_ */