diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/plist/plist.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/plist/plist.h b/include/plist/plist.h index 2b7e1a1..7e59acb 100644 --- a/include/plist/plist.h +++ b/include/plist/plist.h | |||
| @@ -617,6 +617,17 @@ extern "C" | |||
| 617 | void plist_from_bin(const char *plist_bin, uint32_t length, plist_t * plist); | 617 | void plist_from_bin(const char *plist_bin, uint32_t length, plist_t * plist); |
| 618 | 618 | ||
| 619 | /** | 619 | /** |
| 620 | * Import the #plist_t structure from memory data. | ||
| 621 | * This method will look at the first bytes of plist_data | ||
| 622 | * to determine if plist_data contains a binary or XML plist. | ||
| 623 | * | ||
| 624 | * @param plist_data a pointer to the memory buffer containing plist data. | ||
| 625 | * @param length length of the buffer to read. | ||
| 626 | * @param plist a pointer to the imported plist. | ||
| 627 | */ | ||
| 628 | void plist_from_memory(const char *plist_data, uint32_t length, plist_t * plist); | ||
| 629 | |||
| 630 | /** | ||
| 620 | * Test if in-memory plist data is binary or XML | 631 | * Test if in-memory plist data is binary or XML |
| 621 | * This method will look at the first bytes of plist_data | 632 | * This method will look at the first bytes of plist_data |
| 622 | * to determine if plist_data contains a binary or XML plist. | 633 | * to determine if plist_data contains a binary or XML plist. |
