| 80 | */ |
| 81 | |
| 82 | const char * /* O - Filename for PPD file */ |
| 83 | cupsGetPPD2(http_t *http, /* I - Connection to server or @code CUPS_HTTP_DEFAULT@ */ |
| 84 | const char *name) /* I - Destination name */ |
| 85 | { |
| 86 | _ppd_globals_t *pg = _ppdGlobals(); /* Pointer to library globals */ |
| 87 | time_t modtime = 0; /* Modification time */ |
| 88 | |
| 89 | |
| 90 | pg->ppd_filename[0] = '\0'; |
| 91 | |
| 92 | if (cupsGetPPD3(http, name, &modtime, pg->ppd_filename, |
| 93 | sizeof(pg->ppd_filename)) == HTTP_STATUS_OK) |
| 94 | return (pg->ppd_filename); |
| 95 | else |
| 96 | return (NULL); |
| 97 | } |
| 98 | |
| 99 | |
| 100 | /* |
no test coverage detected