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

List:       netatalk-devel
Subject:    Re: [Netatalk-devel] Call for AFP 3.0 developers
From:       Joe Clarke <marcus () marcuscom ! com>
Date:       2001-12-31 16:02:45
[Download RAW message or body]

Thanks for the tips!  Some of these I ran into when I first sat
down to the task.  Interested in joining the coding effort?

Joe

On Mon, 31 Dec 2001, Jens-Uwe Mager wrote:

> On Mon, Dec 31, 2001 at 02:04:32AM -0500, Joe Clarke wrote:
>
> > Ladies and gentlemen, I am restarting work on adding AFP 3.0 support to
> > Netatalk.  This project will consist of primarily three things.  One is
> > adding UNIX permission support, and the other is adding Unicode filename
> > support, and large (> 4 GB) volume and file support.
>
> Just to save you some time debugging: do the Unicode file name support
> first and then the other stuff of AFP 3.0. The AFP 3.0 client in MacOS X
> depends on UTF names working, you cannot test the other stuff without
> it. To be more exact, you will need to implement in that order:
>
> LoginExt (if you have AFPX03 as version string this is required)
> GetSessionToken (even if you return a dummy token)
>
> then you will need to implement EnumerateExt with the UTF8 file name
> bits. And what really threw me off as it was not recognizable from the
> spec is the real format of UTF path names:
>
> 1 byte path type 0x03
> 4 byte encoding hint (constant at kTextEncodingUTF8 0x08000103)
> 2 byte string length
> length bytes path name with '/' as path delimiter!
>
> The *Info calls also return exactly this format including the encoding
> hint but sans the path type byte. For some strange reason I do not know
> the new MapID calls and the LoginExt call do not use any encoding hint,
> just a plain 16 bit count followed by the characters.
>
> --
> Jens-Uwe Mager	<pgp-mailto:62CFDB25>
>
>


_______________________________________________
Netatalk-devel mailing list
Netatalk-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netatalk-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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