Hi, On Tue, Sep 13, 2011 at 08:54:09AM +0200, Samuel Thibault wrote: > olafbuddenha...@gmx.net, le Mon 12 Sep 2011 20:15:36 +0200, a écrit :
> > > Why no "in" or "out" before parameter "device" ? > > > > Well, I would have said that the first parameter is just special. > > (It's the port on which the RPC was invoked; basically it's only > > there to give it a name.) However, I just saw that device_open() > > also has other parameters without a direction... > > These other parameters are integers or constant character arrays, so > they are implictly in. Maybe I'm missing something, but I fail to see why integers or character arrays would by any more implicitly IN than other types?... Perhaps IN is simply the default in general, and it's only explicitly specified in most interfaces for clearity? But that's pure speculation of course :-) (BTW, the same "mode" parameter is actually explicitly marked as IN in the other device_ RPCs -- so I guess it's just some hiccup that it's missing in device_open()...) -antrik-