home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / amiga / programm / 11599 < prev    next >
Encoding:
Internet Message Format  |  1992-07-24  |  1.8 KB

  1. Path: sparky!uunet!utcsri!torn!cunews!revcan!sidus!atronx.OCUnix.On.Ca!qpoint!dej
  2. From: dej@qpoint.ocunix.on.ca (David Jones)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re:  MatchNext() or Exall() - which is better?
  5. Distribution: world
  6. Message-ID: <dej.01b3@qpoint.ocunix.on.ca>
  7. References:  <dej.01aj@qpoint.ocunix.on.ca> <jbickers.0bhm@templar.actrix.gen.nz> <Brov1H.4Iu@unx.sas.com>
  8. Date: 21 Jul 92 19:55:03 EST
  9. Organization: Dejital Software
  10. Lines: 36
  11.  
  12. In article <Brov1H.4Iu@unx.sas.com> jamie@cdevil.unx.sas.com (James Cooper) writes:
  13. >For David Jones: you don't need to use the MatchHook if you pass the
  14. >correct thing in the eac->MatchString field, as those are the only files
  15. >that will be returned, anyway.
  16. >
  17.  
  18. Perhaps I should clarify the processing.  The files in the directory
  19. are in the form FIDO.zone.net.node.point.queue where zone/net/node/point
  20. are components of a 4-D Fidonet address.  I don't want the filename
  21. itself.  I just want to know the address so that I can dynamically
  22. allocate a structure, associate it with the address, and link into
  23. a master list in my application.
  24.  
  25. I'd rather not allocate a huge ExAll() buffer, and with MatchFunc, I
  26. can inspect the filename and do my processing w/o using any more than
  27. one buffer slot.
  28.  
  29. (For the curious (and in the know), this is xferq.library doing the
  30. queue scan when first asked to read a queue file)
  31.  
  32. As it turns out, the MatchFirst/Next/End() approach appears to
  33. be working.
  34.  
  35. >-- 
  36. >---------------
  37. >Jim Cooper
  38. >(jamie@unx.sas.com)                             bix: jcooper
  39. >
  40. >Any opinions expressed herein are mine (Mine, all mine!  Ha, ha, ha!),
  41. >and not necessarily those of my employer.
  42.  
  43. --
  44.  David Jones, 6730 Tooney Drive, Orleans, Ontario K1C 6R4 CANADA
  45.        email: dej@qpoint.ocunix.on.ca    Fido: 1:163/109.8
  46.  AMIGA: Advanced Multimedia with Interactive Graphics and Audio
  47.  
  48.