Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] ag: jobID/seqf



Hi 

I checked the hylafax source code and found out the following:

In config.h.in, the constant FAX_SEQF is set. Before compiling, you can define how to call the file
#define    FAX_SEQF        "seqf"          /* sequencing info filename */

In faxd/ModemServer.c++ I found one of the reference to FAX_SEQF. It reads as follows:
u_long seqnum = Sequence::getNext(FAX_LOGDIR "/" FAX_SEQF, emsg);

The data type is therefore u_long

I googled for this data type and came out with the following answer

C/C++  	u_long  	4 bytes  	0 to 4294967295
(source: http://www.vbip.com/winsock-api/template/template-02.asp)

If my source is reliable, you'll be able to send or receive over 4 billion faxes. That's probably enough for the next couple of years ;)

Mit freundlichen Grüssen - kind regards - Meilleures salutations
Erich Iseli

-----Original Message-----
From: hylafax-users-bounce@xxxxxxxxxxx [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of moritz winterberg
Sent: Wednesday, November 23, 2005 1:46 PM
To: hylafax
Subject: [hylafax-users] ag: jobID/seqf

Hello,

this is probably easy to answer. I'd like to know the exact datatype of
the jobID/commID Hylafax is using. How big will it grow until it starts again
from 1 ? I've heard something about max 32000 but if I manually change the seqf
file to 100.000 it'll go on adding to it.
Is this configurable somewhere ? 

thanks
moritz


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services