提交 9d458bd9 编写于 作者: E Eric Blake

docs: Consistent spacing in *GetXMLDesc functions

We copy-and-paste a lot of our docs, as evidenced by the number of
*GetXMLDesc() functions which had the same unusual indentation and
missing capital in the second sentence of the returns paragraph.
Signed-off-by: NEric Blake <eblake@redhat.com>
上级 f2cb0c89
...@@ -254,8 +254,8 @@ virDomainSnapshotCreateXML(virDomainPtr domain, ...@@ -254,8 +254,8 @@ virDomainSnapshotCreateXML(virDomainPtr domain,
* VIR_DOMAIN_SNAPSHOT_XML_SECURE; this flag is rejected on read-only * VIR_DOMAIN_SNAPSHOT_XML_SECURE; this flag is rejected on read-only
* connections. * connections.
* *
* Returns a 0 terminated UTF-8 encoded XML instance, or NULL in case of error. * Returns a 0 terminated UTF-8 encoded XML instance, or NULL in case
* the caller must free() the returned value. * of error. The caller must free() the returned value.
*/ */
char * char *
virDomainSnapshotGetXMLDesc(virDomainSnapshotPtr snapshot, virDomainSnapshotGetXMLDesc(virDomainSnapshotPtr snapshot,
......
...@@ -2570,8 +2570,8 @@ virDomainGetControlInfo(virDomainPtr domain, ...@@ -2570,8 +2570,8 @@ virDomainGetControlInfo(virDomainPtr domain,
* XML might not validate against the schema, so it is mainly for * XML might not validate against the schema, so it is mainly for
* internal use. * internal use.
* *
* Returns a 0 terminated UTF-8 encoded XML instance, or NULL in case of error. * Returns a 0 terminated UTF-8 encoded XML instance, or NULL in case
* the caller must free() the returned value. * of error. The caller must free() the returned value.
*/ */
char * char *
virDomainGetXMLDesc(virDomainPtr domain, unsigned int flags) virDomainGetXMLDesc(virDomainPtr domain, unsigned int flags)
...@@ -2619,8 +2619,8 @@ virDomainGetXMLDesc(virDomainPtr domain, unsigned int flags) ...@@ -2619,8 +2619,8 @@ virDomainGetXMLDesc(virDomainPtr domain, unsigned int flags)
* generates libvirt domain XML. The format of the native * generates libvirt domain XML. The format of the native
* data is hypervisor dependent. * data is hypervisor dependent.
* *
* Returns a 0 terminated UTF-8 encoded XML instance, or NULL in case of error. * Returns a 0 terminated UTF-8 encoded XML instance, or NULL in case
* the caller must free() the returned value. * of error. The caller must free() the returned value.
*/ */
char * char *
virConnectDomainXMLFromNative(virConnectPtr conn, virConnectDomainXMLFromNative(virConnectPtr conn,
...@@ -2669,8 +2669,8 @@ virConnectDomainXMLFromNative(virConnectPtr conn, ...@@ -2669,8 +2669,8 @@ virConnectDomainXMLFromNative(virConnectPtr conn,
* a native configuration file describing the domain. * a native configuration file describing the domain.
* The format of the native data is hypervisor dependent. * The format of the native data is hypervisor dependent.
* *
* Returns a 0 terminated UTF-8 encoded native config datafile, or NULL in case of error. * Returns a 0 terminated UTF-8 encoded native config datafile, or
* the caller must free() the returned value. * NULL in case of error. The caller must free() the returned value.
*/ */
char * char *
virConnectDomainXMLToNative(virConnectPtr conn, virConnectDomainXMLToNative(virConnectPtr conn,
......
...@@ -403,8 +403,8 @@ virInterfaceGetMACString(virInterfacePtr iface) ...@@ -403,8 +403,8 @@ virInterfaceGetMACString(virInterfacePtr iface)
* is not set, the ip address and netmask will be the current live * is not set, the ip address and netmask will be the current live
* setting of the interface, not the settings from the config files. * setting of the interface, not the settings from the config files.
* *
* Returns a 0 terminated UTF-8 encoded XML instance, or NULL in case of error. * Returns a 0 terminated UTF-8 encoded XML instance, or NULL in case
* the caller must free() the returned value. * of error. The caller must free() the returned value.
*/ */
char * char *
virInterfaceGetXMLDesc(virInterfacePtr iface, unsigned int flags) virInterfaceGetXMLDesc(virInterfacePtr iface, unsigned int flags)
......
...@@ -783,8 +783,8 @@ virNetworkGetUUIDString(virNetworkPtr network, char *buf) ...@@ -783,8 +783,8 @@ virNetworkGetUUIDString(virNetworkPtr network, char *buf)
* VIR_NETWORK_XML_INACTIVE, then the expansion of virtual interfaces is * VIR_NETWORK_XML_INACTIVE, then the expansion of virtual interfaces is
* not performed. * not performed.
* *
* Returns a 0 terminated UTF-8 encoded XML instance, or NULL in case of error. * Returns a 0 terminated UTF-8 encoded XML instance, or NULL in case
* the caller must free() the returned value. * of error. The caller must free() the returned value.
*/ */
char * char *
virNetworkGetXMLDesc(virNetworkPtr network, unsigned int flags) virNetworkGetXMLDesc(virNetworkPtr network, unsigned int flags)
...@@ -820,8 +820,8 @@ virNetworkGetXMLDesc(virNetworkPtr network, unsigned int flags) ...@@ -820,8 +820,8 @@ virNetworkGetXMLDesc(virNetworkPtr network, unsigned int flags)
* Provides a bridge interface name to which a domain may connect * Provides a bridge interface name to which a domain may connect
* a network interface in order to join the network. * a network interface in order to join the network.
* *
* Returns a 0 terminated interface name, or NULL in case of error. * Returns a 0 terminated interface name, or NULL in case of
* the caller must free() the returned value. * error. The caller must free() the returned value.
*/ */
char * char *
virNetworkGetBridgeName(virNetworkPtr network) virNetworkGetBridgeName(virNetworkPtr network)
......
...@@ -453,8 +453,8 @@ virNWFilterUndefine(virNWFilterPtr nwfilter) ...@@ -453,8 +453,8 @@ virNWFilterUndefine(virNWFilterPtr nwfilter)
* Provide an XML description of the network filter. The description may be * Provide an XML description of the network filter. The description may be
* reused later to redefine the network filter with virNWFilterCreateXML(). * reused later to redefine the network filter with virNWFilterCreateXML().
* *
* Returns a 0 terminated UTF-8 encoded XML instance, or NULL in case of error. * Returns a 0 terminated UTF-8 encoded XML instance, or NULL in case
* the caller must free() the returned value. * of error. The caller must free() the returned value.
*/ */
char * char *
virNWFilterGetXMLDesc(virNWFilterPtr nwfilter, unsigned int flags) virNWFilterGetXMLDesc(virNWFilterPtr nwfilter, unsigned int flags)
...@@ -770,8 +770,8 @@ virNWFilterBindingDelete(virNWFilterBindingPtr binding) ...@@ -770,8 +770,8 @@ virNWFilterBindingDelete(virNWFilterBindingPtr binding)
* Provide an XML description of the network filter. The description may be * Provide an XML description of the network filter. The description may be
* reused later to redefine the network filter with virNWFilterCreateXML(). * reused later to redefine the network filter with virNWFilterCreateXML().
* *
* Returns a 0 terminated UTF-8 encoded XML instance, or NULL in case of error. * Returns a 0 terminated UTF-8 encoded XML instance, or NULL in case
* the caller must free() the returned value. * of error. The caller must free() the returned value.
*/ */
char * char *
virNWFilterBindingGetXMLDesc(virNWFilterBindingPtr binding, unsigned int flags) virNWFilterBindingGetXMLDesc(virNWFilterBindingPtr binding, unsigned int flags)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册