aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/sam/plumb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/sam/plumb.h')
-rw-r--r--src/cmd/sam/plumb.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/cmd/sam/plumb.h b/src/cmd/sam/plumb.h
new file mode 100644
index 00000000..d376acd0
--- /dev/null
+++ b/src/cmd/sam/plumb.h
@@ -0,0 +1,17 @@
+typedef struct Plumbmsg Plumbmsg;
+
+struct Plumbmsg {
+ char *src;
+ char *dst;
+ char *wdir;
+ char *type;
+ char *attr;
+ char *data;
+ int ndata;
+};
+
+char *plumbunpackattr(char*);
+char *plumbpack(Plumbmsg *, int *);
+int plumbfree(Plumbmsg *);
+char *cleanname(char*);
+