All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ] doc/obex-api: Split FilterBy into FilterAll and FilterAny
@ 2014-09-23 10:17 Luiz Augusto von Dentz
  2014-09-26  8:19 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2014-09-23 10:17 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

This makes a simpler API and document the fact that they cannot be used
together.
---
 doc/obex-api.txt | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/doc/obex-api.txt b/doc/obex-api.txt
index f80ef39..a39abc0 100644
--- a/doc/obex-api.txt
+++ b/doc/obex-api.txt
@@ -473,14 +473,19 @@ Filter:		string Format:
 
 			Possible values can be query with ListFilterFields.
 
-		array{string} FilterBy:
+		array{string} FilterAll:
 
-			Filter items by fields. Default do not filter by
-			fields.
+			Filter items by fields using AND logic, cannot be used
+			together with FilterAny.
 
-			Possible values can be query with ListFilterFields
-			excluding the first item that must be either '&' or
-			'|' that apply AND or OR logic respectively.
+			Possible values can be query with ListFilterFields.
+
+		array{string} FilterAny:
+
+			Filter items by fields using OR logic, cannot be used
+			together with FilterAll.
+
+			Possible values can be query with ListFilterFields.
 
 		bool ResetNewMissedCalls
 
-- 
1.9.3


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH BlueZ] doc/obex-api: Split FilterBy into FilterAll and FilterAny
  2014-09-23 10:17 [PATCH BlueZ] doc/obex-api: Split FilterBy into FilterAll and FilterAny Luiz Augusto von Dentz
@ 2014-09-26  8:19 ` Luiz Augusto von Dentz
  0 siblings, 0 replies; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2014-09-26  8:19 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

On Tue, Sep 23, 2014 at 1:17 PM, Luiz Augusto von Dentz
<luiz.dentz@gmail.com> wrote:
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
>
> This makes a simpler API and document the fact that they cannot be used
> together.
> ---
>  doc/obex-api.txt | 17 +++++++++++------
>  1 file changed, 11 insertions(+), 6 deletions(-)
>
> diff --git a/doc/obex-api.txt b/doc/obex-api.txt
> index f80ef39..a39abc0 100644
> --- a/doc/obex-api.txt
> +++ b/doc/obex-api.txt
> @@ -473,14 +473,19 @@ Filter:           string Format:
>
>                         Possible values can be query with ListFilterFields.
>
> -               array{string} FilterBy:
> +               array{string} FilterAll:
>
> -                       Filter items by fields. Default do not filter by
> -                       fields.
> +                       Filter items by fields using AND logic, cannot be used
> +                       together with FilterAny.
>
> -                       Possible values can be query with ListFilterFields
> -                       excluding the first item that must be either '&' or
> -                       '|' that apply AND or OR logic respectively.
> +                       Possible values can be query with ListFilterFields.
> +
> +               array{string} FilterAny:
> +
> +                       Filter items by fields using OR logic, cannot be used
> +                       together with FilterAll.
> +
> +                       Possible values can be query with ListFilterFields.
>
>                 bool ResetNewMissedCalls
>
> --
> 1.9.3

Applied.


-- 
Luiz Augusto von Dentz

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-26  8:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-23 10:17 [PATCH BlueZ] doc/obex-api: Split FilterBy into FilterAll and FilterAny Luiz Augusto von Dentz
2014-09-26  8:19 ` Luiz Augusto von Dentz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.