Debian Codegraph @

templates/man3/pacutils-mtree.3.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-01-05 10:43+0100\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #
20 #. Required to disable full justification in groff 1.23.0.
21 #. ========================================================================
22 #. type: IX
23 #: archlinux
24 #, no-wrap
25 msgid "Title"
26 msgstr ""
27
28 #
29 #. Required to disable full justification in groff 1.23.0.
30 #. ========================================================================
31 #. type: IX
32 #: archlinux
33 #, no-wrap
34 msgid "pacutils-mtree 3"
35 msgstr ""
36
37 #. type: TH
38 #: archlinux
39 #, no-wrap
40 msgid "pacutils-mtree"
41 msgstr ""
42
43 #. type: TH
44 #: archlinux
45 #, no-wrap
46 msgid "2025-12-04"
47 msgstr ""
48
49 #. type: TH
50 #: archlinux
51 #, no-wrap
52 msgid "pacutils"
53 msgstr ""
54
55 #. type: SH
56 #: archlinux
57 #, no-wrap
58 msgid "NAME"
59 msgstr ""
60
61 #. type: Plain text
62 #: archlinux
63 msgid "pacutils-mtree - read mtree data for installed packages"
64 msgstr ""
65
66 #. type: IX
67 #: archlinux
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: IX
73 #: archlinux
74 #, no-wrap
75 msgid "Header"
76 msgstr ""
77
78 #. type: Plain text
79 #: archlinux
80 #, no-wrap
81 msgid ""
82 "\\& #include E<lt>pacutils/mtree.hE<gt>\n"
83 "\\&\n"
84 "\\& typedef struct pu_mtree_t {\n"
85 "\\& char *path;\n"
86 "\\& char *type;\n"
87 "\\& uid_t uid;\n"
88 "\\& gid_t gid;\n"
89 "\\& mode_t mode;\n"
90 "\\& off_t size;\n"
91 "\\& char *md5digest;\n"
92 "\\& char *sha256digest;\n"
93 "\\& } pu_mtree_t;\n"
94 "\\&\n"
95 "\\& typedef struct {\n"
96 "\\& FILE *stream;\n"
97 "\\& int eof;\n"
98 "\\& pu_mtree_t defaults;\n"
99 "\\& } pu_mtree_reader_t;\n"
100 "\\&\n"
101 "\\& pu_mtree_reader_t *pu_mtree_reader_open_stream(FILE *stream);\n"
102 "\\& pu_mtree_reader_t *pu_mtree_reader_open_package(alpm_handle_t *h, alpm_pkg_t *p);\n"
103 "\\& pu_mtree_t *pu_mtree_reader_next(pu_mtree_reader_t *reader, pu_mtree_t *dest);\n"
104 "\\& void pu_mtree_reader_free(pu_mtree_reader_t *reader);\n"
105 "\\& void pu_mtree_free(pu_mtree_t *mtree);\n"
106 "\\&\n"
107 "\\& /* deprecated */\n"
108 "\\& alpm_list_t *pu_mtree_load_pkg_mtree(alpm_handle_t *handle, alpm_pkg_t *pkg);\n"
109 msgstr ""
110
111 #. type: IX
112 #: archlinux
113 #, no-wrap
114 msgid "DESCRIPTION"
115 msgstr ""
116
117 #. type: Plain text
118 #: archlinux
119 msgid ""
120 "Package mtree reading functions are provided to fill gaps in "
121 "libarchive\\*(Aqs mtree reader, notably CW<\\*(C`md5digest\\*(C'> and "
122 "CW<\\*(C`sha256digest\\*(C'> which are currently not read by libarchive. "
123 "Support is incomplete and should only be used to supplement libalpm\\*(Aqs "
124 "native mtree reader."
125 msgstr ""
126
127 #. type: IX
128 #: archlinux
129 #, no-wrap
130 msgid "pu_mtree_reader_t *pu_mtree_reader_open_stream(FILE *stream);"
131 msgstr ""
132
133 #. type: IX
134 #: archlinux
135 #, no-wrap
136 msgid "Item"
137 msgstr ""
138
139 #. type: Plain text
140 #: archlinux
141 msgid "Open a file stream for parsing."
142 msgstr ""
143
144 #. type: IX
145 #: archlinux
146 #, no-wrap
147 msgid "pu_mtree_reader_t *pu_mtree_reader_open_package(alpm_handle_t *h, alpm_pkg_t *p);"
148 msgstr ""
149
150 #. type: Plain text
151 #: archlinux
152 msgid ""
153 "Open an installed package\\*(Aqs mtree file for parsing. Results are "
154 "undefined if \\&CW<\\*(C`p\\*(C'> is not a locally installed package."
155 msgstr ""
156
157 #. type: IX
158 #: archlinux
159 #, no-wrap
160 msgid "pu_mtree_t *pu_mtree_reader_next(pu_mtree_reader_t *reader, pu_mtree_t *dest);"
161 msgstr ""
162
163 #. type: Plain text
164 #: archlinux
165 msgid ""
166 "Read and return the next entry in the mtree file. If CW<\\*(C`dest\\*(C'> "
167 "is CW<\\*(C`NULL\\*(C'> a new \\&CW<\\*(C`pu_mtree_t\\*(C'> object will be "
168 "allocated that should be freed by the caller. Otherwise, it will be filled "
169 "with the parsed data. Internally allocated memory will automatically be "
170 "freed as needed."
171 msgstr ""
172
173 #. type: IX
174 #: archlinux
175 #, no-wrap
176 msgid "void pu_mtree_free(pu_mtree_t *mtree);"
177 msgstr ""
178
179 #. type: Plain text
180 #: archlinux
181 msgid "Free a CW<\\*(C`pu_mtree_t\\*(C'> struct."
182 msgstr ""
183
184 #. type: IX
185 #: archlinux
186 #, no-wrap
187 msgid "void pu_mtree_reader_free(pu_mtree_reader_t *reader);"
188 msgstr ""
189
190 #. type: Plain text
191 #: archlinux
192 msgid "Free a CW<\\*(C`pu_mtree_reader_t\\*(C'> object."
193 msgstr ""
194
195 #. type: IX
196 #: archlinux
197 #, no-wrap
198 msgid "alpm_list_t *pu_mtree_load_pkg_mtree(alpm_handle_t *handle, alpm_pkg_t *pkg);"
199 msgstr ""
200
201 #. type: Plain text
202 #: archlinux
203 msgid ""
204 "Returns a list of mtree entries for CW<\\*(C`pkg\\*(C'>. B<DEPRECATED>: use "
205 "\\&CW<\\*(C`pu_mtree_reader_open_package\\*(C'> instead."
206 msgstr ""
207
208 #. type: IX
209 #: archlinux
210 #, no-wrap
211 msgid "EXAMPLES"
212 msgstr ""
213
214 #. type: IX
215 #: archlinux
216 #, no-wrap
217 msgid "Print file md5sums for a package:"
218 msgstr ""
219
220 #. type: Plain text
221 #: archlinux
222 #, no-wrap
223 msgid ""
224 "\\& pu_mtree_t *m;\n"
225 "\\& pu_mtree_reader_t *r;\n"
226 "\\&\n"
227 "\\& if((r = pu_mtree_reader_open_package(handle, pkg)) == NULL) {\n"
228 "\\& fprintf(stderr, \"error: unable to load mtree data for \\*(Aq%s\\*(Aq\\en\",\n"
229 "\\& alpm_pkg_get_name(pkg));\n"
230 "\\& return;\n"
231 "\\& }\n"
232 "\\&\n"
233 "\\& while((m = pu_mtree_reader_next(r, NULL))) {\n"
234 "\\& const char *md5 = m-E<gt>md5digest;\n"
235 "\\& printf(\"%s: %s\\en\", m-E<gt>path,\n"
236 "\\& md5 && md5[0] != \\*(Aq\\e0\\*(Aq ? md5 : \"(no md5sum provided)\");\n"
237 "\\& pu_mtree_free(m);\n"
238 "\\& }\n"
239 "\\& if(!reader-E<gt>eof) {\n"
240 "\\& fprintf(stderr, \"error: unable to read mtree data for \\*(Aq%s\\*(Aq\\en\",\n"
241 "\\& alpm_pkg_get_name(pkg));\n"
242 "\\& }\n"
243 "\\&\n"
244 "\\& pu_mtree_reader_free(r);\n"
245 msgstr ""
246
247 #. type: IX
248 #: archlinux
249 #, no-wrap
250 msgid "SEE ALSO"
251 msgstr ""
252
253 #. type: IP
254 #: archlinux
255 #, no-wrap
256 msgid "B<alpm_pkg_mtree_open>\\|(3), B<alpm_pkg_mtree_next>\\|(3), B<alpm_pkg_mtree_close>\\|(3)"
257 msgstr ""
258
259 #. type: IX
260 #: archlinux
261 #, no-wrap
262 msgid "alpm_pkg_mtree_open, alpm_pkg_mtree_next, alpm_pkg_mtree_close"
263 msgstr ""
264
265 #. type: IX
266 #: archlinux
267 #, no-wrap
268 msgid "mtree - description of pu_mtree_t members"
269 msgstr ""