| libalpm
    Arch Linux Package Manager Library | 
#include <dirent.h>#include <errno.h>#include <limits.h>#include <string.h>#include "handle.h"#include "hook.h"#include "ini.h"#include "log.h"#include "trans.h"#include "util.h"
| Macros | |
| #define | error(...) _alpm_log(handle, ALPM_LOG_ERROR, __VA_ARGS__); return 1; | 
| #define | warning(...) _alpm_log(handle, ALPM_LOG_WARNING, __VA_ARGS__); | 
| #define | _save_matches(_op, _matches) | 
| Functions | |
| static alpm_list_t * | find_hook (alpm_list_t *haystack, const void *needle) | 
| #define _save_matches | ( | _op, | |
| _matches ) | 
| #define error | ( | ... | ) | _alpm_log(handle, ALPM_LOG_ERROR, __VA_ARGS__); return 1; | 
| #define warning | ( | ... | ) | _alpm_log(handle, ALPM_LOG_WARNING, __VA_ARGS__); | 
| 
 | static | 
References alpm_list_t::data, and alpm_list_t::next.