Re: [pulseaudio-discuss] [PATCH 7/8] message-params: Add read/write functions for various simple data types

2018-08-06 Thread Tanu Kaskinen
On Mon, 2018-04-09 at 19:35 +0200, Georg Chini wrote: > See doc/messaging_api.txt for the added functions. All read functions > return 1 on success, 0 if end of string is found and -1 on parse error. > Additionally, for the numeric/boolean read functions, 2 is returned if > the list element is

[pulseaudio-discuss] [PATCH 7/8] message-params: Add read/write functions for various simple data types

2018-04-09 Thread Georg Chini
See doc/messaging_api.txt for the added functions. All read functions return 1 on success, 0 if end of string is found and -1 on parse error. Additionally, for the numeric/boolean read functions, 2 is returned if the list element is empty. --- doc/messaging_api.txt | 15 +++- src/map-file