Return-Path: To: linux-bluetooth Subject: Re: [RFC] API for MAP client in obex-client MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Date: Thu, 03 Nov 2011 15:08:19 +0100 From: Hendrik Sattler In-Reply-To: References: Message-ID: Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Am 03.11.2011 14:44, schrieb Bartosz Szatkowski: > void SetFolder(boolean cdup, string name) > > Set working directory for current session. > > | cdup | folder name | operation | > |=====================================| > | FALSE | empty | cd / | > |--------+-------------+--------------| > | FALSE | name | cd name | > |--------+-------------+--------------| > | TRUE | [name] | cd ..[/name] | > +-------------------------------------+ Why not simply void SetFolder(String cdString) and derive the obex command from that? It makes that API much easier to use. HS