Buffer actions implementation. More...
#include <stdlib.h>
#include <errno.h>
#include "data_object.h"
#include "buffer_action.h"
#include "buffer_action_internal.h"
#include "debug.h"
Go to the source code of this file.
Functions | |
int | buffer_action_create_impl (buffer_action_t **action, void *impl, struct buffer_action_funcs *funcs) |
Creates a buffer_action_t using a specific implementation. | |
void * | buffer_action_get_impl (buffer_action_t *action) |
Gets the implementation of a buffer_action_t. | |
int | buffer_action_do (buffer_action_t *action) |
Performs a buffer_action_t. | |
int | buffer_action_undo (buffer_action_t *action) |
Reverts a buffer_action_t. | |
int | buffer_action_private_copy (buffer_action_t *action, data_object_t *dobj) |
Makes a private copy of all the data held by this action that belong to a data object. | |
int | buffer_action_to_event (buffer_action_t *action, struct bless_buffer_event_info *event_info) |
Fills an event info structure describing a buffer_action_t. | |
int | buffer_action_free (buffer_action_t *action) |
Frees a buffer_action_t. |
Buffer actions implementation.
Definition in file buffer_action.c.