Skip to content

Commit

Permalink
addrconf: exposed lease to/from xml utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
mtomaschewski committed Feb 20, 2014
1 parent bb2bf00 commit 5cf091f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 3 additions & 0 deletions include/wicked/addrconf.h
Expand Up @@ -161,6 +161,9 @@ extern int ni_addrconf_lease_file_write(const char *, ni_addrconf_lease_t *);
extern ni_addrconf_lease_t *ni_addrconf_lease_file_read(const char *, int, int);
extern void ni_addrconf_lease_file_remove(const char *, int, int);

extern int ni_addrconf_lease_to_xml(const ni_addrconf_lease_t *, xml_node_t **);
extern int ni_addrconf_lease_from_xml(ni_addrconf_lease_t **, const xml_node_t *);

extern int ni_system_update_from_lease(const ni_addrconf_lease_t *, const unsigned int, const char *);

#endif /* __WICKED_ADDRCONF_H__ */
6 changes: 0 additions & 6 deletions src/leasefile.h
Expand Up @@ -70,9 +70,6 @@ ni_addrconf_lease_xml_get_type_node(const ni_addrconf_lease_t *, const xml_node_
/*
* convert lease / data to xml
*/
extern int
ni_addrconf_lease_to_xml(const ni_addrconf_lease_t *, xml_node_t **);

extern int
ni_addrconf_lease_routes_data_to_xml(const ni_addrconf_lease_t *, xml_node_t *);
extern int
Expand Down Expand Up @@ -100,9 +97,6 @@ ni_addrconf_lease_ptz_data_to_xml(const ni_addrconf_lease_t *, xml_node_t *);
/*
* convert xml to lease / data
*/
extern int
ni_addrconf_lease_from_xml(ni_addrconf_lease_t **, const xml_node_t *);

extern int
ni_addrconf_lease_routes_data_from_xml(ni_addrconf_lease_t *, const xml_node_t *);
extern int
Expand Down

0 comments on commit 5cf091f

Please sign in to comment.