#include "W3Gopher.h"
#include "W3HTTP.h"
#include "W3POP3.h"
+#include "W3Finger.h"
#ifdef SSL_SUPPORT
#include "W3Gemini.h"
#endif
} else if(strcmp(protocol, "gemini") == 0) {
} else if(strcmp(protocol, "gophers") == 0) {
#endif
+ } else if(strcmp(protocol, "finger") == 0) {
} else if(strcmp(protocol, "gopher") == 0) {
} else if(strcmp(protocol, "pop3") == 0) {
} else {
} else if(strcmp(w3->protocol, "gemini") == 0) {
__W3_Gemini_Request(w3);
#endif
+ } else if(strcmp(w3->protocol, "finger") == 0) {
+ __W3_Finger_Request(w3);
} else if(strcmp(w3->protocol, "file") == 0) {
__W3_File_Request(w3);
}
r->port = 70;
} else if(strcmp(r->protocol, "gemini") == 0) {
r->port = 1965;
+ } else if(strcmp(r->protocol, "finger") == 0) {
+ r->port = 79;
}
+
}
r->host = __W3_Strdup(url + start);
str = malloc(strlen(r->host) + 64);