aboutsummaryrefslogtreecommitdiff
path: root/scripts/hxtool
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2015-10-26 16:34:45 -0600
committerMarkus Armbruster <armbru@redhat.com>2015-11-02 08:30:26 +0100
commit98481bfcd661daa3c160cc87a297b0e60a307788 (patch)
tree2ebb20d6461c2405f3f0313431a64df4824037e4 /scripts/hxtool
parent9fb081e0b98409556d023c7193eeb68947cd1211 (diff)
vnc: Hoist allocation of VncBasicInfo to callers
A future qapi patch will rework generated structs with a base class to be unboxed. In preparation for that, change the code that allocates then populates an info struct to instead merely populate the fields of an info field passed in as a parameter (renaming vnc_basic_info_get* to vnc_init_basic_info*). Add rudimentary Error handling at the lowest levels for cases where the old code returned NULL; but rather than plumb Error all the way through the stack, the callers drop the error and return NULL as before. Signed-off-by: Eric Blake <eblake@redhat.com> Message-Id: <1445898903-12082-7-git-send-email-eblake@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/hxtool')
0 files changed, 0 insertions, 0 deletions