#include "W3Gopher.h"
#include "W3HTTP.h"
#include "W3POP3.h"
+#include "W3Nex.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, "nex") == 0) {
} else if(strcmp(protocol, "finger") == 0) {
} else if(strcmp(protocol, "gopher") == 0) {
} else if(strcmp(protocol, "pop3") == 0) {
#endif
} else if(strcmp(w3->protocol, "finger") == 0) {
__W3_Finger_Request(w3);
+ } else if(strcmp(w3->protocol, "nex") == 0) {
+ __W3_Nex_Request(w3);
} else if(strcmp(w3->protocol, "file") == 0) {
__W3_File_Request(w3);
}
r->port = 1965;
} else if(strcmp(r->protocol, "finger") == 0) {
r->port = 79;
+ }else if(strcmp(r->protocol, "nex") == 0) {
+ r->port = 1900;
}
+
}
r->host = __W3_Strdup(url + start + (atmark == 0 ? 0 : (atmark - 1)));
char* str = malloc(strlen(r->host) + 64);