Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
weston
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pekka Paalanen
weston
Commits
6e2c1249
Commit
6e2c1249
authored
11 years ago
by
Quentin Glidic
Committed by
Kristian Høgsberg
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
shared: Export configuration functions
Signed-off-by:
Quentin Glidic
<
sardemff7+git@sardemff7.net
>
parent
442a5faa
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
shared/config-parser.c
+5
-0
5 additions, 0 deletions
shared/config-parser.c
with
5 additions
and
0 deletions
shared/config-parser.c
+
5
−
0
View file @
6e2c1249
...
...
@@ -260,6 +260,7 @@ config_section_get_entry(struct weston_config_section *section,
return
NULL
;
}
WL_EXPORT
struct
weston_config_section
*
weston_config_get_section
(
struct
weston_config
*
config
,
const
char
*
section
,
const
char
*
key
,
const
char
*
value
)
...
...
@@ -282,6 +283,7 @@ weston_config_get_section(struct weston_config *config, const char *section,
return
NULL
;
}
WL_EXPORT
int
weston_config_section_get_int
(
struct
weston_config_section
*
section
,
const
char
*
key
,
...
...
@@ -307,6 +309,7 @@ weston_config_section_get_int(struct weston_config_section *section,
return
0
;
}
WL_EXPORT
int
weston_config_section_get_uint
(
struct
weston_config_section
*
section
,
const
char
*
key
,
...
...
@@ -332,6 +335,7 @@ weston_config_section_get_uint(struct weston_config_section *section,
return
0
;
}
WL_EXPORT
int
weston_config_section_get_string
(
struct
weston_config_section
*
section
,
const
char
*
key
,
...
...
@@ -354,6 +358,7 @@ weston_config_section_get_string(struct weston_config_section *section,
return
0
;
}
WL_EXPORT
int
weston_config_section_get_bool
(
struct
weston_config_section
*
section
,
const
char
*
key
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment