Buffer info operations. More...
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include "buffer.h"
#include "buffer_internal.h"
#include "buffer_util.h"
#include "buffer_event.h"
#include "type_limits.h"
#include "debug.h"
Functions | |
int | bless_buffer_can_undo (bless_buffer_t *buf, int *can_undo) |
Checks whether the last operation in a bless_buffer_t can be undone. | |
int | bless_buffer_can_redo (bless_buffer_t *buf, int *can_redo) |
Checks whether the last undone operation in a bless_buffer_t can be redone. | |
int | bless_buffer_get_size (bless_buffer_t *buf, off_t *size) |
Gets the size of a bless_buffer_t. | |
int | bless_buffer_set_option (bless_buffer_t *buf, bless_buffer_option_t opt, char *val) |
Sets a buffer option. | |
int | bless_buffer_get_option (bless_buffer_t *buf, char **val, bless_buffer_option_t opt) |
Gets a buffer option. | |
int | bless_buffer_set_event_callback (bless_buffer_t *buf, bless_buffer_event_func_t *func, void *user_data) |
Sets the callback function used to report buffer events. |
Buffer info operations.