Debian Codegraph @

po/ro/man3/libalpm_databases.3.po

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.30.2\n"
8 "POT-Creation-Date: 2026-04-01 22:58-0300\n"
9 "PO-Revision-Date: 2026-06-21 02:09+0200\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.8\n"
19
20 #. type: TH
21 #: archlinux
22 #, no-wrap
23 msgid "libalpm_databases"
24 msgstr "libalpm_databases"
25
26 #. type: TH
27 #: archlinux
28 #, no-wrap
29 msgid "libalpm"
30 msgstr "libalpm"
31
32 #. type: SH
33 #: archlinux
34 #, no-wrap
35 msgid "NAME"
36 msgstr "NUME"
37
38 #. type: Plain text
39 #: archlinux
40 msgid "libalpm_databases - Database"
41 msgstr "libalpm_databases - bază de date"
42
43 #. type: Plain text
44 #: archlinux
45 #, no-wrap
46 msgid " - Functions to query and manipulate the database of libalpm\\&. \n"
47 msgstr " - Funcții de interogare și manipulare a bazei de date a „libalpm”\\&. \n"
48
49 #. type: SH
50 #: archlinux
51 #, no-wrap
52 msgid "SYNOPSIS"
53 msgstr "SINOPSIS"
54
55 #. type: SS
56 #: archlinux
57 #, no-wrap
58 msgid "Typedefs"
59 msgstr "Definiții de tip"
60
61 #. type: Plain text
62 #: archlinux
63 msgid "typedef struct _alpm_db_t B<alpm_db_t>"
64 msgstr "typedef struct _alpm_db_t B<alpm_db_t>"
65
66 #. type: Plain text
67 #: archlinux
68 msgid "A database\\&."
69 msgstr "O bază de date\\&."
70
71 #. type: SS
72 #: archlinux
73 #, no-wrap
74 msgid "Enumerations"
75 msgstr "Enumerări"
76
77 #. type: Plain text
78 #: archlinux
79 msgid ""
80 "enum B<alpm_db_usage_t> { B<ALPM_DB_USAGE_SYNC> = 1, B<ALPM_DB_USAGE_SEARCH> "
81 "= (1 E<lt>E<lt> 1), B<ALPM_DB_USAGE_INSTALL> = (1 E<lt>E<lt> 2), "
82 "B<ALPM_DB_USAGE_UPGRADE> = (1 E<lt>E<lt> 3), B<ALPM_DB_USAGE_ALL> = (1 "
83 "E<lt>E<lt> 4) - 1 }"
84 msgstr ""
85 "enum B<alpm_db_usage_t> { B<ALPM_DB_USAGE_SYNC> = 1, B<ALPM_DB_USAGE_SEARCH> "
86 "= (1 E<lt>E<lt> 1), B<ALPM_DB_USAGE_INSTALL> = (1 E<lt>E<lt> 2), "
87 "B<ALPM_DB_USAGE_UPGRADE> = (1 E<lt>E<lt> 3), B<ALPM_DB_USAGE_ALL> = (1 "
88 "E<lt>E<lt> 4) - 1 }"
89
90 #. type: Plain text
91 #: archlinux
92 msgid "The usage level of a database\\&."
93 msgstr "Nivelul de utilizare al unei baze de date\\&."
94
95 #. type: SS
96 #: archlinux
97 #, no-wrap
98 msgid "Functions"
99 msgstr "Funcții"
100
101 #. type: Plain text
102 #: archlinux
103 msgid "B<alpm_db_t> * B<alpm_get_localdb> (B<alpm_handle_t> *handle)"
104 msgstr "B<alpm_db_t> * B<alpm_get_localdb> (B<alpm_handle_t> *handle)"
105
106 #. type: Plain text
107 #: archlinux
108 msgid "Get the database of locally installed packages\\&."
109 msgstr "Obține baza de date a pachetelor instalate local\\&."
110
111 #. type: Plain text
112 #: archlinux
113 msgid "B<alpm_list_t> * B<alpm_get_syncdbs> (B<alpm_handle_t> *handle)"
114 msgstr "B<alpm_list_t> * B<alpm_get_syncdbs> (B<alpm_handle_t> *handle)"
115
116 #. type: Plain text
117 #: archlinux
118 msgid "Get the list of sync databases\\&."
119 msgstr "Obține lista bazelor de date de sincronizare.\\&."
120
121 #. type: Plain text
122 #: archlinux
123 msgid ""
124 "B<alpm_db_t> * B<alpm_register_syncdb> (B<alpm_handle_t> *handle, const char "
125 "*treename, int level)"
126 msgstr ""
127 "B<alpm_db_t> * B<alpm_register_syncdb> (B<alpm_handle_t> *handle, const char "
128 "*treename, int level)"
129
130 #. type: Plain text
131 #: archlinux
132 msgid "Register a sync database of packages\\&."
133 msgstr "Înregistrează o bază de date de sincronizare a pachetelor\\&."
134
135 #. type: Plain text
136 #: archlinux
137 msgid "int B<alpm_unregister_all_syncdbs> (B<alpm_handle_t> *handle)"
138 msgstr "int B<alpm_unregister_all_syncdbs> (B<alpm_handle_t> *handle)"
139
140 #. type: Plain text
141 #: archlinux
142 msgid "Unregister all package databases\\&."
143 msgstr "Anulează înregistrarea tuturor bazelor de date ale pachetelor\\&."
144
145 #. type: Plain text
146 #: archlinux
147 msgid "int B<alpm_db_unregister> (B<alpm_db_t> *db)"
148 msgstr "int B<alpm_db_unregister> (B<alpm_db_t> *db)"
149
150 #. type: Plain text
151 #: archlinux
152 msgid "Unregister a package database\\&."
153 msgstr "Anulează înregistrarea unei baze de date de pachete\\&."
154
155 #. type: Plain text
156 #: archlinux
157 msgid "B<alpm_handle_t> * B<alpm_db_get_handle> (B<alpm_db_t> *db)"
158 msgstr "B<alpm_handle_t> * B<alpm_db_get_handle> (B<alpm_db_t> *db)"
159
160 #. type: Plain text
161 #: archlinux
162 msgid "Get the handle of a package database\\&."
163 msgstr "Obține identificatorul unei baze de date de pachete\\&."
164
165 #. type: Plain text
166 #: archlinux
167 msgid "const char * B<alpm_db_get_name> (const B<alpm_db_t> *db)"
168 msgstr "const char * B<alpm_db_get_name> (const B<alpm_db_t> *db)"
169
170 #. type: Plain text
171 #: archlinux
172 msgid "Get the name of a package database\\&."
173 msgstr "Obține numele unei baze de date de pachete\\&."
174
175 #. type: Plain text
176 #: archlinux
177 msgid "int B<alpm_db_get_siglevel> (B<alpm_db_t> *db)"
178 msgstr "int B<alpm_db_get_siglevel> (B<alpm_db_t> *db)"
179
180 #. type: Plain text
181 #: archlinux
182 msgid "Get the signature verification level for a database\\&."
183 msgstr "Obține nivelul de verificare a semnăturii pentru o bază de date\\&."
184
185 #. type: Plain text
186 #: archlinux
187 msgid "int B<alpm_db_get_valid> (B<alpm_db_t> *db)"
188 msgstr "int B<alpm_db_get_valid> (B<alpm_db_t> *db)"
189
190 #. type: Plain text
191 #: archlinux
192 msgid "Check the validity of a database\\&."
193 msgstr "Verifică validitatea unei baze de date\\&."
194
195 #. type: Plain text
196 #: archlinux
197 msgid ""
198 "int B<alpm_db_update> (B<alpm_handle_t> *handle, B<alpm_list_t> *dbs, int "
199 "force)"
200 msgstr ""
201 "int B<alpm_db_update> (B<alpm_handle_t> *handle, B<alpm_list_t> *dbs, int "
202 "force)"
203
204 #. type: Plain text
205 #: archlinux
206 msgid "Update package databases\\&."
207 msgstr "Actualizează bazelor de date ale pachetelor\\&."
208
209 #. type: Plain text
210 #: archlinux
211 msgid "B<alpm_pkg_t> * B<alpm_db_get_pkg> (B<alpm_db_t> *db, const char *name)"
212 msgstr ""
213 "B<alpm_pkg_t> * B<alpm_db_get_pkg> (B<alpm_db_t> *db, const char *name)"
214
215 #. type: Plain text
216 #: archlinux
217 msgid "Get a package entry from a package database\\&."
218 msgstr "Obține o intrare de pachet dintr-o bază de date de pachete\\&."
219
220 #. type: Plain text
221 #: archlinux
222 msgid "B<alpm_list_t> * B<alpm_db_get_pkgcache> (B<alpm_db_t> *db)"
223 msgstr "B<alpm_list_t> * B<alpm_db_get_pkgcache> (B<alpm_db_t> *db)"
224
225 #. type: Plain text
226 #: archlinux
227 msgid "Get the package cache of a package database\\&."
228 msgstr "Obține cache-ul unui pachet din baza de date a pachetelor\\&."
229
230 #. type: Plain text
231 #: archlinux
232 msgid ""
233 "B<alpm_group_t> * B<alpm_db_get_group> (B<alpm_db_t> *db, const char *name)"
234 msgstr ""
235 "B<alpm_group_t> * B<alpm_db_get_group> (B<alpm_db_t> *db, const char *name)"
236
237 #. type: Plain text
238 #: archlinux
239 msgid "Get a group entry from a package database\\&."
240 msgstr ""
241 "Obține o intrare de grup de pachete dintr-o bază de date de pachete\\&."
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 ""
252 "Obține cache-ul grupului de pachete dintr-o bază de date de pachete\\&."
253
254 #. type: Plain text
255 #: archlinux
256 msgid ""
257 "int B<alpm_db_search> (B<alpm_db_t> *db, const B<alpm_list_t> *needles, "
258 "B<alpm_list_t> **ret)"
259 msgstr ""
260 "int B<alpm_db_search> (B<alpm_db_t> *db, const B<alpm_list_t> *needles, "
261 "B<alpm_list_t> **ret)"
262
263 #. type: Plain text
264 #: archlinux
265 msgid "Searches a database with regular expressions\\&."
266 msgstr "Caută într-o bază de date folosind expresii regulate\\&."
267
268 #. type: SS
269 #: archlinux
270 #, no-wrap
271 msgid "Server accessors"
272 msgstr "Accesări ale serverului"
273
274 #. type: Plain text
275 #: archlinux
276 msgid "B<alpm_list_t> * B<alpm_db_get_servers> (const B<alpm_db_t> *db)"
277 msgstr "B<alpm_list_t> * B<alpm_db_get_servers> (const B<alpm_db_t> *db)"
278
279 #. type: Plain text
280 #: archlinux
281 msgid "Get the list of servers assigned to this db\\&."
282 msgstr "Obține lista serverelor alocate acestei baze de date\\&."
283
284 #. type: Plain text
285 #: archlinux
286 msgid "int B<alpm_db_set_servers> (B<alpm_db_t> *db, B<alpm_list_t> *servers)"
287 msgstr "int B<alpm_db_set_servers> (B<alpm_db_t> *db, B<alpm_list_t> *servers)"
288
289 #. type: Plain text
290 #: archlinux
291 msgid "Sets the list of servers for the database to use\\&."
292 msgstr ""
293 "Stabilește lista de servere pe care baza de date trebuie să le utilizeze\\&."
294
295 #. type: Plain text
296 #: archlinux
297 msgid "int B<alpm_db_add_server> (B<alpm_db_t> *db, const char *url)"
298 msgstr "int B<alpm_db_add_server> (B<alpm_db_t> *db, const char *url)"
299
300 #. type: Plain text
301 #: archlinux
302 msgid "Add a download server to a database\\&."
303 msgstr "Adaugă un server de descărcare la o bază de date\\&."
304
305 #. type: Plain text
306 #: archlinux
307 msgid "int B<alpm_db_remove_server> (B<alpm_db_t> *db, const char *url)"
308 msgstr "int B<alpm_db_remove_server> (B<alpm_db_t> *db, const char *url)"
309
310 #. type: Plain text
311 #: archlinux
312 msgid "Remove a download server from a database\\&."
313 msgstr "Elimină un server de descărcare de la o bază de date\\&."
314
315 #. type: Plain text
316 #: archlinux
317 msgid "B<alpm_list_t> * B<alpm_db_get_cache_servers> (const B<alpm_db_t> *db)"
318 msgstr "B<alpm_list_t> * B<alpm_db_get_cache_servers> (const B<alpm_db_t> *db)"
319
320 #. type: Plain text
321 #: archlinux
322 msgid "Get the list of cache servers assigned to this db\\&."
323 msgstr "Obține lista serverelor de cache alocate acestei baze de date\\&."
324
325 #. type: Plain text
326 #: archlinux
327 msgid ""
328 "int B<alpm_db_set_cache_servers> (B<alpm_db_t> *db, B<alpm_list_t> *servers)"
329 msgstr ""
330 "int B<alpm_db_set_cache_servers> (B<alpm_db_t> *db, B<alpm_list_t> *servers)"
331
332 #. type: Plain text
333 #: archlinux
334 msgid "Sets the list of cache servers for the database to use\\&."
335 msgstr ""
336 "Stabilește lista serverelor de cache pe care baza de date trebuie să le "
337 "utilizeze\\&."
338
339 #. type: Plain text
340 #: archlinux
341 msgid "int B<alpm_db_add_cache_server> (B<alpm_db_t> *db, const char *url)"
342 msgstr "int B<alpm_db_add_cache_server> (B<alpm_db_t> *db, const char *url)"
343
344 #. type: Plain text
345 #: archlinux
346 msgid "Add a download cache server to a database\\&."
347 msgstr "Adaugă un server de cache pentru descărcări la o bază de date\\&."
348
349 #. type: Plain text
350 #: archlinux
351 msgid "int B<alpm_db_remove_cache_server> (B<alpm_db_t> *db, const char *url)"
352 msgstr "int B<alpm_db_remove_cache_server> (B<alpm_db_t> *db, const char *url)"
353
354 #. type: Plain text
355 #: archlinux
356 msgid "Remove a download cache server from a database\\&."
357 msgstr "Elimină un server de cache pentru descărcări de la o bază de date\\&."
358
359 #. type: SS
360 #: archlinux
361 #, no-wrap
362 msgid "Usage accessors"
363 msgstr "Accesări de utilizare"
364
365 #. type: Plain text
366 #: archlinux
367 msgid "int B<alpm_db_set_usage> (B<alpm_db_t> *db, int usage)"
368 msgstr "int B<alpm_db_set_usage> (B<alpm_db_t> *db, int usage)"
369
370 #. type: Plain text
371 #: archlinux
372 msgid "Sets the usage of a database\\&."
373 msgstr "Configurează utilizarea unei baze de date\\&."
374
375 #. type: Plain text
376 #: archlinux
377 msgid "int B<alpm_db_get_usage> (B<alpm_db_t> *db, int *usage)"
378 msgstr "int B<alpm_db_get_usage> (B<alpm_db_t> *db, int *usage)"
379
380 #. type: Plain text
381 #: archlinux
382 msgid "Gets the usage of a database\\&."
383 msgstr "Obține informații despre utilizarea unei baze de date\\&."
384
385 #. type: SH
386 #: archlinux
387 #, no-wrap
388 msgid "Detailed Description"
389 msgstr "Descriere detaliată"
390
391 #. type: Plain text
392 #: archlinux
393 msgid "Functions to query and manipulate the database of libalpm\\&."
394 msgstr "Funcții de interogare și manipulare a bazei de date a „libalpm”\\&."
395
396 #. type: SH
397 #: archlinux
398 #, no-wrap
399 msgid "Typedef Documentation"
400 msgstr "Documentația typedef"
401
402 #. type: SS
403 #: archlinux
404 #, no-wrap
405 msgid "typedef struct _alpm_db_t alpm_db_t"
406 msgstr "typedef struct _alpm_db_t alpm_db_t"
407
408 #. type: Plain text
409 #: archlinux
410 msgid ""
411 "A database\\&. A database is a container that stores metadata about "
412 "packages\\&."
413 msgstr ""
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
421 #. type: Plain text
422 #: archlinux
423 msgid ""
424 "To use a database, it must first be registered via "
425 "B<alpm_register_syncdb>\\&. If the database is already present in dbpath "
426 "then it will be usable\\&. Otherwise, the database needs to be downloaded "
427 "using B<alpm_db_update>\\&. Even if the source of the database is the local "
428 "filesystem\\&."
429 msgstr ""
430
431 #. type: Plain text
432 #: archlinux
433 msgid ""
434 "After this, the database can be used to query packages and groups\\&. Any "
435 "packages or groups from the database will continue to be owned by the "
436 "database and do not need to be freed by the user\\&. They will be freed when "
437 "the database is unregistered\\&."
438 msgstr ""
439
440 #. type: Plain text
441 #: archlinux
442 msgid ""
443 "Databases are automatically unregistered when the B<alpm_handle_t> is "
444 "released\\&."
445 msgstr ""
446
447 #. type: SH
448 #: archlinux
449 #, no-wrap
450 msgid "Enumeration Type Documentation"
451 msgstr "Documentație privind tipurile de enumerare"
452
453 #. type: SS
454 #: archlinux
455 #, no-wrap
456 msgid "enum alpm_db_usage_t"
457 msgstr "enum alpm_db_usage_t"
458
459 #. type: Plain text
460 #: archlinux
461 msgid "B<Enumerator>"
462 msgstr "B<Enumerator>"
463
464 #. type: TP
465 #: archlinux
466 #, no-wrap
467 msgid "\\f(BIALPM_DB_USAGE_SYNC \\fR"
468 msgstr "\\f(BIALPM_DB_USAGE_SYNC \\fR"
469
470 #. type: Plain text
471 #: archlinux
472 msgid "Enable refreshes for this database\\&."
473 msgstr "Activează actualizările pentru această bază de date\\&."
474
475 #. type: TP
476 #: archlinux
477 #, no-wrap
478 msgid "\\f(BIALPM_DB_USAGE_SEARCH \\fR"
479 msgstr "\\f(BIALPM_DB_USAGE_SEARCH \\fR"
480
481 #. type: Plain text
482 #: archlinux
483 msgid "Enable search for this database\\&."
484 msgstr "Activează căutarea în această bază de date\\&."
485
486 #. type: TP
487 #: archlinux
488 #, no-wrap
489 msgid "\\f(BIALPM_DB_USAGE_INSTALL \\fR"
490 msgstr "\\f(BIALPM_DB_USAGE_INSTALL \\fR"
491
492 #. type: Plain text
493 #: archlinux
494 msgid "Enable installing packages from this database\\&."
495 msgstr "Activează instalarea pachetelor de la această bază de date\\&."
496
497 #. type: TP
498 #: archlinux
499 #, no-wrap
500 msgid "\\f(BIALPM_DB_USAGE_UPGRADE \\fR"
501 msgstr "\\f(BIALPM_DB_USAGE_UPGRADE \\fR"
502
503 #. type: Plain text
504 #: archlinux
505 msgid "Enable sysupgrades with this database\\&."
506 msgstr ""
507 "Activează actualizările sistemului (sysupgrades) cu această bază de date\\&."
508
509 #. type: TP
510 #: archlinux
511 #, no-wrap
512 msgid "\\f(BIALPM_DB_USAGE_ALL \\fR"
513 msgstr "\\f(BIALPM_DB_USAGE_ALL \\fR"
514
515 #. type: Plain text
516 #: archlinux
517 msgid "Enable all usage levels\\&."
518 msgstr "Activează toate nivelele de utilizare\\&."
519
520 #. type: SH
521 #: archlinux
522 #, no-wrap
523 msgid "Function Documentation"
524 msgstr "Documentația funcției"
525
526 #. type: SS
527 #: archlinux
528 #, no-wrap
529 msgid "int alpm_db_add_cache_server (alpm_db_t * db, const char * url)"
530 msgstr "int alpm_db_add_cache_server (alpm_db_t * db, const char * url)"
531
532 #. type: Plain text
533 #: archlinux
534 msgid "B<Parameters>"
535 msgstr "B<Parametrii>"
536
537 #. type: Plain text
538 #: archlinux
539 msgid "I<db> database pointer"
540 msgstr "I<db> indicator de bază de date"
541
542 #. type: Plain text
543 #: archlinux
544 msgid "I<url> url of the server"
545 msgstr "I<url> adresa URL a serverului"
546
547 #. type: Plain text
548 #: archlinux
549 msgid "B<Returns>"
550 msgstr "B<Returnează>"
551
552 #. type: Plain text
553 #: archlinux
554 msgid "0 on success, -1 on error (pm_errno is set accordingly)"
555 msgstr ""
556 "0 în caz de succes, -1 în caz de eroare (variabila pm_errno este configurată "
557 "în consecință)"
558
559 #. type: SS
560 #: archlinux
561 #, no-wrap
562 msgid "int alpm_db_add_server (alpm_db_t * db, const char * url)"
563 msgstr "int alpm_db_add_server (alpm_db_t * db, const char * url)"
564
565 #. type: SS
566 #: archlinux
567 #, no-wrap
568 msgid "alpm_list_t * alpm_db_get_cache_servers (const alpm_db_t * db)"
569 msgstr "alpm_list_t * alpm_db_get_cache_servers (const alpm_db_t * db)"
570
571 #. type: Plain text
572 #: archlinux
573 msgid "I<db> pointer to the database to get the servers from"
574 msgstr "I<db> – indicator către baza de date din care se preiau serverele"
575
576 #. type: Plain text
577 #: archlinux
578 msgid "a char* list of servers"
579 msgstr "o listă de servere de tip char*"
580
581 #. type: SS
582 #: archlinux
583 #, no-wrap
584 msgid "alpm_group_t * alpm_db_get_group (alpm_db_t * db, const char * name)"
585 msgstr "alpm_group_t * alpm_db_get_group (alpm_db_t * db, const char * name)"
586
587 #. type: Plain text
588 #: archlinux
589 msgid ""
590 "Get a group entry from a package database\\&. Looking up a group is O(1) and "
591 "will be significantly faster than iterating over the groupcahe\\&."
592 msgstr ""
593
594 #. type: Plain text
595 #: archlinux
596 msgid "I<db> pointer to the package database to get the group from"
597 msgstr ""
598 "I<db> indicator către baza de date a pachetelor, pentru a prelua grupul din "
599 "aceasta"
600
601 #. type: Plain text
602 #: archlinux
603 msgid "I<name> of the group"
604 msgstr "I<name> numele grupului"
605
606 #. type: Plain text
607 #: archlinux
608 msgid "the groups entry on success, NULL on error"
609 msgstr "intrarea grupurilor în caz de succes, NULL în caz de eroare"
610
611 #. type: SS
612 #: archlinux
613 #, no-wrap
614 msgid "alpm_list_t * alpm_db_get_groupcache (alpm_db_t * db)"
615 msgstr "alpm_list_t * alpm_db_get_groupcache (alpm_db_t * db)"
616
617 #. type: Plain text
618 #: archlinux
619 msgid "the list of groups on success, NULL on error"
620 msgstr "lista grupurilor în caz de succes, NULL în caz de eroare"
621
622 #. type: SS
623 #: archlinux
624 #, no-wrap
625 msgid "alpm_handle_t * alpm_db_get_handle (alpm_db_t * db)"
626 msgstr "alpm_handle_t * alpm_db_get_handle (alpm_db_t * db)"
627
628 #. type: Plain text
629 #: archlinux
630 msgid "I<db> pointer to the package database"
631 msgstr "I<db> indicator către baza de date a pachetelor"
632
633 #. type: Plain text
634 #: archlinux
635 msgid "the alpm handle that the package database belongs to"
636 msgstr "gestionarul alpm căruia îi aparține baza de date a pachetelor"
637
638 #. type: SS
639 #: archlinux
640 #, no-wrap
641 msgid "const char * alpm_db_get_name (const alpm_db_t * db)"
642 msgstr "const char * alpm_db_get_name (const alpm_db_t * db)"
643
644 #. type: Plain text
645 #: archlinux
646 msgid "the name of the package database, NULL on error"
647 msgstr "numele bazei de date a pachetului; NULL în caz de eroare"
648
649 #. type: SS
650 #: archlinux
651 #, no-wrap
652 msgid "alpm_pkg_t * alpm_db_get_pkg (alpm_db_t * db, const char * name)"
653 msgstr "alpm_pkg_t * alpm_db_get_pkg (alpm_db_t * db, const char * name)"
654
655 #. type: Plain text
656 #: archlinux
657 msgid ""
658 "Get a package entry from a package database\\&. Looking up a package is O(1) "
659 "and will be significantly faster than iterating over the pkgcahe\\&."
660 msgstr ""
661
662 #. type: Plain text
663 #: archlinux
664 msgid "I<db> pointer to the package database to get the package from"
665 msgstr ""
666 "I<db> – indicator către baza de date a pachetelor, din care se obține "
667 "pachetul"
668
669 #. type: Plain text
670 #: archlinux
671 msgid "I<name> of the package"
672 msgstr "I<name> numele pachetului"
673
674 #. type: Plain text
675 #: archlinux
676 msgid "the package entry on success, NULL on error"
677 msgstr "intrarea pachetului în caz de succes, NULL în caz de eroare"
678
679 #. type: SS
680 #: archlinux
681 #, no-wrap
682 msgid "alpm_list_t * alpm_db_get_pkgcache (alpm_db_t * db)"
683 msgstr "alpm_list_t * alpm_db_get_pkgcache (alpm_db_t * db)"
684
685 #. type: Plain text
686 #: archlinux
687 msgid ""
688 "Get the package cache of a package database\\&. This is a list of all "
689 "packages the db contains\\&."
690 msgstr ""
691
692 #. type: Plain text
693 #: archlinux
694 msgid "the list of packages on success, NULL on error"
695 msgstr "lista pachetelor în caz de succes, NULL în caz de eroare"
696
697 #. type: SS
698 #: archlinux
699 #, no-wrap
700 msgid "alpm_list_t * alpm_db_get_servers (const alpm_db_t * db)"
701 msgstr "alpm_list_t * alpm_db_get_servers (const alpm_db_t * db)"
702
703 #. type: SS
704 #: archlinux
705 #, no-wrap
706 msgid "int alpm_db_get_siglevel (alpm_db_t * db)"
707 msgstr "int alpm_db_get_siglevel (alpm_db_t * db)"
708
709 #. type: Plain text
710 #: archlinux
711 msgid ""
712 "Get the signature verification level for a database\\&. Will return the "
713 "default verification level if this database is set up with "
714 "ALPM_SIG_USE_DEFAULT\\&."
715 msgstr ""
716
717 #. type: Plain text
718 #: archlinux
719 msgid "the signature verification level"
720 msgstr "nivelul de verificare a semnăturii"
721
722 #. type: SS
723 #: archlinux
724 #, no-wrap
725 msgid "int alpm_db_get_usage (alpm_db_t * db, int * usage)"
726 msgstr "int alpm_db_get_usage (alpm_db_t * db, int * usage)"
727
728 #. type: Plain text
729 #: archlinux
730 msgid "I<db> pointer to the package database to get the status of"
731 msgstr "I<db> indicator către baza de date a pachetelor pentru a obține starea"
732
733 #. type: Plain text
734 #: archlinux
735 msgid "I<usage> pointer to an B<alpm_db_usage_t> to store db's status"
736 msgstr ""
737 "I<usage> indicator către un B<alpm_db_usage_t> pentru a stoca starea bazei "
738 "de date"
739
740 #. type: Plain text
741 #: archlinux
742 msgid "0 on success, or -1 on error"
743 msgstr "0 în caz de succes, sau -1 în caz de eșec"
744
745 #. type: SS
746 #: archlinux
747 #, no-wrap
748 msgid "int alpm_db_get_valid (alpm_db_t * db)"
749 msgstr "int alpm_db_get_valid (alpm_db_t * db)"
750
751 #. type: Plain text
752 #: archlinux
753 msgid ""
754 "Check the validity of a database\\&. This is most useful for sync databases "
755 "and verifying signature status\\&. If invalid, the handle error code will be "
756 "set accordingly\\&."
757 msgstr ""
758
759 #. type: Plain text
760 #: archlinux
761 msgid "0 if valid, -1 if invalid (pm_errno is set accordingly)"
762 msgstr ""
763 "0 dacă este valid, -1 dacă nu este valid (pm_errno este configurată în "
764 "consecință)"
765
766 #. type: SS
767 #: archlinux
768 #, no-wrap
769 msgid "int alpm_db_remove_cache_server (alpm_db_t * db, const char * url)"
770 msgstr "int alpm_db_remove_cache_server (alpm_db_t * db, const char * url)"
771
772 #. type: Plain text
773 #: archlinux
774 msgid ""
775 "0 on success, 1 on server not present, -1 on error (pm_errno is set "
776 "accordingly)"
777 msgstr ""
778
779 #. type: SS
780 #: archlinux
781 #, no-wrap
782 msgid "int alpm_db_remove_server (alpm_db_t * db, const char * url)"
783 msgstr "int alpm_db_remove_server (alpm_db_t * db, const char * url)"
784
785 #. type: SS
786 #: archlinux
787 #, no-wrap
788 msgid "int alpm_db_search (alpm_db_t * db, const alpm_list_t * needles, alpm_list_t ** ret)"
789 msgstr "int alpm_db_search (alpm_db_t * db, const alpm_list_t * needles, alpm_list_t ** ret)"
790
791 #. type: Plain text
792 #: archlinux
793 msgid "I<db> pointer to the package database to search in"
794 msgstr ""
795 "indicator către baza de date a pachetelor în care se va efectua căutarea"
796
797 #. type: Plain text
798 #: archlinux
799 msgid "I<needles> a list of regular expressions to search for"
800 msgstr "I<needles> o listă de expresii regulate care trebuie căutate"
801
802 #. type: Plain text
803 #: archlinux
804 msgid ""
805 "I<ret> pointer to list for storing packages matching all regular expressions "
806 "- must point to an empty (NULL) B<alpm_list_t> *\\&."
807 msgstr ""
808
809 #. type: SS
810 #: archlinux
811 #, no-wrap
812 msgid "int alpm_db_set_cache_servers (alpm_db_t * db, alpm_list_t * servers)"
813 msgstr "int alpm_db_set_cache_servers (alpm_db_t * db, alpm_list_t * servers)"
814
815 #. type: Plain text
816 #: archlinux
817 msgid ""
818 "I<db> the database to set the servers\\&. The list will be duped and the "
819 "original will still need to be freed by the caller\\&."
820 msgstr ""
821
822 #. type: Plain text
823 #: archlinux
824 msgid "I<servers> a char* list of servers\\&."
825 msgstr "I<servers> o listă de servere de tip char*\\&."
826
827 #. type: SS
828 #: archlinux
829 #, no-wrap
830 msgid "int alpm_db_set_servers (alpm_db_t * db, alpm_list_t * servers)"
831 msgstr "int alpm_db_set_servers (alpm_db_t * db, alpm_list_t * servers)"
832
833 #. type: SS
834 #: archlinux
835 #, no-wrap
836 msgid "int alpm_db_set_usage (alpm_db_t * db, int usage)"
837 msgstr "int alpm_db_set_usage (alpm_db_t * db, int usage)"
838
839 #. type: Plain text
840 #: archlinux
841 msgid "I<db> pointer to the package database to set the status for"
842 msgstr ""
843 "I<db> indicator către baza de date a pachetelor pentru a stabili starea "
844 "acesteia"
845
846 #. type: Plain text
847 #: archlinux
848 msgid "I<usage> a bitmask of B<alpm_db_usage_t> values"
849 msgstr "I<usage> o mască de biți compusă din valori de tip B<alpm_db_usage_t>"
850
851 #. type: SS
852 #: archlinux
853 #, no-wrap
854 msgid "int alpm_db_unregister (alpm_db_t * db)"
855 msgstr "int alpm_db_unregister (alpm_db_t * db)"
856
857 #. type: Plain text
858 #: archlinux
859 msgid ""
860 "Unregister a package database\\&. Databases can not be unregistered when "
861 "there is an active transaction\\&."
862 msgstr ""
863
864 #. type: Plain text
865 #: archlinux
866 msgid "I<db> pointer to the package database to unregister"
867 msgstr ""
868
869 #. type: SS
870 #: archlinux
871 #, no-wrap
872 msgid "int alpm_db_update (alpm_handle_t * handle, alpm_list_t * dbs, int force)"
873 msgstr "int alpm_db_update (alpm_handle_t * handle, alpm_list_t * dbs, int force)"
874
875 #. type: Plain text
876 #: archlinux
877 msgid ""
878 "Update package databases\\&. An update of the package databases in the list "
879 "I<dbs> will be attempted\\&. Unless I<force> is true, the update will only "
880 "be performed if the remote databases were modified since the last update\\&."
881 msgstr ""
882
883 #. type: Plain text
884 #: archlinux
885 msgid ""
886 "This operation requires a database lock, and will return an applicable error "
887 "if the lock could not be obtained\\&."
888 msgstr ""
889
890 #. type: Plain text
891 #: archlinux
892 msgid "Example:"
893 msgstr "Exemplu:"
894
895 #. type: Plain text
896 #: archlinux
897 #, no-wrap
898 msgid ""
899 "alpm_list_t *dbs = alpm_get_syncdbs(config-E<gt>handle);\n"
900 "ret = alpm_db_update(config-E<gt>handle, dbs, force);\n"
901 "if(ret E<lt> 0) {\n"
902 " pm_printf(ALPM_LOG_ERROR, _(\"failed to synchronize all databases (%s)\\en\"),\n"
903 " alpm_strerror(alpm_errno(config-E<gt>handle)));\n"
904 "}\n"
905 msgstr ""
906 "alpm_list_t *dbs = alpm_get_syncdbs(config-E<gt>handle);\n"
907 "ret = alpm_db_update(config-E<gt>handle, dbs, force);\n"
908 "if(ret E<lt> 0) {\n"
909 " pm_printf(ALPM_LOG_ERROR, _(\"sincronizarea tuturor bazelor de date a eșuat (%s)\\en\"),\n"
910 " alpm_strerror(alpm_errno(config-E<gt>handle)));\n"
911 "}\n"
912
913 #. type: Plain text
914 #: archlinux
915 msgid "B<Note>"
916 msgstr "B<Notă>"
917
918 #. type: Plain text
919 #: archlinux
920 msgid "After a successful update, the B<package cache > will be invalidated"
921 msgstr ""
922
923 #. type: Plain text
924 #: archlinux
925 msgid "I<handle> the context handle"
926 msgstr ""
927
928 #. type: Plain text
929 #: archlinux
930 msgid "I<dbs> list of package databases to update"
931 msgstr ""
932
933 #. type: Plain text
934 #: archlinux
935 msgid ""
936 "I<force> if true, then forces the update, otherwise update only in case the "
937 "databases aren't up to date"
938 msgstr ""
939
940 #. type: Plain text
941 #: archlinux
942 msgid ""
943 "0 on success, -1 on error (pm_errno is set accordingly), 1 if all databases "
944 "are up to to date"
945 msgstr ""
946
947 #. type: SS
948 #: archlinux
949 #, no-wrap
950 msgid "alpm_db_t * alpm_get_localdb (alpm_handle_t * handle)"
951 msgstr "alpm_db_t * alpm_get_localdb (alpm_handle_t * handle)"
952
953 #. type: Plain text
954 #: archlinux
955 msgid ""
956 "Get the database of locally installed packages\\&. The returned pointer "
957 "points to an internal structure of libalpm which should only be manipulated "
958 "through libalpm functions\\&."
959 msgstr ""
960
961 #. type: Plain text
962 #: archlinux
963 msgid "a reference to the local database"
964 msgstr "o referință la baza de date locală"
965
966 #. type: SS
967 #: archlinux
968 #, no-wrap
969 msgid "alpm_list_t * alpm_get_syncdbs (alpm_handle_t * handle)"
970 msgstr "alpm_list_t * alpm_get_syncdbs (alpm_handle_t * handle)"
971
972 #. type: Plain text
973 #: archlinux
974 msgid ""
975 "Get the list of sync databases\\&. Returns a list of B<alpm_db_t> "
976 "structures, one for each registered sync database\\&."
977 msgstr ""
978
979 #. type: Plain text
980 #: archlinux
981 msgid "a reference to an internal list of B<alpm_db_t> structures"
982 msgstr ""
983
984 #. type: SS
985 #: archlinux
986 #, no-wrap
987 msgid "alpm_db_t * alpm_register_syncdb (alpm_handle_t * handle, const char * treename, int level)"
988 msgstr "alpm_db_t * alpm_register_syncdb (alpm_handle_t * handle, const char * treename, int level)"
989
990 #. type: Plain text
991 #: archlinux
992 msgid ""
993 "Register a sync database of packages\\&. Databases can not be registered "
994 "when there is an active transaction\\&."
995 msgstr ""
996
997 #. type: Plain text
998 #: archlinux
999 msgid "I<treename> the name of the sync repository"
1000 msgstr ""
1001
1002 #. type: Plain text
1003 #: archlinux
1004 msgid ""
1005 "I<level> what level of signature checking to perform on the database; note "
1006 "that this must be a '\\&.sig' file type verification"
1007 msgstr ""
1008
1009 #. type: Plain text
1010 #: archlinux
1011 msgid "an alpm_db_t* on success (the value), NULL on error"
1012 msgstr ""
1013
1014 #. type: SS
1015 #: archlinux
1016 #, no-wrap
1017 msgid "int alpm_unregister_all_syncdbs (alpm_handle_t * handle)"
1018 msgstr "int alpm_unregister_all_syncdbs (alpm_handle_t * handle)"
1019
1020 #. type: Plain text
1021 #: archlinux
1022 msgid ""
1023 "Unregister all package databases\\&. Databases can not be unregistered while "
1024 "there is an active transaction\\&."
1025 msgstr ""
1026
1027 #. type: SH
1028 #: archlinux
1029 #, no-wrap
1030 msgid "Author"
1031 msgstr "Autor"
1032
1033 #. type: Plain text
1034 #: archlinux
1035 msgid "Generated automatically by Doxygen for libalpm from the source code\\&."
1036 msgstr "Generat automat de Doxygen pentru „libalpm” din codul sursă\\&."