diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1998-12-13 04:18:55 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1998-12-13 04:18:55 -0500 |
commit | 08fc6e5c6582f05f43c968931b04d698cf7abc86 (patch) | |
tree | e8dd5f36c333c4fec9bee88f9bffb370db7ee176 /WWW/Library/Implementation/HTAAFile.h | |
parent | 0654c7025fbe241efddf0c3b9e58817f262aeda9 (diff) | |
download | lynx-snapshots-08fc6e5c6582f05f43c968931b04d698cf7abc86.tar.gz |
snapshot of project "lynx", label v2-8-2dev_9
Diffstat (limited to 'WWW/Library/Implementation/HTAAFile.h')
-rw-r--r-- | WWW/Library/Implementation/HTAAFile.h | 32 |
1 files changed, 16 insertions, 16 deletions
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: |