[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: Win32 port
From:       Havoc Pennington <hp () redhat ! com>
Date:       2006-06-28 3:46:04
Message-ID: 44A1FB7C.3030009 () redhat ! com
[Download RAW message or body]

Thiago Macieira wrote:
> 
> One thing, though, is that I've just realised the function is called 
> GetConnectionUnixUser, so it is only meaningful in Unix context. So we 
> can leave it, but I'd recommend adding a generic function too.
> 

I think just adding GetConnectionWindowsUser() might be fine ... there's 
nothing the caller can do without knowing whether it's getting unix or 
windows, since we aren't exporting any kind of uid abstraction outside 
of dbus internals.

One thing to check if doing this is the encoding of windows usernames... 
are they UTF-8 or UTF-16, or can they be in some other encoding...

Havoc


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic