# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2026-04-01 22:58-0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: archlinux #, no-wrap msgid "libalpm_databases" msgstr "" #. type: TH #: archlinux #, no-wrap msgid "libalpm" msgstr "" #. type: SH #: archlinux #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux msgid "libalpm_databases - Database" msgstr "" #. type: Plain text #: archlinux #, no-wrap msgid " - Functions to query and manipulate the database of libalpm\\&. \n" msgstr "" #. type: SH #: archlinux #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "Typedefs" msgstr "" #. type: Plain text #: archlinux msgid "typedef struct _alpm_db_t B" msgstr "" #. type: Plain text #: archlinux msgid "A database\\&." msgstr "" #. type: SS #: archlinux #, no-wrap msgid "Enumerations" msgstr "" #. type: Plain text #: archlinux msgid "" "enum B { B = 1, B " "= (1 EE 1), B = (1 EE 2), " "B = (1 EE 3), B = (1 " "EE 4) - 1 }" msgstr "" #. type: Plain text #: archlinux msgid "The usage level of a database\\&." msgstr "" #. type: SS #: archlinux #, no-wrap msgid "Functions" msgstr "" #. type: Plain text #: archlinux msgid "B * B (B *handle)" msgstr "" #. type: Plain text #: archlinux msgid "Get the database of locally installed packages\\&." msgstr "" #. type: Plain text #: archlinux msgid "B * B (B *handle)" msgstr "" #. type: Plain text #: archlinux msgid "Get the list of sync databases\\&." msgstr "" #. type: Plain text #: archlinux msgid "" "B * B (B *handle, const char " "*treename, int level)" msgstr "" #. type: Plain text #: archlinux msgid "Register a sync database of packages\\&." msgstr "" #. type: Plain text #: archlinux msgid "int B (B *handle)" msgstr "" #. type: Plain text #: archlinux msgid "Unregister all package databases\\&." msgstr "" #. type: Plain text #: archlinux msgid "int B (B *db)" msgstr "" #. type: Plain text #: archlinux msgid "Unregister a package database\\&." msgstr "" #. type: Plain text #: archlinux msgid "B * B (B *db)" msgstr "" #. type: Plain text #: archlinux msgid "Get the handle of a package database\\&." msgstr "" #. type: Plain text #: archlinux msgid "const char * B (const B *db)" msgstr "" #. type: Plain text #: archlinux msgid "Get the name of a package database\\&." msgstr "" #. type: Plain text #: archlinux msgid "int B (B *db)" msgstr "" #. type: Plain text #: archlinux msgid "Get the signature verification level for a database\\&." msgstr "" #. type: Plain text #: archlinux msgid "int B (B *db)" msgstr "" #. type: Plain text #: archlinux msgid "Check the validity of a database\\&." msgstr "" #. type: Plain text #: archlinux msgid "" "int B (B *handle, B *dbs, int " "force)" msgstr "" #. type: Plain text #: archlinux msgid "Update package databases\\&." msgstr "" #. type: Plain text #: archlinux msgid "B * B (B *db, const char *name)" msgstr "" #. type: Plain text #: archlinux msgid "Get a package entry from a package database\\&." msgstr "" #. type: Plain text #: archlinux msgid "B * B (B *db)" msgstr "" #. type: Plain text #: archlinux msgid "Get the package cache of a package database\\&." msgstr "" #. type: Plain text #: archlinux msgid "" "B * B (B *db, const char *name)" msgstr "" #. type: Plain text #: archlinux msgid "Get a group entry from a package database\\&." msgstr "" #. type: Plain text #: archlinux msgid "B * B (B *db)" msgstr "" #. type: Plain text #: archlinux msgid "Get the group cache of a package database\\&." msgstr "" #. type: Plain text #: archlinux msgid "" "int B (B *db, const B *needles, " "B **ret)" msgstr "" #. type: Plain text #: archlinux msgid "Searches a database with regular expressions\\&." msgstr "" #. type: SS #: archlinux #, no-wrap msgid "Server accessors" msgstr "" #. type: Plain text #: archlinux msgid "B * B (const B *db)" msgstr "" #. type: Plain text #: archlinux msgid "Get the list of servers assigned to this db\\&." msgstr "" #. type: Plain text #: archlinux msgid "int B (B *db, B *servers)" msgstr "" #. type: Plain text #: archlinux msgid "Sets the list of servers for the database to use\\&." msgstr "" #. type: Plain text #: archlinux msgid "int B (B *db, const char *url)" msgstr "" #. type: Plain text #: archlinux msgid "Add a download server to a database\\&." msgstr "" #. type: Plain text #: archlinux msgid "int B (B *db, const char *url)" msgstr "" #. type: Plain text #: archlinux msgid "Remove a download server from a database\\&." msgstr "" #. type: Plain text #: archlinux msgid "B * B (const B *db)" msgstr "" #. type: Plain text #: archlinux msgid "Get the list of cache servers assigned to this db\\&." msgstr "" #. type: Plain text #: archlinux msgid "" "int B (B *db, B *servers)" msgstr "" #. type: Plain text #: archlinux msgid "Sets the list of cache servers for the database to use\\&." msgstr "" #. type: Plain text #: archlinux msgid "int B (B *db, const char *url)" msgstr "" #. type: Plain text #: archlinux msgid "Add a download cache server to a database\\&." msgstr "" #. type: Plain text #: archlinux msgid "int B (B *db, const char *url)" msgstr "" #. type: Plain text #: archlinux msgid "Remove a download cache server from a database\\&." msgstr "" #. type: SS #: archlinux #, no-wrap msgid "Usage accessors" msgstr "" #. type: Plain text #: archlinux msgid "int B (B *db, int usage)" msgstr "" #. type: Plain text #: archlinux msgid "Sets the usage of a database\\&." msgstr "" #. type: Plain text #: archlinux msgid "int B (B *db, int *usage)" msgstr "" #. type: Plain text #: archlinux msgid "Gets the usage of a database\\&." msgstr "" #. type: SH #: archlinux #, no-wrap msgid "Detailed Description" msgstr "" #. type: Plain text #: archlinux msgid "Functions to query and manipulate the database of libalpm\\&." msgstr "" #. type: SH #: archlinux #, no-wrap msgid "Typedef Documentation" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "typedef struct _alpm_db_t alpm_db_t" msgstr "" #. type: Plain text #: archlinux msgid "" "A database\\&. A database is a container that stores metadata about " "packages\\&." msgstr "" #. type: Plain text #: archlinux msgid "" "A database can be located on the local filesystem or on a remote server\\&." msgstr "" #. type: Plain text #: archlinux msgid "" "To use a database, it must first be registered via " "B\\&. If the database is already present in dbpath " "then it will be usable\\&. Otherwise, the database needs to be downloaded " "using B\\&. Even if the source of the database is the local " "filesystem\\&." msgstr "" #. type: Plain text #: archlinux msgid "" "After this, the database can be used to query packages and groups\\&. Any " "packages or groups from the database will continue to be owned by the " "database and do not need to be freed by the user\\&. They will be freed when " "the database is unregistered\\&." msgstr "" #. type: Plain text #: archlinux msgid "" "Databases are automatically unregistered when the B is " "released\\&." msgstr "" #. type: SH #: archlinux #, no-wrap msgid "Enumeration Type Documentation" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "enum alpm_db_usage_t" msgstr "" #. type: Plain text #: archlinux msgid "B" msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f(BIALPM_DB_USAGE_SYNC \\fR" msgstr "" #. type: Plain text #: archlinux msgid "Enable refreshes for this database\\&." msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f(BIALPM_DB_USAGE_SEARCH \\fR" msgstr "" #. type: Plain text #: archlinux msgid "Enable search for this database\\&." msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f(BIALPM_DB_USAGE_INSTALL \\fR" msgstr "" #. type: Plain text #: archlinux msgid "Enable installing packages from this database\\&." msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f(BIALPM_DB_USAGE_UPGRADE \\fR" msgstr "" #. type: Plain text #: archlinux msgid "Enable sysupgrades with this database\\&." msgstr "" #. type: TP #: archlinux #, no-wrap msgid "\\f(BIALPM_DB_USAGE_ALL \\fR" msgstr "" #. type: Plain text #: archlinux msgid "Enable all usage levels\\&." msgstr "" #. type: SH #: archlinux #, no-wrap msgid "Function Documentation" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "int alpm_db_add_cache_server (alpm_db_t * db, const char * url)" msgstr "" #. type: Plain text #: archlinux msgid "B" msgstr "" #. type: Plain text #: archlinux msgid "I database pointer" msgstr "" #. type: Plain text #: archlinux msgid "I url of the server" msgstr "" #. type: Plain text #: archlinux msgid "B" msgstr "" #. type: Plain text #: archlinux msgid "0 on success, -1 on error (pm_errno is set accordingly)" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "int alpm_db_add_server (alpm_db_t * db, const char * url)" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "alpm_list_t * alpm_db_get_cache_servers (const alpm_db_t * db)" msgstr "" #. type: Plain text #: archlinux msgid "I pointer to the database to get the servers from" msgstr "" #. type: Plain text #: archlinux msgid "a char* list of servers" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "alpm_group_t * alpm_db_get_group (alpm_db_t * db, const char * name)" msgstr "" #. type: Plain text #: archlinux msgid "" "Get a group entry from a package database\\&. Looking up a group is O(1) and " "will be significantly faster than iterating over the groupcahe\\&." msgstr "" #. type: Plain text #: archlinux msgid "I pointer to the package database to get the group from" msgstr "" #. type: Plain text #: archlinux msgid "I of the group" msgstr "" #. type: Plain text #: archlinux msgid "the groups entry on success, NULL on error" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "alpm_list_t * alpm_db_get_groupcache (alpm_db_t * db)" msgstr "" #. type: Plain text #: archlinux msgid "the list of groups on success, NULL on error" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "alpm_handle_t * alpm_db_get_handle (alpm_db_t * db)" msgstr "" #. type: Plain text #: archlinux msgid "I pointer to the package database" msgstr "" #. type: Plain text #: archlinux msgid "the alpm handle that the package database belongs to" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "const char * alpm_db_get_name (const alpm_db_t * db)" msgstr "" #. type: Plain text #: archlinux msgid "the name of the package database, NULL on error" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "alpm_pkg_t * alpm_db_get_pkg (alpm_db_t * db, const char * name)" msgstr "" #. type: Plain text #: archlinux msgid "" "Get a package entry from a package database\\&. Looking up a package is O(1) " "and will be significantly faster than iterating over the pkgcahe\\&." msgstr "" #. type: Plain text #: archlinux msgid "I pointer to the package database to get the package from" msgstr "" #. type: Plain text #: archlinux msgid "I of the package" msgstr "" #. type: Plain text #: archlinux msgid "the package entry on success, NULL on error" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "alpm_list_t * alpm_db_get_pkgcache (alpm_db_t * db)" msgstr "" #. type: Plain text #: archlinux msgid "" "Get the package cache of a package database\\&. This is a list of all " "packages the db contains\\&." msgstr "" #. type: Plain text #: archlinux msgid "the list of packages on success, NULL on error" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "alpm_list_t * alpm_db_get_servers (const alpm_db_t * db)" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "int alpm_db_get_siglevel (alpm_db_t * db)" msgstr "" #. type: Plain text #: archlinux msgid "" "Get the signature verification level for a database\\&. Will return the " "default verification level if this database is set up with " "ALPM_SIG_USE_DEFAULT\\&." msgstr "" #. type: Plain text #: archlinux msgid "the signature verification level" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "int alpm_db_get_usage (alpm_db_t * db, int * usage)" msgstr "" #. type: Plain text #: archlinux msgid "I pointer to the package database to get the status of" msgstr "" #. type: Plain text #: archlinux msgid "I pointer to an B to store db's status" msgstr "" #. type: Plain text #: archlinux msgid "0 on success, or -1 on error" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "int alpm_db_get_valid (alpm_db_t * db)" msgstr "" #. type: Plain text #: archlinux msgid "" "Check the validity of a database\\&. This is most useful for sync databases " "and verifying signature status\\&. If invalid, the handle error code will be " "set accordingly\\&." msgstr "" #. type: Plain text #: archlinux msgid "0 if valid, -1 if invalid (pm_errno is set accordingly)" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "int alpm_db_remove_cache_server (alpm_db_t * db, const char * url)" msgstr "" #. type: Plain text #: archlinux msgid "" "0 on success, 1 on server not present, -1 on error (pm_errno is set " "accordingly)" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "int alpm_db_remove_server (alpm_db_t * db, const char * url)" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "int alpm_db_search (alpm_db_t * db, const alpm_list_t * needles, alpm_list_t ** ret)" msgstr "" #. type: Plain text #: archlinux msgid "I pointer to the package database to search in" msgstr "" #. type: Plain text #: archlinux msgid "I a list of regular expressions to search for" msgstr "" #. type: Plain text #: archlinux msgid "" "I pointer to list for storing packages matching all regular expressions " "- must point to an empty (NULL) B *\\&." msgstr "" #. type: SS #: archlinux #, no-wrap msgid "int alpm_db_set_cache_servers (alpm_db_t * db, alpm_list_t * servers)" msgstr "" #. type: Plain text #: archlinux msgid "" "I the database to set the servers\\&. The list will be duped and the " "original will still need to be freed by the caller\\&." msgstr "" #. type: Plain text #: archlinux msgid "I a char* list of servers\\&." msgstr "" #. type: SS #: archlinux #, no-wrap msgid "int alpm_db_set_servers (alpm_db_t * db, alpm_list_t * servers)" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "int alpm_db_set_usage (alpm_db_t * db, int usage)" msgstr "" #. type: Plain text #: archlinux msgid "I pointer to the package database to set the status for" msgstr "" #. type: Plain text #: archlinux msgid "I a bitmask of B values" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "int alpm_db_unregister (alpm_db_t * db)" msgstr "" #. type: Plain text #: archlinux msgid "" "Unregister a package database\\&. Databases can not be unregistered when " "there is an active transaction\\&." msgstr "" #. type: Plain text #: archlinux msgid "I pointer to the package database to unregister" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "int alpm_db_update (alpm_handle_t * handle, alpm_list_t * dbs, int force)" msgstr "" #. type: Plain text #: archlinux msgid "" "Update package databases\\&. An update of the package databases in the list " "I will be attempted\\&. Unless I is true, the update will only " "be performed if the remote databases were modified since the last update\\&." msgstr "" #. type: Plain text #: archlinux msgid "" "This operation requires a database lock, and will return an applicable error " "if the lock could not be obtained\\&." msgstr "" #. type: Plain text #: archlinux msgid "Example:" msgstr "" #. type: Plain text #: archlinux #, no-wrap msgid "" "alpm_list_t *dbs = alpm_get_syncdbs(config-Ehandle);\n" "ret = alpm_db_update(config-Ehandle, dbs, force);\n" "if(ret E 0) {\n" " pm_printf(ALPM_LOG_ERROR, _(\"failed to synchronize all databases (%s)\\en\"),\n" " alpm_strerror(alpm_errno(config-Ehandle)));\n" "}\n" msgstr "" #. type: Plain text #: archlinux msgid "B" msgstr "" #. type: Plain text #: archlinux msgid "After a successful update, the B will be invalidated" msgstr "" #. type: Plain text #: archlinux msgid "I the context handle" msgstr "" #. type: Plain text #: archlinux msgid "I list of package databases to update" msgstr "" #. type: Plain text #: archlinux msgid "" "I if true, then forces the update, otherwise update only in case the " "databases aren't up to date" msgstr "" #. type: Plain text #: archlinux msgid "" "0 on success, -1 on error (pm_errno is set accordingly), 1 if all databases " "are up to to date" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "alpm_db_t * alpm_get_localdb (alpm_handle_t * handle)" msgstr "" #. type: Plain text #: archlinux msgid "" "Get the database of locally installed packages\\&. The returned pointer " "points to an internal structure of libalpm which should only be manipulated " "through libalpm functions\\&." msgstr "" #. type: Plain text #: archlinux msgid "a reference to the local database" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "alpm_list_t * alpm_get_syncdbs (alpm_handle_t * handle)" msgstr "" #. type: Plain text #: archlinux msgid "" "Get the list of sync databases\\&. Returns a list of B " "structures, one for each registered sync database\\&." msgstr "" #. type: Plain text #: archlinux msgid "a reference to an internal list of B structures" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "alpm_db_t * alpm_register_syncdb (alpm_handle_t * handle, const char * treename, int level)" msgstr "" #. type: Plain text #: archlinux msgid "" "Register a sync database of packages\\&. Databases can not be registered " "when there is an active transaction\\&." msgstr "" #. type: Plain text #: archlinux msgid "I the name of the sync repository" msgstr "" #. type: Plain text #: archlinux msgid "" "I what level of signature checking to perform on the database; note " "that this must be a '\\&.sig' file type verification" msgstr "" #. type: Plain text #: archlinux msgid "an alpm_db_t* on success (the value), NULL on error" msgstr "" #. type: SS #: archlinux #, no-wrap msgid "int alpm_unregister_all_syncdbs (alpm_handle_t * handle)" msgstr "" #. type: Plain text #: archlinux msgid "" "Unregister all package databases\\&. Databases can not be unregistered while " "there is an active transaction\\&." msgstr "" #. type: SH #: archlinux #, no-wrap msgid "Author" msgstr "" #. type: Plain text #: archlinux msgid "Generated automatically by Doxygen for libalpm from the source code\\&." msgstr ""