commit | f73f31624869efd86b3de04d7faef9221b5eb4cb | [log] [tgz] |
---|---|---|
author | Kristian Høgsberg <krh@bitplanet.net> | Sun May 26 20:50:53 2013 -0400 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Sun May 26 20:50:53 2013 -0400 |
tree | 984b0537c97540a216a3fabbcfcd2ee2803f164f | |
parent | b8f03aa20ea62b788c17eb48c5c9e1330522bb11 [diff] [blame] |
config-parser: Add section iterator API The X backend needs to iterate through all outputs.
diff --git a/shared/config-parser.h b/shared/config-parser.h index 949f4d6..794e09c 100644 --- a/shared/config-parser.h +++ b/shared/config-parser.h
@@ -102,6 +102,11 @@ void weston_config_destroy(struct weston_config *config); +int weston_config_next_section(struct weston_config *config, + struct weston_config_section **section, + const char **name); + + #ifdef __cplusplus } #endif