~ubuntu-branches/ubuntu/raring/binkd/raring

« back to all changes in this revision

Viewing changes to ftndom.h

  • Committer: Bazaar Package Importer
  • Author(s): Marco d'Itri
  • Date: 2002-03-24 22:52:25 UTC
  • Revision ID: james.westby@ubuntu.com-20020324225225-7ru6itlapn03nl35
Tags: upstream-0.9.5a
ImportĀ upstreamĀ versionĀ 0.9.5a

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *  ftndom.h -- Source to handle FTN Domains
 
3
 *
 
4
 *  ftndom.h is a part of binkd project
 
5
 *
 
6
 *  Copyright (C) 1996  Dima Maloff, 5047/13
 
7
 *
 
8
 *  This program is free software; you can redistribute it and/or modify
 
9
 *  it under the terms of the GNU General Public License as published by
 
10
 *  the Free Software Foundation; either version 2 of the License, or
 
11
 *  (at your option) any later version. See COPYING.
 
12
 */
 
13
 
 
14
/*
 
15
 * $Id: ftndom.h,v 2.0 2001/01/10 12:12:38 gul Exp $
 
16
 *
 
17
 * $Log: ftndom.h,v $
 
18
 * Revision 2.0  2001/01/10 12:12:38  gul
 
19
 * Binkd is under CVS again
 
20
 *
 
21
 * Revision 1.1  1996/12/29  09:41:28  mff
 
22
 * Initial revision
 
23
 *
 
24
 */
 
25
#ifndef _ftndomain_h
 
26
#define _ftndomain_h
 
27
 
 
28
#include "ftnaddr.h"
 
29
 
 
30
typedef struct _FTN_DOMAIN FTN_DOMAIN;
 
31
struct _FTN_DOMAIN
 
32
{
 
33
  char name[MAX_DOMAIN + 1];
 
34
  char *path;                               /* Outbound dir's path, ie
 
35
                                             * "/var/spool/fido" */
 
36
  char *dir;                                /* Outbound dir's name, ie "outb" */
 
37
  int *z;
 
38
  FTN_DOMAIN *alias4;
 
39
  FTN_DOMAIN *next;
 
40
};
 
41
 
 
42
/*
 
43
 * 0 == domain not found
 
44
 */
 
45
FTN_DOMAIN *get_domain_info (char *domain_name);
 
46
 
 
47
/*
 
48
 * Returns the default domain
 
49
 */
 
50
FTN_DOMAIN *get_def_domain (void);
 
51
 
 
52
#endif