alpm_pkg_set_reason

Set install reason for a package in the local database. The provided package object must be from the local database or this method will fail. The write to the local database is performed immediately. @param pkg the package to update @param reason the new install reason @return 0 on success, -1 on error (pm_errno is set accordingly)

extern (C)
int
alpm_pkg_set_reason

Meta