Home
last modified time | relevance | path

Searched refs:auth_info_required (Results 1 – 8 of 8) sorted by relevance

/external/libcups/cups/
Dbackend.c41 *auth_info_required; /* AUTH_INFO_REQUIRED env var */ in cupsBackendDeviceURI() local
57 if ((auth_info_required = getenv("AUTH_INFO_REQUIRED")) != NULL && in cupsBackendDeviceURI()
58 !strcmp(auth_info_required, "negotiate")) in cupsBackendDeviceURI()
/external/libcups/scheduler/
Dclasses.c729 strlcpy(value, pclass->auth_info_required[0], sizeof(value)); in cupsdSaveAllClasses()
734 pclass->auth_info_required[0], in cupsdSaveAllClasses()
735 pclass->auth_info_required[1]); in cupsdSaveAllClasses()
741 pclass->auth_info_required[0], in cupsdSaveAllClasses()
742 pclass->auth_info_required[1], in cupsdSaveAllClasses()
743 pclass->auth_info_required[2]); in cupsdSaveAllClasses()
Djob.c534 auth_info_required[255], in cupsdContinueJob() local
1018 snprintf(auth_info_required, sizeof(auth_info_required), in cupsdContinueJob()
1020 job->printer->auth_info_required[0]); in cupsdContinueJob()
1022 snprintf(auth_info_required, sizeof(auth_info_required), in cupsdContinueJob()
1024 job->printer->auth_info_required[0], in cupsdContinueJob()
1025 job->printer->auth_info_required[1]); in cupsdContinueJob()
1027 snprintf(auth_info_required, sizeof(auth_info_required), in cupsdContinueJob()
1029 job->printer->auth_info_required[0], in cupsdContinueJob()
1030 job->printer->auth_info_required[1], in cupsdContinueJob()
1031 job->printer->auth_info_required[2]); in cupsdContinueJob()
[all …]
Dprinters.c1545 strlcpy(value, printer->auth_info_required[0], sizeof(value)); in cupsdSaveAllPrinters()
1550 printer->auth_info_required[0], in cupsdSaveAllPrinters()
1551 printer->auth_info_required[1]); in cupsdSaveAllPrinters()
1557 printer->auth_info_required[0], in cupsdSaveAllPrinters()
1558 printer->auth_info_required[1], in cupsdSaveAllPrinters()
1559 printer->auth_info_required[2]); in cupsdSaveAllPrinters()
1797 p->auth_info_required[p->num_auth_info_required] = "none"; in cupsdSetAuthInfoRequired()
1807 p->auth_info_required[p->num_auth_info_required] = "negotiate"; in cupsdSetAuthInfoRequired()
1822 p->auth_info_required[p->num_auth_info_required] = "domain"; in cupsdSetAuthInfoRequired()
1827 p->auth_info_required[p->num_auth_info_required] = "password"; in cupsdSetAuthInfoRequired()
[all …]
Dprinters.h110 const char *auth_info_required[4]; /* Required authentication fields */ member
Ddirsvc.c1593 if (p->num_auth_info_required > 0 && strcmp(p->auth_info_required[0], "none")) in get_auth_info_required()
1606 strlcpy(bufptr, p->auth_info_required[i], bufsize - (size_t)(bufptr - buffer)); in get_auth_info_required()
Dipp.c1275 !strcmp(printer->auth_info_required[0], "negotiate") && in add_job()
2496 !strcmp(printer->auth_info_required[0], "negotiate")) in add_printer()
3062 !strcmp(printer->auth_info_required[0], "negotiate")) in authenticate_job()
9458 if (strcmp(dest->auth_info_required[i], "negotiate")) in save_auth_info()
9461 cupsFilePutConf(fp, dest->auth_info_required[i], line); in save_auth_info()
9464 cupsFilePutConf(fp, dest->auth_info_required[i], in save_auth_info()
9467 if (!strcmp(dest->auth_info_required[i], "username")) in save_auth_info()
9470 else if (!strcmp(dest->auth_info_required[i], "domain")) in save_auth_info()
9473 else if (!strcmp(dest->auth_info_required[i], "password")) in save_auth_info()
9476 else if (!strcmp(dest->auth_info_required[i], "negotiate")) in save_auth_info()
[all …]
/external/libcups/backend/
Dipp.c73 static const char *auth_info_required; variable
342 if ((auth_info_required = getenv("AUTH_INFO_REQUIRED")) == NULL) in main()
343 auth_info_required = "none"; in main()
1006 auth_info_required = "negotiate"; in main()
1008 auth_info_required = "username,password"; in main()
1010 fprintf(stderr, "ATTR: auth-info-required=%s\n", auth_info_required); in main()
1542 auth_info_required = "negotiate"; in main()
1544 auth_info_required = "username,password"; in main()
1731 auth_info_required = "negotiate"; in main()
1733 auth_info_required = "username,password"; in main()
[all …]