* [9fans] Links code
@ 2003-12-12 11:07 Skip Tavakkolian
0 siblings, 0 replies; only message in thread
From: Skip Tavakkolian @ 2003-12-12 11:07 UTC (permalink / raw)
To: 9fans
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 *) = NULL;
if (!(p = 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, unsigned char **post)
I see there is good reason to think we're finally catching up with Microsoft. ☺
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-12-12 11:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-12 11:07 [9fans] Links code Skip Tavakkolian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).