![]() |
![]() |
![]() |
libinfinity-0.6 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces |
#include <libinfinity/adopted/inf-adopted-no-operation.h>
InfAdoptedNoOperation;
struct InfAdoptedNoOperationClass;
InfAdoptedNoOperation * inf_adopted_no_operation_new (void
);
InfAdoptedNoOperation is an operation that does nothing when applied to the buffer. This might be the result of an operation transformation, for example if a request is received that is supposed to delete text that was already deleted by the local site. It is also used by InfAdoptedSession to send the current state to other users in case the user being idle, so that others keep knowing the current state of that user (this is especially required for cleanup of request logs and caches).
typedef struct _InfAdoptedNoOperation InfAdoptedNoOperation;
InfAdoptedNoOperation is an opaque data type. You should only access it via the public API functions.
struct InfAdoptedNoOperationClass { };
This structure does not contain any public fields.
InfAdoptedNoOperation * inf_adopted_no_operation_new (void
);
Creates a new InfAdoptedNoOperation. A no operation is an operation that does nothing, but might be the result of a transformation.
Returns : |
A new InfAdoptedNoOperation. |