libalpm
Arch Linux Package Manager Library
handle.h File Reference
#include <stdio.h>
#include <sys/types.h>
#include <regex.h>
#include "alpm_list.h"
#include "alpm.h"
#include "trans.h"
#include <curl/curl.h>
Include dependency graph for handle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EVENT(h, e)
 
#define QUESTION(h, q)
 
#define PROGRESS(h, e, p, per, n, r)
 

Macro Definition Documentation

◆ EVENT

#define EVENT ( h,
e )
Value:
do { \
if((h)->eventcb) { \
(h)->eventcb((h)->eventcb_ctx, (alpm_event_t *) (e)); \
} \
} while(0)
Events.
Definition alpm.h:940

Referenced by alpm_db_update(), alpm_fetch_pkgurl(), alpm_trans_commit(), check_keyring(), check_validity(), commit_single_pkg(), download_files(), extract_single_file(), load_packages(), remove_notify_needed_optdepends(), sync_db_validate(), and unlink_file().

◆ PROGRESS

#define PROGRESS ( h,
e,
p,
per,
n,
r )
Value:
do { \
if((h)->progresscb) { \
(h)->progresscb((h)->progresscb_ctx, e, p, per, n, r); \
} \
} while(0)

Referenced by check_keyring(), check_validity(), commit_single_pkg(), load_packages(), and remove_package_files().

◆ QUESTION

#define QUESTION ( h,
q )
Value:
do { \
if((h)->questioncb) { \
(h)->questioncb((h)->questioncb_ctx, (alpm_question_t *) (q)); \
} \
} while(0)
Questions.
Definition alpm.h:1091

Referenced by alpm_find_group_pkgs(), check_replacers(), prompt_to_delete(), and resolvedep().