本文整理汇总了C++中pk_package_ids_to_string函数的典型用法代码示例。如果您正苦于以下问题:C++ pk_package_ids_to_string函数的具体用法?C++ pk_package_ids_to_string怎么用?C++ pk_package_ids_to_string使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了pk_package_ids_to_string函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: pk_backend_get_files
/**
* pk_backend_get_files:
*/
void
pk_backend_get_files (PkBackend *backend, PkBackendJob *job, gchar **package_ids)
{
gchar *package_ids_temp;
package_ids_temp = pk_package_ids_to_string (package_ids);
pk_backend_spawn_helper (spawn, job, BACKEND_FILE, "get-files", package_ids_temp, NULL);
g_free (package_ids_temp);
}
示例2: pk_backend_simulate_update_packages
/**
* pk_backend_simulate_update_packages:
*/
void
pk_backend_simulate_update_packages (PkBackend *backend, gchar **package_ids)
{
gchar *package_ids_temp;
package_ids_temp = pk_package_ids_to_string (package_ids);
pk_backend_spawn_helper (spawn, BACKEND_FILE, "simulate-update-packages", package_ids_temp, NULL);
g_free (package_ids_temp);
}
示例3: pk_backend_get_update_detail
/**
* pk_backend_get_update_detail:
*/
void
pk_backend_get_update_detail (PkBackend *backend, gchar **package_ids)
{
gchar *package_ids_temp;
package_ids_temp = pk_package_ids_to_string (package_ids);
pk_backend_spawn_helper (spawn, BACKEND_FILE, "get-update-detail", package_ids_temp, NULL);
g_free (package_ids_temp);
}
示例4: pk_backend_simulate_remove_packages
/**
* pk_backend_simulate_remove_packages:
*/
void
pk_backend_simulate_remove_packages (PkBackend *backend, gchar **package_ids, gboolean autoremove)
{
gchar *package_ids_temp;
package_ids_temp = pk_package_ids_to_string (package_ids);
pk_backend_spawn_helper (spawn, BACKEND_FILE, "simulate-remove-packages", package_ids_temp, NULL);
g_free (package_ids_temp);
}
示例5: pk_backend_get_update_detail
/**
* pk_backend_get_update_detail:
*/
void
pk_backend_get_update_detail (PkBackend *backend, PkBackendJob *job, gchar **package_ids)
{
gchar *package_ids_temp;
package_ids_temp = pk_package_ids_to_string (package_ids);
pk_backend_spawn_helper (priv->spawn, job, "yumBackend.py", "get-update-detail", package_ids_temp, NULL);
g_free (package_ids_temp);
}
示例6: backend_remove_packages
/**
* backend_remove_packages:
*/
static void
backend_remove_packages (PkBackend *backend, gchar **package_ids, gboolean allow_deps, gboolean autoremove)
{
gchar *package_ids_temp;
package_ids_temp = pk_package_ids_to_string (package_ids);
pk_backend_spawn_helper (spawn, BACKEND_FILE, "remove-packages", pk_backend_bool_to_string (allow_deps), pk_backend_bool_to_string (autoremove), package_ids_temp, NULL);
g_free (package_ids_temp);
}
示例7: backend_get_details
/**
* backend_get_details:
*/
static void
backend_get_details (PkBackend *backend, gchar **package_ids)
{
gchar *package_ids_temp;
package_ids_temp = pk_package_ids_to_string (package_ids);
pk_backend_spawn_helper (spawn, BACKEND_FILE, "get-details", package_ids_temp, NULL);
g_free (package_ids_temp);
}
示例8: pk_backend_download_packages
/**
* pk_backend_download_packages:
*/
void
pk_backend_download_packages (PkBackend *backend, gchar **package_ids, const gchar *directory)
{
gchar *package_ids_temp;
/* send the complete list as stdin */
package_ids_temp = pk_package_ids_to_string (package_ids);
pk_backend_spawn_helper (spawn, BACKEND_FILE, "download-packages", directory, package_ids_temp, NULL);
g_free (package_ids_temp);
}
示例9: pk_backend_get_details_local
/**
* pk_backend_get_details_local:
*/
void
pk_backend_get_details_local (PkBackend *backend, PkBackendJob *job, gchar **filenames)
{
g_autofree gchar *tmp = NULL;
tmp = pk_package_ids_to_string (filenames);
pk_backend_spawn_helper (priv->spawn, job,
"yumBackend.py",
"get-details-local",
tmp, NULL);
}
示例10: backend_simulate_remove_packages
/**
* backend_simulate_remove_packages:
*/
static void
backend_simulate_remove_packages (PkBackend *backend, gchar **package_ids, gboolean autoremove)
{
gchar *package_ids_temp;
/* send the complete list as stdin */
package_ids_temp = pk_package_ids_to_string (package_ids);
pk_backend_spawn_helper (spawn, BACKEND_FILE, "simulate-remove-packages", package_ids_temp, NULL);
g_free (package_ids_temp);
}
示例11: pk_backend_download_packages
/**
* pk_backend_download_packages:
*/
void
pk_backend_download_packages (PkBackend *backend, PkBackendJob *job, gchar **package_ids, const gchar *directory)
{
gchar *package_ids_temp;
/* send the complete list as stdin */
package_ids_temp = pk_package_ids_to_string (package_ids);
pk_backend_spawn_helper (priv->spawn, job, "yumBackend.py", "download-packages", directory, package_ids_temp, NULL);
g_free (package_ids_temp);
}
示例12: pk_backend_update_packages
/**
* pk_backend_update_packages:
*/
void
pk_backend_update_packages (PkBackend *backend, PkBackendJob *job, PkBitfield transaction_flags, gchar **package_ids)
{
gchar *package_ids_temp;
/* send the complete list as stdin */
package_ids_temp = pk_package_ids_to_string (package_ids);
pk_backend_spawn_helper (spawn, job, BACKEND_FILE, "update-packages", pk_backend_bool_to_string (only_trusted), package_ids_temp, NULL);
g_free (package_ids_temp);
}
示例13: pk_backend_remove_packages
/**
* pk_backend_remove_packages:
*/
void
pk_backend_remove_packages (PkBackend *backend, PkBackendJob *job, gchar **package_ids, gboolean allow_deps, gboolean autoremove)
{
gchar *package_ids_temp;
/* send the complete list as stdin */
package_ids_temp = pk_package_ids_to_string (package_ids);
pk_backend_spawn_helper (spawn, job, BACKEND_FILE, "remove-packages", pk_backend_bool_to_string (allow_deps), pk_backend_bool_to_string (autoremove), package_ids_temp, NULL);
g_free (package_ids_temp);
}
示例14: pk_backend_simulate_update_packages
/**
* backend_simulate_update_packages:
*/
void
pk_backend_simulate_update_packages (PkBackend *backend, gchar **package_ids)
{
gchar *package_ids_temp;
/* send the complete list as stdin */
package_ids_temp = pk_package_ids_to_string (package_ids);
pk_backend_spawn_helper (spawn, job, BACKEND_FILE, "simulate-update-packages", package_ids_temp, NULL);
g_free (package_ids_temp);
}
示例15: backend_update_packages
/**
* backend_update_packages:
*/
static void
backend_update_packages (PkBackend *backend, gboolean only_trusted, gchar **package_ids)
{
gchar *package_ids_temp;
/* send the complete list as stdin */
package_ids_temp = pk_package_ids_to_string (package_ids);
pk_backend_spawn_helper (spawn, BACKEND_FILE, "update-packages", package_ids_temp, NULL);
g_free (package_ids_temp);
}