home *** CD-ROM | disk | FTP | other *** search
- TABLE OF CONTENTS
-
- wwbbs.lib/Ask
- wwbbs.lib/GetLine
- wwbbs.lib/ShowText
- wwbbs.library/--config--
- wwbbs.library/GetConfig
- wwbbs.library/SetConfig
- wwbbs.library/AddConfig
- wwbbs.library/RemConfig
- wwbbs.library/--status--
- wwbbs.library/GetStatus
- wwbbs.library/SetStatus
- wwbbs.library/AddStatus
- wwbbs.library/RemStatus
- wwbbs.library/--user--
- wwbbs.library/GetUser
- wwbbs.library/SetUser
- wwbbs.library/AddUser
- wwbbs.library/RemUser
- wwbbs.library/LoadUser
- wwbbs.library/UnLoadUser
- wwbbs.library/NodeCommand
- wwbbs.library/ConsoleCommand
- wwbbs.library/SerialCommand
- wwbbs.library/TimerCommand
- wwbbs.library/SetUpdatePort
- wwbbs.library/SendUpdate
- wwbbs.library/LogEntry
- wwbbs.library/IsRange
- wwbbs.lib/Ask
-
- NAME
- Ask -- Ask user something, yes or no
-
- SYNOPSIS
- result = Ask(prompt,default)
-
- BOOL Ask(BYTE *,BOOL);
-
- FUNCTION
- Prints a prompt if specified and waits for a yes or no answer. Works
- through Input().
-
- INPUTS
- prompt - Prompt text. You do not need to specify any formatting
- characters, only the text.
- default - Set default answer to yes or no, TRUE or FALSE.
-
- RESULT
- result - TRUE is user selected yes, otherwise FALSE
- wwbbs.lib/GetLine
-
- NAME
- GetLine -- Get a line from user
-
- SYNOPSIS
- success = GetLine(id,buffer,length,flags)
-
- BOOL GetLine(BYTE *,BYTE *,UWORD,ULONG)
-
- FUNCTION
- Gets a line from the user, using flags to define behavior. Works
- through Input().
-
- INPUTS
- id - Node id. Get this from the NODE environment variable.
- buffer - Where to put text inputted from the user. Make sure it is big
- enough to hold length chars + NULL terminator.
- length - Maximum length of input line.
- flags - These flags define the behavior of this function:
-
- GLFLG_Edit - Begin with whatever is in buffer and allow user to edit
- it. Otherwise it will automatically clear buffer.
- GLFLG_NoEcho - Do not echo inputted characters.
- GLFLG_NoEmpty - Do not allow an empty line to be returned. Note
- that it may return an empty line if a panic
- situation happens, such as a loss of carrier.
- GLFLG_Format - Capitalize first letters of words.
- GLFLG_ToLower - Make all letters lowercase.
- GLFLG_ToUpper - Make all letters uppercase.
- GLFLG_Chars - Only allow characters in the alphabet.
- GLFLG_Digits - Only allow digits.
- GLFLG_NoChars - No characters.
- GLFLG_NoDigits - No digits.
- GLFLG_NoSpaces - No spaces.
- GLFLG_NoPunct - No punctuation characters.
- GLFLG_BeginChar - Must begin with a character in the alphabet.
- GLFLG_BeginDigit - Must begin with a digit.
-
- RESULT
- success - Was it successful?
- wwbbs.lib/ShowText
-
- NAME
- ShowText -- Show a text file
-
- SYNOPSIS
- ShowText(file)
-
- void ShowText(BYTE *);
-
- FUNCTION
- Show a text file.
-
- INPUTS
- file - Name of file to show.
- wwbbs.library/LogEntry
-
- NAME
- LogEntry(id,log,text)
-
- SYNOPSIS
- LogEntry(id,log,text)
-
- void LogEntry(BYTE *,BYTE *,BYTE *);
-
- FUNCTION
- Make a log entry.
-
- INPUTS
- id - Node id. Get this from the NODE environment variable.
- log - Log id. This is used to categorize log entries.
- text - Log entry text. Please keep your text less than about 60 chars.
- wwbbs.library/IsRange
-