From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu From: "Skip Tavakkolian" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Subject: [9fans] Links code Date: Fri, 12 Dec 2003 03:07:42 -0800 Content-Transfer-Encoding: quoted-printable Topicbox-Message-UUID: a064ad32-eacc-11e9-9e20-41e7f4b1d025 I don't want to be ungrateful, and appreciate the effort BUT... I just peeked under the hood. Holy sh*t! here is one: void (*get_protocol_handle(unsigned char *url))(struct connection *) { unsigned char *p; void (*f)(struct connection *) =3D NULL; if (!(p =3D get_protocol_name(url))) return NULL; get_prot_info(p, NULL, &f, NULL); mem_free(p); return f; } my favorite so far: int parse_url(unsigned char *url, int *prlen, unsigned char **user, int *= uslen, unsigned char **pass, int *palen, unsigned char **host, int *holen= , unsigned char **port, int *polen, unsigned char **data, int *dalen, uns= igned char **post) I see there is good reason to think we're finally catching up with Micros= oft. =E2=98=BA