mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-03 20:34:14 +01:00
WINGS: New function WMReadPropListFromPipe
This functions reads a proplist from a pipe instead of a file (like WMReadPropListFromFile does). It uses a call to popen to open the desired command, reads data into a buffer till EOF and passes the data to getPropList for parsing. v2: code cleanup
This commit is contained in:
committed by
Carlos R. Mafra
parent
a657fafcce
commit
cc69d2aae3
@@ -807,6 +807,8 @@ char* WMGetPropListDescription(WMPropList *plist, Bool indented);
|
||||
|
||||
WMPropList* WMReadPropListFromFile(char *file);
|
||||
|
||||
WMPropList* WMReadPropListFromPipe(char *command);
|
||||
|
||||
Bool WMWritePropListToFile(WMPropList *plist, char *path);
|
||||
|
||||
/* ---[ WINGs/userdefaults.c ]-------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user