diff options
Diffstat (limited to 'src/plist.c')
| -rw-r--r-- | src/plist.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plist.c b/src/plist.c index 640bbe5..adee262 100644 --- a/src/plist.c +++ b/src/plist.c | |||
| @@ -194,6 +194,11 @@ plist_t plist_find_node(plist_t plist, plist_type type, void *value, uint64_t le | |||
| 194 | return NULL; | 194 | return NULL; |
| 195 | } | 195 | } |
| 196 | 196 | ||
| 197 | plist_t plist_find_node_by_string(plist_t plist, char *value) | ||
| 198 | { | ||
| 199 | return plist_find_node(plist, PLIST_STRING, value, strlen(value)); | ||
| 200 | } | ||
| 201 | |||
| 197 | void plist_get_type_and_value(plist_t node, plist_type * type, void *value, uint64_t * length) | 202 | void plist_get_type_and_value(plist_t node, plist_type * type, void *value, uint64_t * length) |
| 198 | { | 203 | { |
| 199 | if (!node) | 204 | if (!node) |
