about summary refs log tree commit diff stats
path: root/src/ui/buffer.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-10-16 19:40:43 +0100
committerJames Booth <boothj5@gmail.com>2016-10-16 19:40:43 +0100
commit651541d7ec4abcb2306968cd06f26236152a64b7 (patch)
tree5e22c2319f4cbb8a8d47c85e3fb7e0d4f15da1b5 /src/ui/buffer.c
parent7e6e6296f1af3dd38fbece54cdc4562bd5196680 (diff)
downloadprofani-tty-651541d7ec4abcb2306968cd06f26236152a64b7.tar.gz
Rename buffer functions
Diffstat (limited to 'src/ui/buffer.c')
-rw-r--r--src/ui/buffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/buffer.c b/src/ui/buffer.c
index 09f53beb..b55ebf3a 100644
--- a/src/ui/buffer.c
+++ b/src/ui/buffer.c
@@ -79,7 +79,7 @@ buffer_free(ProfBuff buffer)
 }
 
 void
-buffer_push(ProfBuff buffer, const char show_char, int pad_indent, GDateTime *time,
+buffer_append(ProfBuff buffer, const char show_char, int pad_indent, GDateTime *time,
     int flags, theme_item_t theme_item, const char *const from, const char *const message, DeliveryReceipt *receipt)
 {
     ProfBuffEntry *e = malloc(sizeof(struct prof_buff_entry_t));
@@ -119,14 +119,14 @@ buffer_mark_received(ProfBuff buffer, const char *const id)
 }
 
 ProfBuffEntry*
-buffer_yield_entry(ProfBuff buffer, int entry)
+buffer_get_entry(ProfBuff buffer, int entry)
 {
     GSList *node = g_slist_nth(buffer->entries, entry);
     return node->data;
 }
 
 ProfBuffEntry*
-buffer_yield_entry_by_id(ProfBuff buffer, const char *const id)
+buffer_get_entry_by_id(ProfBuff buffer, const char *const id)
 {
     GSList *entries = buffer->entries;
     while (entries) {