From ed7c8e8d02c02bdbff1e88a6d8d1419f39af48ad Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 30 Sep 2003 17:47:42 +0000 Subject: Initial import. --- src/cmd/sam/plumb.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/cmd/sam/plumb.h (limited to 'src/cmd/sam/plumb.h') 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*); + -- cgit v1.2.3