Changeset ebb1489 in mainline for uspace/lib/sif/include/sif.h
- Timestamp:
- 2024-10-13T08:23:40Z (2 months ago)
- Children:
- 0472cf17
- Parents:
- 2a0c827c (diff), b3b79981 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
- git-committer:
- GitHub <noreply@…> (2024-10-13 08:23:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/sif/include/sif.h
r2a0c827c rebb1489 1 1 /* 2 * Copyright (c) 20 18Jiri Svoboda2 * Copyright (c) 2024 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 41 41 42 42 struct sif_sess; 43 typedef struct sif_sess sif_sess_t; 44 45 struct sif_trans; 46 typedef struct sif_trans sif_trans_t; 43 typedef struct sif_sess sif_doc_t; 47 44 48 45 struct sif_node; 49 46 typedef struct sif_node sif_node_t; 50 47 51 errno_t sif_create(const char *, sif_sess_t **); 52 errno_t sif_open(const char *, sif_sess_t **); 53 errno_t sif_close(sif_sess_t *); 54 sif_node_t *sif_get_root(sif_sess_t *); 48 errno_t sif_new(sif_doc_t **); 49 errno_t sif_load(const char *, sif_doc_t **); 50 errno_t sif_save(sif_doc_t *, const char *); 51 void sif_delete(sif_doc_t *); 52 sif_node_t *sif_get_root(sif_doc_t *); 55 53 56 54 sif_node_t *sif_node_first_child(sif_node_t *); … … 59 57 const char *sif_node_get_attr(sif_node_t *, const char *); 60 58 61 errno_t sif_trans_begin(sif_sess_t *, sif_trans_t **); 62 void sif_trans_abort(sif_trans_t *); 63 errno_t sif_trans_end(sif_trans_t *); 64 65 errno_t sif_node_prepend_child(sif_trans_t *, sif_node_t *, const char *, 66 sif_node_t **); 67 errno_t sif_node_append_child(sif_trans_t *, sif_node_t *, const char *, 68 sif_node_t **); 69 errno_t sif_node_insert_before(sif_trans_t *, sif_node_t *, const char *, 70 sif_node_t **); 71 errno_t sif_node_insert_after(sif_trans_t *, sif_node_t *, const char *, 72 sif_node_t **); 73 void sif_node_destroy(sif_trans_t *, sif_node_t *); 74 errno_t sif_node_set_attr(sif_trans_t *, sif_node_t *, const char *, 59 errno_t sif_node_prepend_child(sif_node_t *, const char *, sif_node_t **); 60 errno_t sif_node_append_child(sif_node_t *, const char *, sif_node_t **); 61 errno_t sif_node_insert_before(sif_node_t *, const char *, sif_node_t **); 62 errno_t sif_node_insert_after(sif_node_t *, const char *, sif_node_t **); 63 void sif_node_destroy(sif_node_t *); 64 errno_t sif_node_set_attr(sif_node_t *, const char *, 75 65 const char *); 76 void sif_node_unset_attr(sif_ trans_t *, sif_node_t *, const char *);66 void sif_node_unset_attr(sif_node_t *, const char *); 77 67 78 68 #endif
Note:
See TracChangeset
for help on using the changeset viewer.