Make append_actions() public

Also rename it to append_parsed_actions()
This commit is contained in:
tokyo4j 2025-08-04 12:54:29 +09:00 committed by Johan Malm
parent 2f183cdcb6
commit bfaab101af
2 changed files with 15 additions and 10 deletions

View file

@ -5,6 +5,7 @@
#include <stdbool.h>
#include <stdio.h>
#include <wayland-server-core.h>
#include <libxml/tree.h>
#include "common/border.h"
#include "common/buf.h"
@ -196,4 +197,10 @@ void rcxml_parse_xml(struct buf *b);
void rcxml_read(const char *filename);
void rcxml_finish(void);
/*
* Parse the child <action> nodes and append them to the list.
* FIXME: move this function to somewhere else.
*/
void append_parsed_actions(xmlNode *node, struct wl_list *list);
#endif /* LABWC_RCXML_H */