Re: g_build_filename and members



On Sun, 2008-01-06 at 21:43 +0100, Mikael Hermansson wrote:
> Hmm just saw that g_build_filename does not work for GIO Uris

as the name implies, and the documentation specifies, g_build_filename()
is meant for filenames, not URIs.

> maybe there should be an g_build_uri? or similar?

different schemes might have different specifications, without even
counting the non-standard or custom ones; creating a generic API might
prove more difficult than it's worth. for instance: the ftp: and http:
schemes allow information like username, password and even connection
port: that would be quite difficult to define in a single API call.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi,
W: http://www.emmanuelebassi.net
B: http://log.emmanuelebassi.net



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]