version 1.13, 2015/01/20 09:00:16 |
version 1.14, 2021/06/22 20:19:28 |
|
|
} |
} |
|
|
/* |
/* |
* Get a list of the Distfile Option Entries. |
|
*/ |
|
char * |
|
getdistoptlist(void) |
|
{ |
|
int i; |
|
static char buf[1024]; |
|
|
|
for (i = 0, buf[0] = CNULL; distoptinfo[i].do_name; ++i) { |
|
if (buf[0] == CNULL) |
|
(void) strlcpy(buf, distoptinfo[i].do_name, sizeof buf); |
|
else { |
|
(void) strlcat(buf, ",", sizeof buf); |
|
(void) strlcat(buf, distoptinfo[i].do_name, sizeof buf); |
|
} |
|
} |
|
|
|
return(buf); |
|
} |
|
|
|
/* |
|
* Get a list of the Distfile Option Entries for each enabled |
* Get a list of the Distfile Option Entries for each enabled |
* value in "opts". |
* value in "opts". |
*/ |
*/ |