1 #ifndef _KNOWN_TCP_PORTS_H_INCLUDED_
2 #define _KNOWN_TCP_PORTS_H_INCLUDED_
3 
4 /*++
5 /* NAME
6 /*	known_tcp_port 3h
7 /* SUMMARY
8 /*	reduce dependency on the services(5) database
9 /* SYNOPSIS
10 /*	#include <known_tcp_ports.h>
11 /* DESCRIPTION
12 /* .nf
13 
14  /*
15   * Utility library.
16   */
17 #include <vstring.h>
18 
19  /*
20   * External interface.
21   */
22 extern const char *add_known_tcp_port(const char *name, const char *port);
23 extern const char *filter_known_tcp_port(const char *name_or_port);
24 extern void clear_known_tcp_ports(void);
25 extern char *export_known_tcp_ports(VSTRING *out);
26 
27 /* LICENSE
28 /* .ad
29 /* .fi
30 /*	The Secure Mailer license must be distributed with this software.
31 /* AUTHOR(S)
32 /*	Wietse Venema
33 /*	Google, Inc.
34 /*	111 8th Avenue
35 /*	New York, NY 10011, USA
36 /*--*/
37 
38 #endif
39