home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS 1
/
BBS#1.iso
/
maximus
/
fddev220.arj
/
C.ARJ
/
UNDIAL.H
< prev
Wrap
C/C++ Source or Header
|
1993-06-28
|
2KB
|
51 lines
/*
** undial.h
**
** Structures for NODIAL.FD
**
** Copyright 1991-1993 Joaquim Homrighausen; All rights reserved.
**
** Last revised: 93-06-18 FrontDoor 2.11+
**
** -------------------------------------------------------------------------
** This information is not necessarily final and is subject to change at any
** given time without further notice
** -------------------------------------------------------------------------
*/
#ifndef __UNDIAL_H__
#define __UNDIAL_H__
#ifdef __cplusplus
extern "C" {
#endif
#define MAXUNDIAL 200 /*Maximum number of undialable systems*/
#define UNDIAL_TROUBLE 1 /*Got one failure*/
#define UNDIAL_WORSE 2 /*Got two failures*/
#define UNDIAL_NOMORE 3 /*Got three failures, undialable*/
/*
** When the Mailer reaches the maximum number of resend retries for a system
** during an event (session handshake failures, bad sends, etc.) it bumps
** the 'Badness' counter one. Once it reaches three (i.e. the Mailer has
** reached the resend limit in three separate events), the system is flagged
** as 'hard' undialable and the Mailer will no longer attempt to call it.
*/
typedef struct
{
unsigned short int
Zone, Net, Node, Point; /*Address of undialable system*/
unsigned long
PhoneCRC; /*CRC-32 of raw telephone number*/
unsigned short int
Badness; /*How undialable the system is*/
}
NoDialRec;
#ifdef __cplusplus
}
#endif
#endif
/* end of file "undial.h" */