aboutsummaryrefslogtreecommitdiff
path: root/console-client/trans.h
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2023-05-09 00:31:36 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-10 02:51:46 +0200
commit9fe5e6bf0ccaccec9c5ea2c3a2cea86dbd9c78dc (patch)
tree927b94772ceaa8f6e5bcbb2ddeadf933df8bb814 /console-client/trans.h
parent19558c940e81d405dbda0ea1dd29549f34b5aa2a (diff)
downloadhurd-9fe5e6bf0ccaccec9c5ea2c3a2cea86dbd9c78dc.tar.gz
hurd-9fe5e6bf0ccaccec9c5ea2c3a2cea86dbd9c78dc.tar.bz2
hurd-9fe5e6bf0ccaccec9c5ea2c3a2cea86dbd9c78dc.zip
Style tweaks
Message-Id: <20230508213136.608575-42-bugaevc@gmail.com>
Diffstat (limited to 'console-client/trans.h')
-rw-r--r--console-client/trans.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/console-client/trans.h b/console-client/trans.h
index 6089b987..27ccc0ab 100644
--- a/console-client/trans.h
+++ b/console-client/trans.h
@@ -25,10 +25,10 @@ struct consnode
/* The id of the node. */
int id;
-
+
/* Cached if the node is already opened. */
struct node *node;
-
+
/* Read data from a node. This is exactly the same as io_read
does. */
error_t (*read) (struct protid *user, char **data,
@@ -48,10 +48,10 @@ struct consnode
/* Called when the node is opened. */
void (*open) (void);
-
+
/* Called when the node is closed. */
void (*close) (void);
-
+
/* The demuxer used for this node. */
int (*demuxer) (mach_msg_header_t *inp, mach_msg_header_t *outp);
@@ -60,7 +60,7 @@ struct consnode
/* Called when the symlink is written */
error_t (*mksymlink) (struct iouser *cred, struct node *np, const char *name);
-
+
struct consnode *next;
};