Home
last modified time | relevance | path

Searched refs:acc_method (Results 1 – 6 of 6) sorted by relevance

/mirbsd/src/gnu/usr.bin/lynx/WWW/Library/Implementation/
DHTAccess.c245 char *acc_method = NULL; in override_proxy() local
272 if ((acc_method = HTParse(addr, "", PARSE_ACCESS))) { in override_proxy()
273 if (!strcmp("file", acc_method) && in override_proxy()
277 FREE(acc_method); in override_proxy()
280 FREE(acc_method); in override_proxy()
291 acc_method = HTParse(addr, "", PARSE_ACCESS); in override_proxy()
292 if (acc_method != NULL) { in override_proxy()
294 if (!strcmp(acc_method, "http")) port = 80; in override_proxy()
295 else if (!strcmp(acc_method, "https")) port = 443; in override_proxy()
296 else if (!strcmp(acc_method, "ftp")) port = 21; in override_proxy()
[all …]
DHTTelnet.c57 static int remote_session(char *acc_method, char *host) in remote_session() argument
71 strcmp(acc_method, "rlogin") == 0 ? rlogin : in remote_session()
72 strcmp(acc_method, "tn3270") == 0 ? tn3270 : telnet; in remote_session()
113 gettext("remote %s session:"), acc_method); in remote_session()
147 acc_method); in remote_session()
339 acc_method); in remote_session()
442 acc_method); in remote_session()
456 acc_method); in remote_session()
477 acc_method); in remote_session()
478 printf("\nTo access the information you must %s to %s", acc_method, hostname); in remote_session()
[all …]
DHTParse.c340 char *acc_method; in HTParse() local
431 acc_method = given.access ? given.access : related.access; in HTParse()
433 if (acc_method) { in HTParse()
434 strcpy(tail, acc_method); in HTParse()
489 if (p2 != NULL && acc_method != NULL) { in HTParse()
493 #define ACC_METHOD(a,b) (!strcmp(acc_method, a) && (portnumber == b)) in HTParse()
583 if (acc_method && !given.absolute && given.relative) { in HTParse()
588 switch (*acc_method) { in HTParse()
591 if (!strcasecomp(acc_method, "nntp") || in HTParse()
592 (!strcasecomp(acc_method, "news") && in HTParse()
[all …]
DHTFile.c625 char *acc_method = HTParse(name, "", PARSE_ACCESS); in HTCacheFileName() local
630 HTSprintf0(&result, "%s/WWW/%s/%s%s", HTCacheRoot, acc_method, host, path); in HTCacheFileName()
633 FREE(acc_method); in HTCacheFileName()
701 char *acc_method = HTParse(name, "", PARSE_ACCESS); in HTnameOfFile_WWW() local
712 if (0 == strcmp(acc_method, "file") /* local file */ in HTnameOfFile_WWW()
713 ||!*acc_method) { /* implicitly local? */ in HTnameOfFile_WWW()
739 HTSprintf0(&result, "%s/WWW/%s/%s%s", home, acc_method, host, path); in HTnameOfFile_WWW()
746 FREE(acc_method); in HTnameOfFile_WWW()
2659 char *acc_method = NULL; in HTLoadFile() local
2684 acc_method = HTParse(newname, "", PARSE_ACCESS); in HTLoadFile()
[all …]
/mirbsd/src/gnu/usr.bin/lynx/src/
DLYUtils.c2043 char *acc_method = NULL; in LYisLocalFile() local
2058 if ((acc_method = HTParse(filename, "", PARSE_ACCESS))) { in LYisLocalFile()
2059 if (0 == strcmp("file", acc_method) && in LYisLocalFile()
2063 FREE(acc_method); in LYisLocalFile()
2069 FREE(acc_method); in LYisLocalFile()
2747 char *acc_method = HTParse(temp0, "", PARSE_ACCESS); in LYCanDoHEAD() local
2749 if (non_empty(acc_method)) { in LYCanDoHEAD()
2752 StrAllocCat(acc_method, "_proxy"); in LYCanDoHEAD()
2753 proxy = LYGetEnv(acc_method); in LYCanDoHEAD()
2758 FREE(acc_method); in LYCanDoHEAD()
[all …]
/mirbsd/src/gnu/usr.bin/lynx/
DCHANGES8520 * modify HTnameOfFile_WWW() to interpret an empty acc_method as a local file,