File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / iftop / serv_hash.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 16:57:34 2012 UTC (12 years, 8 months ago) by misho
Branches: iftop, MAIN
CVS tags: v1_0rc4, v0_17p0, v0_17, HEAD
iftop

/*
 * 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);
void serv_hash_initialise(hash_type* sh);

#endif /* __SERV_HASH_H_ */

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>