~noskcaj/ubuntu/saucy/xinetd/2.3.15

« back to all changes in this revision

Viewing changes to xinetd/addr.h

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Seyrat
  • Date: 2004-04-18 13:33:57 UTC
  • Revision ID: james.westby@ubuntu.com-20040418133357-czeqeju37433xvdd
Tags: upstream-2.3.13
ImportĀ upstreamĀ versionĀ 2.3.13

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * (c) Copyright 1992 by Panagiotis Tsirigotis
 
3
 * (c) Copyright 1998-2001 by Rob Braun
 
4
 * All rights reserved.  The file named COPYRIGHT specifies the terms 
 
5
 * and conditions for redistribution.
 
6
 */
 
7
 
 
8
#ifndef ADDR_H
 
9
#define ADDR_H
 
10
 
 
11
/*
 
12
 * $Id: addr.h,v 1.1.1.1 2003/02/19 17:29:27 bbraun Exp $
 
13
 */
 
14
 
 
15
 
 
16
#include "pset.h"
 
17
#include "defs.h"
 
18
#ifdef HAVE_STDINT_H
 
19
#include <stdint.h>
 
20
#endif
 
21
 
 
22
int addrlist_match(const pset_h addr_list, const struct sockaddr *addr);
 
23
void addrlist_dump(const pset_h addr_list, int fd);
 
24
void addrlist_free(pset_h addr_list);
 
25
status_e addrlist_add(pset_h addr_list, const char *str_addr);
 
26
status_e addrlist_remove(pset_h addr_list, const char *str_addr);
 
27
status_e addrlist_copy(const pset_h from, pset_h *to);
 
28
int check_hostname(const char *addr);
 
29
 
 
30
#endif   /* ADDR_H */
 
31