a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 aml.library
  --rexxhost--
  AddArticlePartA
  AddCustomField
  AddFolderArticle
  CreateAddressEntryA
  CreateArticleA
  CreateArticlePartA
  CreateDecoderA
  CreateFolderA
  CreateServerA
  Decode
  DisposeAddressEntry
  DisposeArticle
  DisposeArticlePart
  DisposeDecoder
  DisposeFolder
  DisposeServer
  Encode
  ExpungeFolder
  FindAddressEntryA
  GetAddressEntryAttrsA
  GetArticleAttrsA
  GetArticlePartDataA
  GetCustomFieldData
  GetDecoderAttrsA
  GetFolderAttrsA
  GetServerArticles
  GetServerAttrsA
  GetServerHeaders
  HuntAddressEntryA
  OpenAddressEntry
  OpenArticle
  OpenFolderA
  ReadFolderSpool
  RemAddressEntry
  RemCustomField
  RemFolder
  RemFolderArticle
  SaveAddressEntry
  SaveFolder
  ScanFolderIndex
  SendArticle
  SetAddressEntryAttrsA
  SetArticleAttrsA
  SetArticlePartDataA
  SetDecoderAttrsA
  SetFolderAttrsA
  SetServerAttrsA
  WriteFolderSpool
Include
GuruMeditation
Docs » Autodocs » aml.library » ReadFolderSpool

NAME

	ReadFolderSpool -- Reads a spool file into the folder

SYNOPSIS

	count = ReadFolderSpool(folder, importfile, flags)
D0 A0 A1 DO
ULONG ReadFolderSpool(APTR folder, STRPTR importfile, ULONG flags);

FUNCTION

	This function reads a spoolfile and imports each article
into the folder. The function expects the file to be in
UNIX mailbox format, i.e., each article is preceded by a
"From " line, identifying the start of the article. This
"From " line is discarded.

INPUTS

	folder - Pointer to a folder object
importfile - Filename of the spoolfile to import
flags - See <libraries/aml.h> for valid flags.

RESULT

	count - The number of article read from the spool.

SEE ALSO

WriteFolderSpool()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Rebels

CSL
SPB
RBS
HZ

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se