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