mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Fix documentation and comment typos
Fix a few mispellings :-) of "successfully" and regenerate docs/libvirt-*.xml. * src/libvirt.c: Fix typos. * src/secret/secret_driver.c: Fix typos. * docs/libvirt-api.xml: Regenerate. * docs/libvirt-refs.xml: Regenerate.
This commit is contained in:
parent
7cc1491d10
commit
36e0372986
@ -2847,7 +2847,7 @@ API looks like
|
|||||||
...report an error...
|
...report an error...
|
||||||
virStreamFree(st);
|
virStreamFree(st);
|
||||||
close(fd);]]></info>
|
close(fd);]]></info>
|
||||||
<return type='int' info='0 if all the data was succesfully received. The caller should invoke virStreamFinish(st) to flush the stream upon success and then virStreamFree Returns -1 upon any error, with virStreamAbort() already having been called, so the caller need only call virStreamFree()'/>
|
<return type='int' info='0 if all the data was successfully received. The caller should invoke virStreamFinish(st) to flush the stream upon success and then virStreamFree Returns -1 upon any error, with virStreamAbort() already having been called, so the caller need only call virStreamFree()'/>
|
||||||
<arg name='stream' type='virStreamPtr' info='pointer to the stream object'/>
|
<arg name='stream' type='virStreamPtr' info='pointer to the stream object'/>
|
||||||
<arg name='handler' type='virStreamSinkFunc' info='sink callback for writing data to application'/>
|
<arg name='handler' type='virStreamSinkFunc' info='sink callback for writing data to application'/>
|
||||||
<arg name='opaque' type='void *' info='application defined data'/>
|
<arg name='opaque' type='void *' info='application defined data'/>
|
||||||
@ -2864,7 +2864,7 @@ the caller no longer needs the reference to this object.]]></info>
|
|||||||
<info><![CDATA[Write a series of bytes to the stream. This method may
|
<info><![CDATA[Write a series of bytes to the stream. This method may
|
||||||
block the calling application for an arbitrary amount
|
block the calling application for an arbitrary amount
|
||||||
of time. Once an application has finished sending data
|
of time. Once an application has finished sending data
|
||||||
it should call virStreamFinish to wait for succesful
|
it should call virStreamFinish to wait for successful
|
||||||
confirmation from the driver, or detect any error
|
confirmation from the driver, or detect any error
|
||||||
|
|
||||||
This method may not be used if a stream source has been
|
This method may not be used if a stream source has been
|
||||||
@ -2939,7 +2939,7 @@ API looks like
|
|||||||
...report an error...
|
...report an error...
|
||||||
virStreamFree(st);
|
virStreamFree(st);
|
||||||
close(fd);]]></info>
|
close(fd);]]></info>
|
||||||
<return type='int' info='0 if all the data was succesfully sent. The caller should invoke virStreamFinish(st) to flush the stream upon success and then virStreamFree Returns -1 upon any error, with virStreamAbort() already having been called, so the caller need only call virStreamFree()'/>
|
<return type='int' info='0 if all the data was successfully sent. The caller should invoke virStreamFinish(st) to flush the stream upon success and then virStreamFree Returns -1 upon any error, with virStreamAbort() already having been called, so the caller need only call virStreamFree()'/>
|
||||||
<arg name='stream' type='virStreamPtr' info='pointer to the stream object'/>
|
<arg name='stream' type='virStreamPtr' info='pointer to the stream object'/>
|
||||||
<arg name='handler' type='virStreamSourceFunc' info='source callback for reading data from application'/>
|
<arg name='handler' type='virStreamSourceFunc' info='source callback for reading data from application'/>
|
||||||
<arg name='opaque' type='void *' info='application defined data'/>
|
<arg name='opaque' type='void *' info='application defined data'/>
|
||||||
|
@ -7176,21 +7176,17 @@
|
|||||||
<ref name='virNetworkCreate'/>
|
<ref name='virNetworkCreate'/>
|
||||||
<ref name='virStreamEventUpdateCallback'/>
|
<ref name='virStreamEventUpdateCallback'/>
|
||||||
</word>
|
</word>
|
||||||
<word name='succesful'>
|
|
||||||
<ref name='virStreamSend'/>
|
|
||||||
</word>
|
|
||||||
<word name='succesfully'>
|
|
||||||
<ref name='virStreamRecvAll'/>
|
|
||||||
<ref name='virStreamSendAll'/>
|
|
||||||
</word>
|
|
||||||
<word name='successful'>
|
<word name='successful'>
|
||||||
<ref name='virDomainMigrate'/>
|
<ref name='virDomainMigrate'/>
|
||||||
<ref name='virDomainSave'/>
|
<ref name='virDomainSave'/>
|
||||||
<ref name='virNodeDeviceCreateXML'/>
|
<ref name='virNodeDeviceCreateXML'/>
|
||||||
|
<ref name='virStreamSend'/>
|
||||||
</word>
|
</word>
|
||||||
<word name='successfully'>
|
<word name='successfully'>
|
||||||
<ref name='virConnectOpen'/>
|
<ref name='virConnectOpen'/>
|
||||||
<ref name='virStreamFinish'/>
|
<ref name='virStreamFinish'/>
|
||||||
|
<ref name='virStreamRecvAll'/>
|
||||||
|
<ref name='virStreamSendAll'/>
|
||||||
</word>
|
</word>
|
||||||
<word name='such'>
|
<word name='such'>
|
||||||
<ref name='virConnCopyLastError'/>
|
<ref name='virConnCopyLastError'/>
|
||||||
|
@ -9638,7 +9638,7 @@ error:
|
|||||||
* virStreamFree(st);
|
* virStreamFree(st);
|
||||||
* close(fd);
|
* close(fd);
|
||||||
*
|
*
|
||||||
* Returns 0 if all the data was succesfully sent. The caller
|
* Returns 0 if all the data was successfully sent. The caller
|
||||||
* should invoke virStreamFinish(st) to flush the stream upon
|
* should invoke virStreamFinish(st) to flush the stream upon
|
||||||
* success and then virStreamFree
|
* success and then virStreamFree
|
||||||
*
|
*
|
||||||
@ -9735,7 +9735,7 @@ cleanup:
|
|||||||
* virStreamFree(st);
|
* virStreamFree(st);
|
||||||
* close(fd);
|
* close(fd);
|
||||||
*
|
*
|
||||||
* Returns 0 if all the data was succesfully received. The caller
|
* Returns 0 if all the data was successfully received. The caller
|
||||||
* should invoke virStreamFinish(st) to flush the stream upon
|
* should invoke virStreamFinish(st) to flush the stream upon
|
||||||
* success and then virStreamFree
|
* success and then virStreamFree
|
||||||
*
|
*
|
||||||
|
@ -751,7 +751,7 @@ secretDefineXML(virConnectPtr conn, const char *xml,
|
|||||||
if (secretDeleteSaved(conn, driver, secret) < 0)
|
if (secretDeleteSaved(conn, driver, secret) < 0)
|
||||||
goto restore_backup;
|
goto restore_backup;
|
||||||
}
|
}
|
||||||
/* Saved succesfully - drop old values */
|
/* Saved successfully - drop old values */
|
||||||
new_attrs = NULL;
|
new_attrs = NULL;
|
||||||
virSecretDefFree(backup);
|
virSecretDefFree(backup);
|
||||||
|
|
||||||
@ -843,7 +843,7 @@ secretSetValue(virSecretPtr obj, const unsigned char *value,
|
|||||||
if (secretSaveValue(obj->conn, driver, secret) < 0)
|
if (secretSaveValue(obj->conn, driver, secret) < 0)
|
||||||
goto restore_backup;
|
goto restore_backup;
|
||||||
}
|
}
|
||||||
/* Saved succesfully - drop old value */
|
/* Saved successfully - drop old value */
|
||||||
if (old_value != NULL) {
|
if (old_value != NULL) {
|
||||||
memset(old_value, 0, old_value_size);
|
memset(old_value, 0, old_value_size);
|
||||||
VIR_FREE(old_value);
|
VIR_FREE(old_value);
|
||||||
|
Loading…
Reference in New Issue
Block a user