mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
libguestfs has used double and triple underscores in identifiers. These aren't valid for global names in C++. The second step is to replace all guestfs__* (2 underscores) with guestfs_impl_*. These functions are used where a libguestfs API call is implemented on the library side. The generator creates a wrapper function which calls guestfs_impl_* to do the work. (Libguestfs APIs which are passed directly by the daemon work differently and don't require a guestfs_impl_* function). This is an entirely mechanical change done using: git ls-files | xargs perl -pi.bak -e 's/guestfs___/guestfs_impl_/g' Reference: http://stackoverflow.com/a/228797