From: drakenclimber Date: Mon, 11 Jul 2022 19:20:58 +0000 (+0000) Subject: deploy: 6a7c4ef4f07c8593e97cdb4b0d6f5eb26d815303 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1144966d1e319d3baefb467c18071db4233d906;p=thirdparty%2Flibcgroup.git deploy: 6a7c4ef4f07c8593e97cdb4b0d6f5eb26d815303 --- diff --git a/tools-common_8h_source.html b/tools-common_8h_source.html index 142523fe..09438581 100644 --- a/tools-common_8h_source.html +++ b/tools-common_8h_source.html @@ -83,10 +83,10 @@ $(function() {
19
20#include <libcgroup.h>
21
-
22#define cgroup_err(x...) cgroup_log(CGROUP_LOG_ERROR, "Error: " x)
-
23#define cgroup_warn(x...) cgroup_log(CGROUP_LOG_WARNING, "Warning: " x)
-
24#define cgroup_info(x...) cgroup_log(CGROUP_LOG_INFO, "Info: " x)
-
25#define cgroup_dbg(x...) cgroup_log(CGROUP_LOG_DEBUG, x)
+
22#define cgroup_err(x...) cgroup_log(CGROUP_LOG_ERROR, "Error: " x)
+
23#define cgroup_warn(x...) cgroup_log(CGROUP_LOG_WARNING, "Warning: " x)
+
24#define cgroup_info(x...) cgroup_log(CGROUP_LOG_INFO, "Info: " x)
+
25#define cgroup_dbg(x...) cgroup_log(CGROUP_LOG_DEBUG, x)
26
27#define err(x...) fprintf(stderr, x)
28#define info(x...) fprintf(stdout, x)
@@ -102,42 +102,35 @@ $(function() {
44 int count;
45};
46
-
60int parse_cgroup_spec(struct cgroup_group_spec **cdptr, char *optarg,
-
61 int capacity);
+
61int parse_cgroup_spec(struct cgroup_group_spec **cdptr, char *optarg, int capacity);
62
67void cgroup_free_group_spec(struct cgroup_group_spec *cl);
68
-
69
-
75int cgroup_string_list_init(struct cgroup_string_list *list,
-
76 int initial_size);
-
77
-
82void cgroup_string_list_free(struct cgroup_string_list *list);
-
83
-
90int cgroup_string_list_add_item(struct cgroup_string_list *list,
-
91 const char *item);
-
92
-
102int cgroup_string_list_add_directory(struct cgroup_string_list *list,
-
103 char *dirname, char *program_name);
-
104
-
105
-
112int parse_mode(char *string, mode_t *pmode, const char *program_name);
-
113
-
121int parse_uid_gid(char *string, uid_t *uid, gid_t *gid,
-
122 const char *program_name);
-
123
-
129#ifdef UNIT_TEST
-
130
-
131int parse_r_flag(const char * const program_name,
-
132 const char * const name_value_str,
-
133 struct control_value * const name_value);
-
134
-
135#endif /* UNIT_TEST */
-
136
-
137#ifdef __cplusplus
-
138} /* extern "C" */
-
139#endif
-
140
-
141#endif /* TOOLS_COMMON */
+
74int cgroup_string_list_init(struct cgroup_string_list *list, int initial_size);
+
75
+
80void cgroup_string_list_free(struct cgroup_string_list *list);
+
81
+
87int cgroup_string_list_add_item(struct cgroup_string_list *list, const char *item);
+
88
+
98int cgroup_string_list_add_directory(struct cgroup_string_list *list, char *dirname,
+
99 char *program_name);
+
100
+
107int parse_mode(char *string, mode_t *pmode, const char *program_name);
+
108
+
116int parse_uid_gid(char *string, uid_t *uid, gid_t *gid, const char *program_name);
+
117
+
123#ifdef UNIT_TEST
+
124
+
125int parse_r_flag(const char * const program_name, const char * const name_value_str,
+
126 struct control_value * const name_value);
+
127
+
128#endif /* UNIT_TEST */
+
129
+
130#ifdef __cplusplus
+
131} /* extern "C" */
+
132#endif
+
133
+
134#endif /* TOOLS_COMMON */
Definition: tools-common.h:33
Definition: tools-common.h:41
Definition: libcgroup-internal.h:83