summaryrefslogtreecommitdiffstats
path: root/lib/support/profile_helpers.h
blob: af63ca509b563bb903b5121f2bd3bed0a48ca678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * profile_helpers.h -- Function prototypes for profile helper functions
 *
 * Copyright (C) 2006 by Theodore Ts'o.
 *
 * %Begin-Header%
 * This file may be redistributed under the terms of the GNU Public
 * License.
 * %End-Header%
 */

long profile_get_values
	(profile_t profile, const char *const *names, char ***ret_values);

void profile_free_list
	(char **list);

long profile_get_relation_names
	(profile_t profile, const char **names, char ***ret_names);

long profile_get_subsection_names
	(profile_t profile, const char **names, char ***ret_names);

void profile_release_string (char *str);

long profile_init_path
	(const char * filelist, profile_t *ret_profile);