version 1.53, 2009/10/03 15:08:09 |
version 1.54, 2009/10/03 15:26:26 |
Line 73 static const char *const htmlattrs[ATTR_MAX] = { |
|
Line 73 static const char *const htmlattrs[ATTR_MAX] = { |
|
"style", |
"style", |
"width", |
"width", |
"valign", |
"valign", |
|
"target", |
}; |
}; |
|
|
#ifdef __linux__ |
#ifdef __linux__ |
Line 87 html_alloc(char *outopts) |
|
Line 88 html_alloc(char *outopts) |
|
|
|
toks[0] = "style"; |
toks[0] = "style"; |
toks[1] = "man"; |
toks[1] = "man"; |
toks[2] = NULL; |
toks[2] = "includes"; |
|
toks[3] = NULL; |
|
|
if (NULL == (h = calloc(1, sizeof(struct html)))) |
if (NULL == (h = calloc(1, sizeof(struct html)))) |
return(NULL); |
return(NULL); |
Line 100 html_alloc(char *outopts) |
|
Line 102 html_alloc(char *outopts) |
|
return(NULL); |
return(NULL); |
} |
} |
|
|
h->base_man = "%N.%S.html"; |
|
|
|
while (outopts && *outopts) |
while (outopts && *outopts) |
switch (getsubopt(&outopts, toks, &v)) { |
switch (getsubopt(&outopts, toks, &v)) { |
case (0): |
case (0): |
Line 109 html_alloc(char *outopts) |
|
Line 109 html_alloc(char *outopts) |
|
break; |
break; |
case (1): |
case (1): |
h->base_man = v; |
h->base_man = v; |
|
break; |
|
case (2): |
|
h->base_includes = v; |
break; |
break; |
default: |
default: |
break; |
break; |