Debian Codegraph @

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