From 08fc6e5c6582f05f43c968931b04d698cf7abc86 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sun, 13 Dec 1998 04:18:55 -0500 Subject: snapshot of project "lynx", label v2-8-2dev_9 --- WWW/Library/Implementation/HTAAFile.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'WWW/Library/Implementation/HTAAFile.h') diff --git a/WWW/Library/Implementation/HTAAFile.h b/WWW/Library/Implementation/HTAAFile.h index 8986b593..05082f42 100644 --- a/WWW/Library/Implementation/HTAAFile.h +++ b/WWW/Library/Implementation/HTAAFile.h @@ -1,14 +1,14 @@ /* FILE ROUTINES FOR ACCESS AUTHORIZATION PACKAGE - + This module implements the routines used for accessing (and parsing) the files used in the access authorization: - + password file - + group file - + access control list (ACL) file - + */ @@ -35,23 +35,23 @@ Naming conventions Record is an entire line in file. - + Field is an entity separated by colons and/or by end-of-line. - + List is a field in which there are items separated by commas. - + Record-oriented Read Routines Password, group and ACL are internally read in by the following functions: - + HTAAFile_nextRec() skips to the beginning of the next record (must be called even after the last field of a record is read to proceed to the next record). - + HTAAFile_readField() reads a field (separated by colons). - + HTAAFile_readList() reads a field containing a comma-separated list of items. - + */ /* PUBLIC HTAAFile_nextRec() @@ -60,7 +60,7 @@ Record-oriented Read Routines ** fp is the file from which records are read from. ** ** ON EXIT: -** returns nothing. File read pointer is located at the beginning +** returns nothing. File read pointer is located at the beginning ** of the next record. ** */ @@ -70,17 +70,17 @@ PUBLIC void HTAAFile_nextRec PARAMS((FILE * fp)); /* PUBLIC HTAAFile_readField() ** READ A FIELD FROM A PASSWORD, GROUP ** OR ACCESS CONTROL LIST FILE -** i.e. an item terminated by colon, +** i.e., an item terminated by colon, ** end-of-line, or end-of-file. ** ON ENTRY: ** fp is the file to read the characters from ** contents is the character array to put the characters ** max_len is the maximum number of characters that may -** be read (i.e. the size of dest minus one for +** be read (i.e., the size of dest minus one for ** terminating null). ** ON EXIT: ** returns the terminating character -** (i.e. either separator or CR or LF or EOF). +** (i.e., either separator or CR or LF or EOF). ** contents contains a null-terminated string representing ** the read field. ** NOTE 1: -- cgit 1.4.1-2-gfad0