search for: cred_siz

Displaying 4 results from an estimated 4 matches for "cred_siz".

Did you mean: cred_size
2012 Oct 13
0
[PATCH] New APIs: Model libvirt authentication events through the API.
...ted_credentials[i].defresult) + return safe_strdup (g, g->requested_credentials[i].defresult); + else + return safe_strdup (g, ""); +} + +int +guestfs__set_libvirt_requested_credential (guestfs_h *g, int index, + const char *cred, size_t cred_size) +{ + size_t i; + + CHECK_IN_EVENT_HANDLER (-1); + + if (index >= 0 && (unsigned int) index < g->nr_requested_credentials) + i = (size_t) index; + else { + error (g, _("credential index out of range")); + return -1; + } + + /* All the evidence is that libv...
2015 Oct 05
0
[PATCH 2/2] Fix whitespace.
...return ret.argv; /* caller frees */ @@ -324,7 +324,7 @@ guestfs_impl_get_libvirt_requested_credential_defresult (guestfs_h *g, int index int guestfs_impl_set_libvirt_requested_credential (guestfs_h *g, int index, - const char *cred, size_t cred_size) + const char *cred, size_t cred_size) { size_t i; diff --git a/src/libvirt-domain.c b/src/libvirt-domain.c index 79e7ba6..124eef0 100644 --- a/src/libvirt-domain.c +++ b/src/libvirt-domain.c @@ -52,7 +52,7 @@ ignore_errors (void *ignore, virErrorPtr ignore2) int guestfs_impl_...
2015 Oct 05
3
[PATCH 1/2] Change 'fprintf (stdout,...)' -> printf.
Result of earlier copy and paste. --- align/scan.c | 35 ++++++++++--------- cat/cat.c | 39 +++++++++++---------- cat/filesystems.c | 69 +++++++++++++++++++------------------- cat/log.c | 35 ++++++++++--------- cat/ls.c | 61 +++++++++++++++++---------------- df/main.c | 43 ++++++++++++------------ diff/diff.c | 67
2015 Feb 14
2
[PATCH 0/2] Change guestfs__*
libguestfs has used double and triple underscores in identifiers. These aren't valid for global names in C++. (http://stackoverflow.com/a/228797) These large but completely mechanical patches change the illegal identifiers to legal ones. Rich.