move polkit check authorization in one function

This commit is contained in:
guinux
2015-08-21 16:01:02 +02:00
parent cad52d23e1
commit 3a1b338a6e
2 changed files with 67 additions and 153 deletions

View File

@@ -1,5 +1,5 @@
#ifndef ALPM_VALA_H
#define ALPM_VALA_H
#ifndef ALPM_UTIL_H
#define ALPM_UTIL_H
#include <alpm.h>
@@ -20,4 +20,4 @@ void* alpm_list_iterator_next_value (alpm_list_iterator_t *iter);
alpm_pkg_t* alpm_pkg_load_file (alpm_handle_t *handle, const char *filename, int full, alpm_siglevel_t level);
alpm_list_t* alpm_pkg_get_files_list (alpm_pkg_t* pkg);
#endif //!ALPM_VALA_H
#endif //!ALPM_UTIL_H