category-group: www
layer: 0
header file(s): z_www.h synopsis.
All of the functions here are very old and considered defunct. There are only 4 of them. They deal with parsing text from HTML pages. The source and purpose of this is obscure (possibly with roots from NCSA). [C] functions (aka subroutines):
getword()
SIGNATURE: void getword (char *word, char *line, char endchar)
SYNOPSIS: copy part of "line" (up to "endcha" or e-o-string) to "word"
TRAITS: old; unused; rusting
plustospace()
SIGNATURE: void plustospace (char *str)
SYNOPSIS: replace all "+" characters in "str" to spaces
TRAITS: marked for termination
x2c()
SIGNATURE: char x2c (char *str)
SYNOPSIS: Converts a hexadecimal number found in the parameter string for the first 2 characters, to a decimal number
unescape_url()
SIGNATURE: void unescape_url (char *s_url)
SYNOPSIS:
uses x2c() to replace all the escape sequences to their actual value. Ie, "%1A" is replaced by a character with the value [decimal] 26