Introduce PKG_EVENT_PKG_ERRNO event to report pkg-specific error codes.
modified libpkg/fetch_libcurl.c
@@ -1,6 +1,6 @@
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -175,6 +175,10 @@ curl_do_fetch(struct curl_userdata *data, CURL *cl, struct curl_repodata *cr)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/fetch_ssh.c
@@ -1,5 +1,7 @@
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -71,7 +73,9 @@ tcp_connect(struct pkg_repo *repo, struct yuarel *u)
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -88,6 +92,7 @@ tcp_connect(struct pkg_repo *repo, struct yuarel *u)
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified libpkg/pkg.h.in
@@ -6,7 +6,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -519,7 +519,11 @@ typedef enum {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1259,7 +1263,8 @@ typedef enum {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_event.c
@@ -2,6 +2,8 @@
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -469,6 +471,19 @@ pkg_emit_errno(const char *func, const char *arg)
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/private/event.h
@@ -40,6 +40,7 @@
|
|
|
|
|
|
| + | |
|
|
|
|
|