Lines Matching defs:desc

2    sane-desc.c -- generate list of supported SANE devices
159 char *desc;
179 struct desc_entry *desc;
316 "Specify the directory that contains .desc files\n"
334 printf ("sane-desc %s (%s)\n", SANE_DESC_VERSION, PACKAGE_STRING);
337 "sane-desc comes with NO WARRANTY, to the extent permitted by "
339 "You may redistribute copies of sane-desc under the terms of the "
784 /* Read and interpret the .desc files */
802 DBG_INFO ("looking for .desc files in `%s'\n", search_dir_spec);
832 ".desc") == 0)
841 DBG_INFO ("-> reading desc file: %s\n", file_name);
845 DBG_ERR ("can't open desc file: %s (%s)\n", file_name,
1225 (line, ":desc", param_string,
1238 ("use `:desc' for `:api' and `:meta' only (backend `%s')\n",
1243 if (current_type->desc)
1249 current_type->desc);
1255 current_type->desc = calloc (1, sizeof (desc_entry));
1256 if (!current_type->desc)
1261 current_type->desc->desc = string_entry;
1497 current_type->desc->url =
1498 update_url_list (current_type->desc->url,
1539 current_type->desc->comment = string_entry;
1580 DBG_ERR ("Couldn't find any .desc file\n");
1893 if (type->desc)
1895 url_entry *url = type->desc->url;
1896 printf (" desc `%s'\n", type->desc->desc);
1906 if (type->desc->comment)
1907 printf (" comment `%s'\n", type->desc->comment);
1912 printf (" desc *none*\n");
2130 if (type->desc)
2132 url_entry *url = type->desc->url;
2133 printf (" <desc>%s</desc>\n",
2134 clean_string (type->desc->desc));
2144 if (type->desc->comment)
2146 clean_string (type->desc->comment));
2151 printf (" <desc>*none*</desc>\n");
2283 if (type->desc)
2531 if (type->desc)
2533 if (type->desc->desc)
2535 if (type->desc->url && type->desc->url->name)
2538 type->desc->url->name, type->desc->desc);
2541 type->desc->desc);
2544 if (type->desc->comment)
2545 printf ("<b>Comment:</b> %s<br>\n", type->desc->comment);
2815 printf ("This page was created by sane-desc %s from %s\n",
3320 printf ("# This file was generated from description files (*.desc)\n"
3321 "# by sane-desc %s from %s\n",