diff options
author | Alejandro Mery <amery@geeks.cl> | 2012-09-29 18:48:42 +0400 |
---|---|---|
committer | Alejandro Mery <amery@geeks.cl> | 2012-09-29 18:48:42 +0400 |
commit | bae6b6a93a7651608bd6a43ba35a2770509fbc21 (patch) | |
tree | cdc2f8975c7c5f661e544f621682dc1f347f66e2 /script.h | |
parent | 1f5056275a6c026f308ac6f7ae52125c390d1d7c (diff) |
script: add script_find_section() helper
Diffstat (limited to 'script.h')
-rw-r--r-- | script.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -86,6 +86,10 @@ struct script_section *script_section_new(struct script *script, /** deletes a section recursvely and removes it from the script */ void script_section_delete(struct script_section *section); +/** find existing section */ +struct script_section *script_find_section(struct script *section, + const char *name); + /** deletes an entry and removes it from the section */ void script_entry_delete(struct script_entry *entry); |