diff options
| author | 2009-01-29 18:59:28 +0100 | |
|---|---|---|
| committer | 2009-01-29 18:59:28 +0100 | |
| commit | ddf3e321b10cfabf63e16e7061952465c3055664 (patch) | |
| tree | d0b2f9fdea92d9fbf398f2394384881fb07e6819 /include | |
| parent | 6d2cd169b0a73915964076a9dc653011e07875d3 (diff) | |
| download | libplist-ddf3e321b10cfabf63e16e7061952465c3055664.tar.gz libplist-ddf3e321b10cfabf63e16e7061952465c3055664.tar.bz2 | |
Remove dangerous functions from pulic API.
Diffstat (limited to 'include')
| -rw-r--r-- | include/plist/plist.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/plist/plist.h b/include/plist/plist.h index c5af845..c06d38b 100644 --- a/include/plist/plist.h +++ b/include/plist/plist.h | |||
| @@ -49,8 +49,7 @@ typedef enum { | |||
| 49 | //utilitary functions to create root nodes (supposed to be dict or array) | 49 | //utilitary functions to create root nodes (supposed to be dict or array) |
| 50 | plist_t plist_new_dict(); | 50 | plist_t plist_new_dict(); |
| 51 | plist_t plist_new_array(); | 51 | plist_t plist_new_array(); |
| 52 | //Plist edition, create a new root if node is NULL | 52 | |
| 53 | plist_t plist_add_sub_element( plist_t node, plist_type type, const void* value, uint64_t length); | ||
| 54 | 53 | ||
| 55 | //Plist edition, only work for dict and array node | 54 | //Plist edition, only work for dict and array node |
| 56 | void plist_add_sub_node(plist_t node, plist_t subnode); | 55 | void plist_add_sub_node(plist_t node, plist_t subnode); |
| @@ -72,12 +71,9 @@ plist_t plist_get_next_sibling(plist_t node); | |||
| 72 | plist_t plist_get_prev_sibling(plist_t node); | 71 | plist_t plist_get_prev_sibling(plist_t node); |
| 73 | 72 | ||
| 74 | //utili function to find first (and only the first encountred) corresponding node | 73 | //utili function to find first (and only the first encountred) corresponding node |
| 75 | plist_t plist_find_node(plist_t plist, plist_type type, const void *value, uint64_t length); | ||
| 76 | plist_t plist_find_node_by_key(plist_t plist, const char *value); | 74 | plist_t plist_find_node_by_key(plist_t plist, const char *value); |
| 77 | plist_t plist_find_node_by_string(plist_t plist, const char *value); | 75 | plist_t plist_find_node_by_string(plist_t plist, const char *value); |
| 78 | 76 | ||
| 79 | void plist_get_type_and_value(plist_t node, plist_type * type, void *value, uint64_t * length); | ||
| 80 | |||
| 81 | //Plist reading | 77 | //Plist reading |
| 82 | plist_type plist_get_node_type(plist_t node); | 78 | plist_type plist_get_node_type(plist_t node); |
| 83 | 79 | ||
