aboutsummaryrefslogtreecommitdiffhomepage
path: root/kill.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-09-20 23:26:39 +1000
committerGravatar axel <axel@liljencrantz.se>2005-09-20 23:26:39 +1000
commit149594f974350bb364a76c73b91b1d5ffddaa1fa (patch)
tree95650e9982d5fabe4bd805d94c5d700cbbc1ca7f /kill.h
Initial revision
darcs-hash:20050920132639-ac50b-fa3b476891e1f5f67207cf4cc7bf623834cc5edc.gz
Diffstat (limited to 'kill.h')
-rw-r--r--kill.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/kill.h b/kill.h
new file mode 100644
index 00000000..f3005bb5
--- /dev/null
+++ b/kill.h
@@ -0,0 +1,31 @@
+/** \file kill.h
+ Prototypes for the killring.
+
+ Works like the killring in emacs and readline. The killring is cut and paste whith a memory of previous cuts.
+*/
+
+/**
+ Add a string to the top of the killring
+*/
+void kill_add( wchar_t *str );
+/**
+ Rotate the killring
+*/
+wchar_t *kill_yank_rotate();
+/**
+ Paste from the killring
+*/
+wchar_t *kill_yank();
+/**
+ Sanity check
+*/
+void kill_sanity_check();
+/**
+ Initialize the killring
+*/
+void kill_init();
+/**
+ Destroy the killring
+*/
+void kill_destroy();
+