00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef _BUFFER_ACTION_EDIT_H
00026 #define _BUFFER_ACTION_EDIT_H
00027
00028 #include "buffer.h"
00029 #include "buffer_source.h"
00030 #include "buffer_action.h"
00031
00032 #ifdef __cplusplus
00033 extern "C" {
00034 #endif
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047 int buffer_action_append_new(buffer_action_t **action, bless_buffer_t *buf,
00048 bless_buffer_source_t *src, off_t src_offset, off_t length);
00049
00050 int buffer_action_insert_new(buffer_action_t **action, bless_buffer_t *buf,
00051 off_t offset, bless_buffer_source_t *src, off_t src_offset, off_t length);
00052
00053 int buffer_action_delete_new(buffer_action_t **action, bless_buffer_t *buf,
00054 off_t offset, off_t length);
00055
00056 int buffer_action_multi_new(buffer_action_t **action);
00057 int buffer_action_multi_add(buffer_action_t *multi_action,
00058 buffer_action_t *new_action);
00059
00060
00061
00062
00063
00064 #ifdef __cplusplus
00065 }
00066 #endif
00067
00068 #endif