question on API spelling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We're quite inconsistent on US (canceled) vs. UK (cancelled) spelling in
our public API:

include/libvirt/libvirt.h.in:124:
VIR_DOMAIN_RUNNING_MIGRATION_CANCELED = 6,  /* returned from migration */
include/libvirt/libvirt.h.in:125:    VIR_DOMAIN_RUNNING_SAVE_CANCELED =
7,   /* returned from failed save process */
include/libvirt/libvirt.h.in:3220:    VIR_DOMAIN_JOB_CANCELLED = 5, /*
Job was aborted, but isn't cleaned up */
include/libvirt/virterror.h:247:
   canceled/aborted by user */
include/libvirt/virterror.h:248:    VIR_ERR_AUTH_CANCELLED = 79,
/* authentication cancelled */

Is it worth adding aliases so that a programmer can use consistent spelling?

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]