Debian Codegraph @

po/pt_BR/man3/libalpm_databases.3.po

raw
1 # Brazilian Portuguese translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Rafael Fontenelle <[email protected]>, 2026.
5 #
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n 4.30.0\n"
9 "POT-Creation-Date: 2026-04-01 22:58-0300\n"
10 "PO-Revision-Date: 2026-04-02 00:35-0300\n"
11 "Last-Translator: Rafael Fontenelle <[email protected]>\n"
12 "Language-Team: Brazilian Portuguese <debian-l10n-"
13 "[email protected]>\n"
14 "Language: pt_BR\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
19 "X-Generator: Gtranslator 50.0\n"
20
21 #. type: TH
22 #: archlinux
23 #, no-wrap
24 msgid "libalpm_databases"
25 msgstr "libalpm_databases"
26
27 #. type: TH
28 #: archlinux
29 #, no-wrap
30 msgid "libalpm"
31 msgstr "libalpm"
32
33 #. type: SH
34 #: archlinux
35 #, no-wrap
36 msgid "NAME"
37 msgstr "NOME"
38
39 #. type: Plain text
40 #: archlinux
41 msgid "libalpm_databases - Database"
42 msgstr "libalpm_databases - Database"
43
44 #. type: Plain text
45 #: archlinux
46 #, no-wrap
47 msgid " - Functions to query and manipulate the database of libalpm\\&. \n"
48 msgstr " - Functions to query and manipulate the database of libalpm\\&. \n"
49
50 #. type: SH
51 #: archlinux
52 #, no-wrap
53 msgid "SYNOPSIS"
54 msgstr "SINOPSE"
55
56 #. type: SS
57 #: archlinux
58 #, no-wrap
59 msgid "Typedefs"
60 msgstr "Definições de tipos"
61
62 #. type: Plain text
63 #: archlinux
64 msgid "typedef struct _alpm_db_t B<alpm_db_t>"
65 msgstr "typedef struct _alpm_db_t B<alpm_db_t>"
66
67 #. type: Plain text
68 #: archlinux
69 msgid "A database\\&."
70 msgstr "Uma base de dados\\&."
71
72 #. type: SS
73 #: archlinux
74 #, no-wrap
75 msgid "Enumerations"
76 msgstr "Enumerações"
77
78 #. type: Plain text
79 #: archlinux
80 msgid ""
81 "enum B<alpm_db_usage_t> { B<ALPM_DB_USAGE_SYNC> = 1, B<ALPM_DB_USAGE_SEARCH> "
82 "= (1 E<lt>E<lt> 1), B<ALPM_DB_USAGE_INSTALL> = (1 E<lt>E<lt> 2), "
83 "B<ALPM_DB_USAGE_UPGRADE> = (1 E<lt>E<lt> 3), B<ALPM_DB_USAGE_ALL> = (1 "
84 "E<lt>E<lt> 4) - 1 }"
85 msgstr ""
86 "enum B<alpm_db_usage_t> { B<ALPM_DB_USAGE_SYNC> = 1, B<ALPM_DB_USAGE_SEARCH> "
87 "= (1 E<lt>E<lt> 1), B<ALPM_DB_USAGE_INSTALL> = (1 E<lt>E<lt> 2), "
88 "B<ALPM_DB_USAGE_UPGRADE> = (1 E<lt>E<lt> 3), B<ALPM_DB_USAGE_ALL> = (1 "
89 "E<lt>E<lt> 4) - 1 }"
90
91 #. type: Plain text
92 #: archlinux
93 msgid "The usage level of a database\\&."
94 msgstr "O nível de uso de uma base de dados\\&."
95
96 #. type: SS
97 #: archlinux
98 #, no-wrap
99 msgid "Functions"
100 msgstr "Funções"
101
102 #. type: Plain text
103 #: archlinux
104 msgid "B<alpm_db_t> * B<alpm_get_localdb> (B<alpm_handle_t> *handle)"
105 msgstr "B<alpm_db_t> * B<alpm_get_localdb> (B<alpm_handle_t> *handle)"
106
107 #. type: Plain text
108 #: archlinux
109 msgid "Get the database of locally installed packages\\&."
110 msgstr "Obtém a base de dados de pacotes instalados localmente\\&."
111
112 #. type: Plain text
113 #: archlinux
114 msgid "B<alpm_list_t> * B<alpm_get_syncdbs> (B<alpm_handle_t> *handle)"
115 msgstr "B<alpm_list_t> * B<alpm_get_syncdbs> (B<alpm_handle_t> *handle)"
116
117 #. type: Plain text
118 #: archlinux
119 msgid "Get the list of sync databases\\&."
120 msgstr "Obtém a lista de base de dados de sincronização\\&."
121
122 #. type: Plain text
123 #: archlinux
124 msgid ""
125 "B<alpm_db_t> * B<alpm_register_syncdb> (B<alpm_handle_t> *handle, const char "
126 "*treename, int level)"
127 msgstr ""
128 "B<alpm_db_t> * B<alpm_register_syncdb> (B<alpm_handle_t> *handle, const char "
129 "*treename, int level)"
130
131 #. type: Plain text
132 #: archlinux
133 msgid "Register a sync database of packages\\&."
134 msgstr "Registra uma base de dados de sincronização de pacotes\\&."
135
136 #. type: Plain text
137 #: archlinux
138 msgid "int B<alpm_unregister_all_syncdbs> (B<alpm_handle_t> *handle)"
139 msgstr "int B<alpm_unregister_all_syncdbs> (B<alpm_handle_t> *handle)"
140
141 #. type: Plain text
142 #: archlinux
143 msgid "Unregister all package databases\\&."
144 msgstr "Desregistra todas as bases de dados de pacotes\\&."
145
146 #. type: Plain text
147 #: archlinux
148 msgid "int B<alpm_db_unregister> (B<alpm_db_t> *db)"
149 msgstr "int B<alpm_db_unregister> (B<alpm_db_t> *db)"
150
151 #. type: Plain text
152 #: archlinux
153 msgid "Unregister a package database\\&."
154 msgstr "Desregistra uma base de dados de pacotes\\&."
155
156 #. type: Plain text
157 #: archlinux
158 msgid "B<alpm_handle_t> * B<alpm_db_get_handle> (B<alpm_db_t> *db)"
159 msgstr "B<alpm_handle_t> * B<alpm_db_get_handle> (B<alpm_db_t> *db)"
160
161 #. type: Plain text
162 #: archlinux
163 msgid "Get the handle of a package database\\&."
164 msgstr "Obtém o identificador de uma base de dados de pacotes\\&."
165
166 #. type: Plain text
167 #: archlinux
168 msgid "const char * B<alpm_db_get_name> (const B<alpm_db_t> *db)"
169 msgstr "const char * B<alpm_db_get_name> (const B<alpm_db_t> *db)"
170
171 #. type: Plain text
172 #: archlinux
173 msgid "Get the name of a package database\\&."
174 msgstr "Obtém o nome de uma base de dados de pacotes\\&."
175
176 #. type: Plain text
177 #: archlinux
178 msgid "int B<alpm_db_get_siglevel> (B<alpm_db_t> *db)"
179 msgstr "int B<alpm_db_get_siglevel> (B<alpm_db_t> *db)"
180
181 #. type: Plain text
182 #: archlinux
183 msgid "Get the signature verification level for a database\\&."
184 msgstr "Obtém o nível de verificação da asinatura de uma base de dados\\&."
185
186 #. type: Plain text
187 #: archlinux
188 msgid "int B<alpm_db_get_valid> (B<alpm_db_t> *db)"
189 msgstr "int B<alpm_db_get_valid> (B<alpm_db_t> *db)"
190
191 #. type: Plain text
192 #: archlinux
193 msgid "Check the validity of a database\\&."
194 msgstr "Verifica a validade de uma base de dados\\&."
195
196 #. type: Plain text
197 #: archlinux
198 msgid ""
199 "int B<alpm_db_update> (B<alpm_handle_t> *handle, B<alpm_list_t> *dbs, int "
200 "force)"
201 msgstr ""
202 "int B<alpm_db_update> (B<alpm_handle_t> *handle, B<alpm_list_t> *dbs, int "
203 "force)"
204
205 #. type: Plain text
206 #: archlinux
207 msgid "Update package databases\\&."
208 msgstr "Atualiza bases de dados de pacotes\\&."
209
210 #. type: Plain text
211 #: archlinux
212 msgid "B<alpm_pkg_t> * B<alpm_db_get_pkg> (B<alpm_db_t> *db, const char *name)"
213 msgstr ""
214 "B<alpm_pkg_t> * B<alpm_db_get_pkg> (B<alpm_db_t> *db, const char *name)"
215
216 #. type: Plain text
217 #: archlinux
218 msgid "Get a package entry from a package database\\&."
219 msgstr "Obtém uma entrada de pacote de uma base de dados de pacotes\\&."
220
221 #. type: Plain text
222 #: archlinux
223 msgid "B<alpm_list_t> * B<alpm_db_get_pkgcache> (B<alpm_db_t> *db)"
224 msgstr "B<alpm_list_t> * B<alpm_db_get_pkgcache> (B<alpm_db_t> *db)"
225
226 #. type: Plain text
227 #: archlinux
228 msgid "Get the package cache of a package database\\&."
229 msgstr "Obtém o cachoe de pacotes de um base de dados de pacotes\\&."
230
231 #. type: Plain text
232 #: archlinux
233 msgid ""
234 "B<alpm_group_t> * B<alpm_db_get_group> (B<alpm_db_t> *db, const char *name)"
235 msgstr ""
236 "B<alpm_group_t> * B<alpm_db_get_group> (B<alpm_db_t> *db, const char *name)"
237
238 #. type: Plain text
239 #: archlinux
240 msgid "Get a group entry from a package database\\&."
241 msgstr "Obtém uma entrada de grupo de uma base de dados de pacotes\\&."
242
243 #. type: Plain text
244 #: archlinux
245 msgid "B<alpm_list_t> * B<alpm_db_get_groupcache> (B<alpm_db_t> *db)"
246 msgstr "B<alpm_list_t> * B<alpm_db_get_groupcache> (B<alpm_db_t> *db)"
247
248 #. type: Plain text
249 #: archlinux
250 msgid "Get the group cache of a package database\\&."
251 msgstr "Obtém o cache de grupo de uma base de dados de pacotes\\&."
252
253 #. type: Plain text
254 #: archlinux
255 msgid ""
256 "int B<alpm_db_search> (B<alpm_db_t> *db, const B<alpm_list_t> *needles, "
257 "B<alpm_list_t> **ret)"
258 msgstr ""
259 "int B<alpm_db_search> (B<alpm_db_t> *db, const B<alpm_list_t> *needles, "
260 "B<alpm_list_t> **ret)"
261
262 #. type: Plain text
263 #: archlinux
264 msgid "Searches a database with regular expressions\\&."
265 msgstr "Pesquisa em uma base de dados com expressões regulares\\&."
266
267 #. type: SS
268 #: archlinux
269 #, no-wrap
270 msgid "Server accessors"
271 msgstr "Métodos para servidores"
272
273 #. type: Plain text
274 #: archlinux
275 msgid "B<alpm_list_t> * B<alpm_db_get_servers> (const B<alpm_db_t> *db)"
276 msgstr "B<alpm_list_t> * B<alpm_db_get_servers> (const B<alpm_db_t> *db)"
277
278 #. type: Plain text
279 #: archlinux
280 msgid "Get the list of servers assigned to this db\\&."
281 msgstr "Obtém a lista de servidores atribuídos a esta base de dados\\&."
282
283 #. type: Plain text
284 #: archlinux
285 msgid "int B<alpm_db_set_servers> (B<alpm_db_t> *db, B<alpm_list_t> *servers)"
286 msgstr "int B<alpm_db_set_servers> (B<alpm_db_t> *db, B<alpm_list_t> *servers)"
287
288 #. type: Plain text
289 #: archlinux
290 msgid "Sets the list of servers for the database to use\\&."
291 msgstr "Define a lista de servidores da base de dados para usar\\&."
292
293 #. type: Plain text
294 #: archlinux
295 msgid "int B<alpm_db_add_server> (B<alpm_db_t> *db, const char *url)"
296 msgstr "int B<alpm_db_add_server> (B<alpm_db_t> *db, const char *url)"
297
298 #. type: Plain text
299 #: archlinux
300 msgid "Add a download server to a database\\&."
301 msgstr "Adiciona uma servidor de download para uma base de dados\\&."
302
303 #. type: Plain text
304 #: archlinux
305 msgid "int B<alpm_db_remove_server> (B<alpm_db_t> *db, const char *url)"
306 msgstr "int B<alpm_db_remove_server> (B<alpm_db_t> *db, const char *url)"
307
308 #. type: Plain text
309 #: archlinux
310 msgid "Remove a download server from a database\\&."
311 msgstr "Remove um servidor de download de uma base de dados\\&."
312
313 #. type: Plain text
314 #: archlinux
315 msgid "B<alpm_list_t> * B<alpm_db_get_cache_servers> (const B<alpm_db_t> *db)"
316 msgstr "B<alpm_list_t> * B<alpm_db_get_cache_servers> (const B<alpm_db_t> *db)"
317
318 #. type: Plain text
319 #: archlinux
320 msgid "Get the list of cache servers assigned to this db\\&."
321 msgstr ""
322 "Obtém a lista de servidores de cache atribuídos a esta base de dados\\&."
323
324 #. type: Plain text
325 #: archlinux
326 msgid ""
327 "int B<alpm_db_set_cache_servers> (B<alpm_db_t> *db, B<alpm_list_t> *servers)"
328 msgstr ""
329 "int B<alpm_db_set_cache_servers> (B<alpm_db_t> *db, B<alpm_list_t> *servers)"
330
331 #. type: Plain text
332 #: archlinux
333 msgid "Sets the list of cache servers for the database to use\\&."
334 msgstr ""
335 "Define a lista de servidores de cache desta base de dados para usar\\&."
336
337 #. type: Plain text
338 #: archlinux
339 msgid "int B<alpm_db_add_cache_server> (B<alpm_db_t> *db, const char *url)"
340 msgstr "int B<alpm_db_add_cache_server> (B<alpm_db_t> *db, const char *url)"
341
342 #. type: Plain text
343 #: archlinux
344 msgid "Add a download cache server to a database\\&."
345 msgstr "Adiciona um servidor de cache de download para uma base de dados\\&."
346
347 #. type: Plain text
348 #: archlinux
349 msgid "int B<alpm_db_remove_cache_server> (B<alpm_db_t> *db, const char *url)"
350 msgstr "int B<alpm_db_remove_cache_server> (B<alpm_db_t> *db, const char *url)"
351
352 #. type: Plain text
353 #: archlinux
354 msgid "Remove a download cache server from a database\\&."
355 msgstr "Remove um servidor de cache de download de uma base de dados\\&."
356
357 #. type: SS
358 #: archlinux
359 #, no-wrap
360 msgid "Usage accessors"
361 msgstr "Métodos de uso"
362
363 #. type: Plain text
364 #: archlinux
365 msgid "int B<alpm_db_set_usage> (B<alpm_db_t> *db, int usage)"
366 msgstr "int B<alpm_db_set_usage> (B<alpm_db_t> *db, int usage)"
367
368 #. type: Plain text
369 #: archlinux
370 msgid "Sets the usage of a database\\&."
371 msgstr "Define o uso de uma base de dados\\&."
372
373 #. type: Plain text
374 #: archlinux
375 msgid "int B<alpm_db_get_usage> (B<alpm_db_t> *db, int *usage)"
376 msgstr "int B<alpm_db_get_usage> (B<alpm_db_t> *db, int *usage)"
377
378 #. type: Plain text
379 #: archlinux
380 msgid "Gets the usage of a database\\&."
381 msgstr "Obtém o uso de uma base de dados\\&."
382
383 #. type: SH
384 #: archlinux
385 #, no-wrap
386 msgid "Detailed Description"
387 msgstr "Descrição detalhada"
388
389 #. type: Plain text
390 #: archlinux
391 msgid "Functions to query and manipulate the database of libalpm\\&."
392 msgstr "Funções para consultar e manipular a base de dados do libalpm\\&."
393
394 #. type: SH
395 #: archlinux
396 #, no-wrap
397 msgid "Typedef Documentation"
398 msgstr "Documentação das definições de tipo"
399
400 #. type: SS
401 #: archlinux
402 #, no-wrap
403 msgid "typedef struct _alpm_db_t alpm_db_t"
404 msgstr "typedef struct _alpm_db_t alpm_db_t"
405
406 #. type: Plain text
407 #: archlinux
408 msgid ""
409 "A database\\&. A database is a container that stores metadata about "
410 "packages\\&."
411 msgstr ""
412 "Uma base de dados\\&. Uma base de dados é um contêiner que armazena "
413 "metadados sobre pacotes\\&."
414
415 #. type: Plain text
416 #: archlinux
417 msgid ""
418 "A database can be located on the local filesystem or on a remote server\\&."
419 msgstr ""
420 "Uma base de dados pode estar localizada no sistema de arquivos local ou em "
421 "um servidor remoto\\&."
422
423 #. type: Plain text
424 #: archlinux
425 msgid ""
426 "To use a database, it must first be registered via "
427 "B<alpm_register_syncdb>\\&. If the database is already present in dbpath "
428 "then it will be usable\\&. Otherwise, the database needs to be downloaded "
429 "using B<alpm_db_update>\\&. Even if the source of the database is the local "
430 "filesystem\\&."
431 msgstr ""
432 "Para usar uma base de dados, ela deve primeiro ser registrada via "
433 "B<alpm_register_syncdb>\\&. Se a base de dados já estiver presente no "
434 "dbpath, ela ficará usável\\&. Do contrário, a base de dados precisa ser "
435 "baixada usando B<alpm_db_update>\\&. Mesmo se a origem da base de dados for "
436 "o sistema de arquivos local\\&."
437
438 #. type: Plain text
439 #: archlinux
440 msgid ""
441 "After this, the database can be used to query packages and groups\\&. Any "
442 "packages or groups from the database will continue to be owned by the "
443 "database and do not need to be freed by the user\\&. They will be freed when "
444 "the database is unregistered\\&."
445 msgstr ""
446 "Após isso, a base de dados poderá ser usada para consultar pacotes e "
447 "grupos\\&. Quaisquer pacotes ou grupos da base de dados continuarão sendo de "
448 "propriedade da base de dados e não precisarão ser liberados pelo usuário\\&. "
449 "Eles serão liberados quando a base de dados for desregistrada\\&."
450
451 #. type: Plain text
452 #: archlinux
453 msgid ""
454 "Databases are automatically unregistered when the B<alpm_handle_t> is "
455 "released\\&."
456 msgstr ""
457 "Bases de dados são desregistradas automaticamente quando B<alpm_handle_t> é "
458 "liberada\\&."
459
460 #. type: SH
461 #: archlinux
462 #, no-wrap
463 msgid "Enumeration Type Documentation"
464 msgstr "Documentação de tipos enumeração"
465
466 #. type: SS
467 #: archlinux
468 #, no-wrap
469 msgid "enum alpm_db_usage_t"
470 msgstr "enum alpm_db_usage_t"
471
472 #. type: Plain text
473 #: archlinux
474 msgid "B<Enumerator>"
475 msgstr "B<Enumerador>"
476
477 #. type: TP
478 #: archlinux
479 #, no-wrap
480 msgid "\\f(BIALPM_DB_USAGE_SYNC \\fR"
481 msgstr "\\f(BIALPM_DB_USAGE_SYNC \\fR"
482
483 #. type: Plain text
484 #: archlinux
485 msgid "Enable refreshes for this database\\&."
486 msgstr "Habilita atualizações para esta base de dados\\&."
487
488 #. type: TP
489 #: archlinux
490 #, no-wrap
491 msgid "\\f(BIALPM_DB_USAGE_SEARCH \\fR"
492 msgstr "\\f(BIALPM_DB_USAGE_SEARCH \\fR"
493
494 #. type: Plain text
495 #: archlinux
496 msgid "Enable search for this database\\&."
497 msgstr "Habilita pesquisa para esta base de dados\\&."
498
499 #. type: TP
500 #: archlinux
501 #, no-wrap
502 msgid "\\f(BIALPM_DB_USAGE_INSTALL \\fR"
503 msgstr "\\f(BIALPM_DB_USAGE_INSTALL \\fR"
504
505 #. type: Plain text
506 #: archlinux
507 msgid "Enable installing packages from this database\\&."
508 msgstr "HAbilita instalação de pacotes a partir desta base de dados\\&."
509
510 #. type: TP
511 #: archlinux
512 #, no-wrap
513 msgid "\\f(BIALPM_DB_USAGE_UPGRADE \\fR"
514 msgstr "\\f(BIALPM_DB_USAGE_UPGRADE \\fR"
515
516 #. type: Plain text
517 #: archlinux
518 msgid "Enable sysupgrades with this database\\&."
519 msgstr "Habilita atualização de sistema (sysupgrades)\\&."
520
521 #. type: TP
522 #: archlinux
523 #, no-wrap
524 msgid "\\f(BIALPM_DB_USAGE_ALL \\fR"
525 msgstr "\\f(BIALPM_DB_USAGE_ALL \\fR"
526
527 #. type: Plain text
528 #: archlinux
529 msgid "Enable all usage levels\\&."
530 msgstr "Habilita todos os níveis de uso\\&."
531
532 #. type: SH
533 #: archlinux
534 #, no-wrap
535 msgid "Function Documentation"
536 msgstr "Documentação das funções"
537
538 #. type: SS
539 #: archlinux
540 #, no-wrap
541 msgid "int alpm_db_add_cache_server (alpm_db_t * db, const char * url)"
542 msgstr "int alpm_db_add_cache_server (alpm_db_t * db, const char * url)"
543
544 #. type: Plain text
545 #: archlinux
546 msgid "B<Parameters>"
547 msgstr "B<Parâmetros>"
548
549 #. type: Plain text
550 #: archlinux
551 msgid "I<db> database pointer"
552 msgstr "I<db> ponteiro de base de dados"
553
554 #. type: Plain text
555 #: archlinux
556 msgid "I<url> url of the server"
557 msgstr "I<url> url do servidor"
558
559 #. type: Plain text
560 #: archlinux
561 msgid "B<Returns>"
562 msgstr "B<Retorna>"
563
564 #. type: Plain text
565 #: archlinux
566 msgid "0 on success, -1 on error (pm_errno is set accordingly)"
567 msgstr ""
568 "0 em caso de sucsso, -1 em caso de erro (pm_errno é definido de acordo)"
569
570 #. type: SS
571 #: archlinux
572 #, no-wrap
573 msgid "int alpm_db_add_server (alpm_db_t * db, const char * url)"
574 msgstr "int alpm_db_add_server (alpm_db_t * db, const char * url)"
575
576 #. type: SS
577 #: archlinux
578 #, no-wrap
579 msgid "alpm_list_t * alpm_db_get_cache_servers (const alpm_db_t * db)"
580 msgstr "alpm_list_t * alpm_db_get_cache_servers (const alpm_db_t * db)"
581
582 #. type: Plain text
583 #: archlinux
584 msgid "I<db> pointer to the database to get the servers from"
585 msgstr "I<db> ponteiro à base de dados para obter servidores"
586
587 #. type: Plain text
588 #: archlinux
589 msgid "a char* list of servers"
590 msgstr "uma lista de char* de servidores"
591
592 #. type: SS
593 #: archlinux
594 #, no-wrap
595 msgid "alpm_group_t * alpm_db_get_group (alpm_db_t * db, const char * name)"
596 msgstr "alpm_group_t * alpm_db_get_group (alpm_db_t * db, const char * name)"
597
598 #. type: Plain text
599 #: archlinux
600 msgid ""
601 "Get a group entry from a package database\\&. Looking up a group is O(1) and "
602 "will be significantly faster than iterating over the groupcahe\\&."
603 msgstr ""
604 "Obtém uma entrada de grupo de uma base de dados de pacotes\\&. A busca por "
605 "um grupo é O(1) e será significativamente mais rápida do que iterar sobre o "
606 "groupcahe\\&."
607
608 #. type: Plain text
609 #: archlinux
610 msgid "I<db> pointer to the package database to get the group from"
611 msgstr "I<db> ponteiro da base de dados de pacotes para obter o grupo"
612
613 #. type: Plain text
614 #: archlinux
615 msgid "I<name> of the group"
616 msgstr "I<name> do grupo"
617
618 # FIXME groups -> group's (alpm_db_get_group function handles one group at a time)
619 #. type: Plain text
620 #: archlinux
621 msgid "the groups entry on success, NULL on error"
622 msgstr "a entada do grupo em caso de sucsso, NULO em caso de servidor"
623
624 #. type: SS
625 #: archlinux
626 #, no-wrap
627 msgid "alpm_list_t * alpm_db_get_groupcache (alpm_db_t * db)"
628 msgstr "alpm_list_t * alpm_db_get_groupcache (alpm_db_t * db)"
629
630 #. type: Plain text
631 #: archlinux
632 msgid "the list of groups on success, NULL on error"
633 msgstr "a lista de grupos em caso de sucsso, NULO em caso de erro"
634
635 #. type: SS
636 #: archlinux
637 #, no-wrap
638 msgid "alpm_handle_t * alpm_db_get_handle (alpm_db_t * db)"
639 msgstr "alpm_handle_t * alpm_db_get_handle (alpm_db_t * db)"
640
641 #. type: Plain text
642 #: archlinux
643 msgid "I<db> pointer to the package database"
644 msgstr "I<db> ponteiro da base de dados de pacotes"
645
646 #. type: Plain text
647 #: archlinux
648 msgid "the alpm handle that the package database belongs to"
649 msgstr "o identificador do alpm à qual a base de dados de pacotes pertence"
650
651 #. type: SS
652 #: archlinux
653 #, no-wrap
654 msgid "const char * alpm_db_get_name (const alpm_db_t * db)"
655 msgstr "const char * alpm_db_get_name (const alpm_db_t * db)"
656
657 #. type: Plain text
658 #: archlinux
659 msgid "the name of the package database, NULL on error"
660 msgstr "o nome da base de dados de pacotes, NULO em caso de erro"
661
662 #. type: SS
663 #: archlinux
664 #, no-wrap
665 msgid "alpm_pkg_t * alpm_db_get_pkg (alpm_db_t * db, const char * name)"
666 msgstr "alpm_pkg_t * alpm_db_get_pkg (alpm_db_t * db, const char * name)"
667
668 #. type: Plain text
669 #: archlinux
670 msgid ""
671 "Get a package entry from a package database\\&. Looking up a package is O(1) "
672 "and will be significantly faster than iterating over the pkgcahe\\&."
673 msgstr ""
674 "Obtém uma entrada de pacote de uma base de dados de pacotes\\&. A busca por "
675 "um pacote é O(1) e será significativamente mais rápida do que iterar sobre o "
676 "pkgcahe\\&."
677
678 #. type: Plain text
679 #: archlinux
680 msgid "I<db> pointer to the package database to get the package from"
681 msgstr "I<db> ponteiro para a base de dados da qual obtém o pacote"
682
683 #. type: Plain text
684 #: archlinux
685 msgid "I<name> of the package"
686 msgstr "I<name> do pacote"
687
688 #. type: Plain text
689 #: archlinux
690 msgid "the package entry on success, NULL on error"
691 msgstr "a entrada de pacote em caso de sucsso, NULL em caso de erro"
692
693 #. type: SS
694 #: archlinux
695 #, no-wrap
696 msgid "alpm_list_t * alpm_db_get_pkgcache (alpm_db_t * db)"
697 msgstr "alpm_list_t * alpm_db_get_pkgcache (alpm_db_t * db)"
698
699 #. type: Plain text
700 #: archlinux
701 msgid ""
702 "Get the package cache of a package database\\&. This is a list of all "
703 "packages the db contains\\&."
704 msgstr ""
705 "Obtém o cache de pacotes de uma base de dados do pacote\\&. Isso é uma lista "
706 "de todos os pacotes que a base de dados contém\\&."
707
708 #. type: Plain text
709 #: archlinux
710 msgid "the list of packages on success, NULL on error"
711 msgstr "a lista de pacotes em caso de sucsso, NULO em caso de erro"
712
713 #. type: SS
714 #: archlinux
715 #, no-wrap
716 msgid "alpm_list_t * alpm_db_get_servers (const alpm_db_t * db)"
717 msgstr "alpm_list_t * alpm_db_get_servers (const alpm_db_t * db)"
718
719 #. type: SS
720 #: archlinux
721 #, no-wrap
722 msgid "int alpm_db_get_siglevel (alpm_db_t * db)"
723 msgstr "int alpm_db_get_siglevel (alpm_db_t * db)"
724
725 #. type: Plain text
726 #: archlinux
727 msgid ""
728 "Get the signature verification level for a database\\&. Will return the "
729 "default verification level if this database is set up with "
730 "ALPM_SIG_USE_DEFAULT\\&."
731 msgstr ""
732 "Obtém o nível de verificação de assinatura para uma base de dados\\&. "
733 "Retornará o nível de verificação padrão se esta base de dados estiver "
734 "configurado com ALPM_SIG_USE_DEFAULT\\&."
735
736 #. type: Plain text
737 #: archlinux
738 msgid "the signature verification level"
739 msgstr "o nível de verificação de assinatura"
740
741 #. type: SS
742 #: archlinux
743 #, no-wrap
744 msgid "int alpm_db_get_usage (alpm_db_t * db, int * usage)"
745 msgstr "int alpm_db_get_usage (alpm_db_t * db, int * usage)"
746
747 #. type: Plain text
748 #: archlinux
749 msgid "I<db> pointer to the package database to get the status of"
750 msgstr "I<db> ponteiro da base de dados de pacotes para obter o status"
751
752 #. type: Plain text
753 #: archlinux
754 msgid "I<usage> pointer to an B<alpm_db_usage_t> to store db's status"
755 msgstr ""
756 "I<usage> ponteiro para um B<alpm_db_usage_t> para armazenar o status da base "
757 "de dados"
758
759 #. type: Plain text
760 #: archlinux
761 msgid "0 on success, or -1 on error"
762 msgstr "0 em caso de sucesso ou -1 em caso de erro"
763
764 #. type: SS
765 #: archlinux
766 #, no-wrap
767 msgid "int alpm_db_get_valid (alpm_db_t * db)"
768 msgstr "int alpm_db_get_valid (alpm_db_t * db)"
769
770 #. type: Plain text
771 #: archlinux
772 msgid ""
773 "Check the validity of a database\\&. This is most useful for sync databases "
774 "and verifying signature status\\&. If invalid, the handle error code will be "
775 "set accordingly\\&."
776 msgstr ""
777 "Verifica a validade de uma base de dados\\&. Isso é muito útil para "
778 "sincronizar bases de dados e verificar o status da assinatura\\&. Se "
779 "inválido, o código de erro do manipulador será definido de acordo\\&."
780
781 #. type: Plain text
782 #: archlinux
783 msgid "0 if valid, -1 if invalid (pm_errno is set accordingly)"
784 msgstr "0 se válida, -1 se inválida (pm_errno é definido de acordo)"
785
786 #. type: SS
787 #: archlinux
788 #, no-wrap
789 msgid "int alpm_db_remove_cache_server (alpm_db_t * db, const char * url)"
790 msgstr "int alpm_db_remove_cache_server (alpm_db_t * db, const char * url)"
791
792 #. type: Plain text
793 #: archlinux
794 msgid ""
795 "0 on success, 1 on server not present, -1 on error (pm_errno is set "
796 "accordingly)"
797 msgstr ""
798 "0 em caso de sucesso, 1 em caso do servidor não estar presente, -1 em caso "
799 "de erro (pm_errno é definido de acordo)"
800
801 #. type: SS
802 #: archlinux
803 #, no-wrap
804 msgid "int alpm_db_remove_server (alpm_db_t * db, const char * url)"
805 msgstr "int alpm_db_remove_server (alpm_db_t * db, const char * url)"
806
807 #. type: SS
808 #: archlinux
809 #, no-wrap
810 msgid "int alpm_db_search (alpm_db_t * db, const alpm_list_t * needles, alpm_list_t ** ret)"
811 msgstr "int alpm_db_search (alpm_db_t * db, const alpm_list_t * needles, alpm_list_t ** ret)"
812
813 #. type: Plain text
814 #: archlinux
815 msgid "I<db> pointer to the package database to search in"
816 msgstr "I<db> ponteiro para a base de dados de pacotes para pesquisar"
817
818 #. type: Plain text
819 #: archlinux
820 msgid "I<needles> a list of regular expressions to search for"
821 msgstr "I<needles> uma lista de expressões regulares para pesquisar"
822
823 #. type: Plain text
824 #: archlinux
825 msgid ""
826 "I<ret> pointer to list for storing packages matching all regular expressions "
827 "- must point to an empty (NULL) B<alpm_list_t> *\\&."
828 msgstr ""
829 "I<ret> ponteiro para uma lista que armazena pacotes correspondentes a todas "
830 "as expressões regulares - deve apontar para uma lista B<alpm_list_t> * vazia "
831 "(NULA)\\&."
832
833 #. type: SS
834 #: archlinux
835 #, no-wrap
836 msgid "int alpm_db_set_cache_servers (alpm_db_t * db, alpm_list_t * servers)"
837 msgstr "int alpm_db_set_cache_servers (alpm_db_t * db, alpm_list_t * servers)"
838
839 #. type: Plain text
840 #: archlinux
841 msgid ""
842 "I<db> the database to set the servers\\&. The list will be duped and the "
843 "original will still need to be freed by the caller\\&."
844 msgstr ""
845 "I<db> a base de dados para define os servidores\\&. A lista será duplicada e "
846 "a original ainda precisará ser liberada pelo chamador\\&."
847
848 #. type: Plain text
849 #: archlinux
850 msgid "I<servers> a char* list of servers\\&."
851 msgstr "I<servers> uma lista char* de servidores\\&."
852
853 #. type: SS
854 #: archlinux
855 #, no-wrap
856 msgid "int alpm_db_set_servers (alpm_db_t * db, alpm_list_t * servers)"
857 msgstr "int alpm_db_set_servers (alpm_db_t * db, alpm_list_t * servers)"
858
859 #. type: SS
860 #: archlinux
861 #, no-wrap
862 msgid "int alpm_db_set_usage (alpm_db_t * db, int usage)"
863 msgstr "int alpm_db_set_usage (alpm_db_t * db, int usage)"
864
865 #. type: Plain text
866 #: archlinux
867 msgid "I<db> pointer to the package database to set the status for"
868 msgstr "I<db> ponteiro para a base de dados de pacotes para definir o status"
869
870 #. type: Plain text
871 #: archlinux
872 msgid "I<usage> a bitmask of B<alpm_db_usage_t> values"
873 msgstr "I<usage> uma máscara de bits de valores de B<alpm_db_usage_t>"
874
875 #. type: SS
876 #: archlinux
877 #, no-wrap
878 msgid "int alpm_db_unregister (alpm_db_t * db)"
879 msgstr "int alpm_db_unregister (alpm_db_t * db)"
880
881 #. type: Plain text
882 #: archlinux
883 msgid ""
884 "Unregister a package database\\&. Databases can not be unregistered when "
885 "there is an active transaction\\&."
886 msgstr ""
887 "Desregistra uma base de dados dos pacotes\\&. Base de dados não podem ser "
888 "desregistradas quando há uma transação ativa\\&."
889
890 #. type: Plain text
891 #: archlinux
892 msgid "I<db> pointer to the package database to unregister"
893 msgstr "I<db> ponteiro para a base de dados de pacotes para desregistrar"
894
895 #. type: SS
896 #: archlinux
897 #, no-wrap
898 msgid "int alpm_db_update (alpm_handle_t * handle, alpm_list_t * dbs, int force)"
899 msgstr "int alpm_db_update (alpm_handle_t * handle, alpm_list_t * dbs, int force)"
900
901 #. type: Plain text
902 #: archlinux
903 msgid ""
904 "Update package databases\\&. An update of the package databases in the list "
905 "I<dbs> will be attempted\\&. Unless I<force> is true, the update will only "
906 "be performed if the remote databases were modified since the last update\\&."
907 msgstr ""
908 "Atualiza bases de dados de pacotes\\&. Uma atualização das bases de dados de "
909 "pacotes na lista I<dbs> será tentada\\&. A menos que I<force> seja "
910 "verdadeiro, a atualização só será realizada se as bases de dados remotos "
911 "tiverem sido modificados desde a última atualização\\&."
912
913 #. type: Plain text
914 #: archlinux
915 msgid ""
916 "This operation requires a database lock, and will return an applicable error "
917 "if the lock could not be obtained\\&."
918 msgstr ""
919 "Esta operação requer um trava de base de dados e retornará um erro aplicável "
920 "caso a trava não possa ser obtido."
921
922 #. type: Plain text
923 #: archlinux
924 msgid "Example:"
925 msgstr "Exemplo:"
926
927 #. type: Plain text
928 #: archlinux
929 #, no-wrap
930 msgid ""
931 "alpm_list_t *dbs = alpm_get_syncdbs(config-E<gt>handle);\n"
932 "ret = alpm_db_update(config-E<gt>handle, dbs, force);\n"
933 "if(ret E<lt> 0) {\n"
934 " pm_printf(ALPM_LOG_ERROR, _(\"failed to synchronize all databases (%s)\\en\"),\n"
935 " alpm_strerror(alpm_errno(config-E<gt>handle)));\n"
936 "}\n"
937 msgstr ""
938 "alpm_list_t *dbs = alpm_get_syncdbs(config-E<gt>handle);\n"
939 "ret = alpm_db_update(config-E<gt>handle, dbs, force);\n"
940 "if(ret E<lt> 0) {\n"
941 " pm_printf(ALPM_LOG_ERROR, _(\"failed to synchronize all databases (%s)\\en\"),\n"
942 " alpm_strerror(alpm_errno(config-E<gt>handle)));\n"
943 "}\n"
944
945 #. type: Plain text
946 #: archlinux
947 msgid "B<Note>"
948 msgstr "B<Nota>"
949
950 #. type: Plain text
951 #: archlinux
952 msgid "After a successful update, the B<package cache > will be invalidated"
953 msgstr ""
954 "Após uma atualização bem sucedida, o B<cache de pacotes > será invalidado"
955
956 #. type: Plain text
957 #: archlinux
958 msgid "I<handle> the context handle"
959 msgstr "I<handle> o manipulador do contexto"
960
961 #. type: Plain text
962 #: archlinux
963 msgid "I<dbs> list of package databases to update"
964 msgstr "I<dbs> lista das base de dados de pacotes para atualizar"
965
966 #. type: Plain text
967 #: archlinux
968 msgid ""
969 "I<force> if true, then forces the update, otherwise update only in case the "
970 "databases aren't up to date"
971 msgstr ""
972 "I<force> se verdadeiro, força a atualizar; do contrário, atualiza apenas em "
973 "caso das bases de dados não estarem desatualizadas"
974
975 # FIXME: duplicated 'to'
976 #. type: Plain text
977 #: archlinux
978 msgid ""
979 "0 on success, -1 on error (pm_errno is set accordingly), 1 if all databases "
980 "are up to to date"
981 msgstr ""
982 "0 em caso de sucesso, -1 em caso de erro (pm_errno está definido de acordo), "
983 "1 se todas base de dados estiverem atualizadas"
984
985 #. type: SS
986 #: archlinux
987 #, no-wrap
988 msgid "alpm_db_t * alpm_get_localdb (alpm_handle_t * handle)"
989 msgstr "alpm_db_t * alpm_get_localdb (alpm_handle_t * handle)"
990
991 #. type: Plain text
992 #: archlinux
993 msgid ""
994 "Get the database of locally installed packages\\&. The returned pointer "
995 "points to an internal structure of libalpm which should only be manipulated "
996 "through libalpm functions\\&."
997 msgstr ""
998 "Obtém a base de dados de pacotes instalados localmente\\&. O ponteiro "
999 "retornado aponta para uma estrutura interna da libalpm que só deve ser "
1000 "manipulada por meio de funções da libalpm\\*."
1001
1002 #. type: Plain text
1003 #: archlinux
1004 msgid "a reference to the local database"
1005 msgstr "uma referência à base de dados local"
1006
1007 #. type: SS
1008 #: archlinux
1009 #, no-wrap
1010 msgid "alpm_list_t * alpm_get_syncdbs (alpm_handle_t * handle)"
1011 msgstr "alpm_list_t * alpm_get_syncdbs (alpm_handle_t * handle)"
1012
1013 #. type: Plain text
1014 #: archlinux
1015 msgid ""
1016 "Get the list of sync databases\\&. Returns a list of B<alpm_db_t> "
1017 "structures, one for each registered sync database\\&."
1018 msgstr ""
1019 "Obtém a lista de bases de dados de sincronização\\&. Retorna uma lista de "
1020 "estruturas B<alpm_db_t>, uma para cada base de dados de sincronização "
1021 "registrada\\&."
1022
1023 #. type: Plain text
1024 #: archlinux
1025 msgid "a reference to an internal list of B<alpm_db_t> structures"
1026 msgstr "uma referência a uma lista interna de estruturas de B<alpm_db_t>"
1027
1028 #. type: SS
1029 #: archlinux
1030 #, no-wrap
1031 msgid "alpm_db_t * alpm_register_syncdb (alpm_handle_t * handle, const char * treename, int level)"
1032 msgstr "alpm_db_t * alpm_register_syncdb (alpm_handle_t * handle, const char * treename, int level)"
1033
1034 #. type: Plain text
1035 #: archlinux
1036 msgid ""
1037 "Register a sync database of packages\\&. Databases can not be registered "
1038 "when there is an active transaction\\&."
1039 msgstr ""
1040 "Registra uma base de dados de sincronização de pacotes\\&. Bases de dados "
1041 "não podem ser registradas quando há uma transação ativa\\&."
1042
1043 #. type: Plain text
1044 #: archlinux
1045 msgid "I<treename> the name of the sync repository"
1046 msgstr "I<treename> o nome do repositório de sincronização"
1047
1048 #. type: Plain text
1049 #: archlinux
1050 msgid ""
1051 "I<level> what level of signature checking to perform on the database; note "
1052 "that this must be a '\\&.sig' file type verification"
1053 msgstr ""
1054 "I<level> qual o nível de verificação de assinatura para realizar a base de "
1055 "dados; note que isso deve ser uma verificação do tipo de arquivo '\\&.sig'"
1056
1057 #. type: Plain text
1058 #: archlinux
1059 msgid "an alpm_db_t* on success (the value), NULL on error"
1060 msgstr "um alpm_db_t* em caso de sucesso (o valor), NULO em caso de erro"
1061
1062 #. type: SS
1063 #: archlinux
1064 #, no-wrap
1065 msgid "int alpm_unregister_all_syncdbs (alpm_handle_t * handle)"
1066 msgstr "int alpm_unregister_all_syncdbs (alpm_handle_t * handle)"
1067
1068 #. type: Plain text
1069 #: archlinux
1070 msgid ""
1071 "Unregister all package databases\\&. Databases can not be unregistered while "
1072 "there is an active transaction\\&."
1073 msgstr ""
1074 "Desregistra todas as bases de dados de pacotes\\&. Bases de dados não podem "
1075 "ser desregistradas enquanto há uma transação ativa\\&."
1076
1077 #. type: SH
1078 #: archlinux
1079 #, no-wrap
1080 msgid "Author"
1081 msgstr "Autor"
1082
1083 #. type: Plain text
1084 #: archlinux
1085 msgid "Generated automatically by Doxygen for libalpm from the source code\\&."
1086 msgstr ""
1087 "Gerado automaticamente por Doxygen para libalpm a partir do código-fonte\\&."