summaryrefslogtreecommitdiff
path: root/piper_webext.h
diff options
context:
space:
mode:
authormiguel <miguel@localhost>2018-03-16 01:31:33 +0100
committermiguel <miguel@localhost>2018-03-16 01:31:33 +0100
commitf5eb896c9cceec7a85ed98cb727e605252e27fa4 (patch)
tree7d96977a0bf5a77afeef9e5e95112367cbf1f1c4 /piper_webext.h
parent6d09938230f85faebe2acaf6f54496117f5dbe34 (diff)
mostly cosmetics
Diffstat (limited to 'piper_webext.h')
-rw-r--r--piper_webext.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/piper_webext.h b/piper_webext.h
index 36d3aec..86d31ef 100644
--- a/piper_webext.h
+++ b/piper_webext.h
@@ -1,2 +1,21 @@
+//
+// !!! THIS IS STILL A CONCEPT/PROTOTYPE. USE AT YOUR OWN RISK !!!
+//
+// Author: Michal Idziorek <m.i@gmx.at>
+//
+// Last Update: 16th March 2018
+//
+// Last Tested: with surf commit 81f0452bc6c2a110239fa303ad1e72f11c33dc94
+// from htps://git.suckless.org/surf
+//
+// The following simple Webkit2GTK+ extension was hacked together
+// in the sleepless night between 09th and 10th March 2018 (and later
+// refined).
+//
+// The DOM is manipulated,i.e: a <span> with a number added to every
+// link encountered.
+//
+// Named FIFO pipes are used for communication with the ui process.
+//
void piper_init(char *pipe_in,char *pipe_out,void (*callback_func)(char *msg),char *url);
void piper_send(char *msg);