changeset 141:284620d22c0a

common: add a few comments to fs RPC .x file Signed-off-by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
author Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
date Sun, 18 Oct 2015 12:40:29 -0400
parents 2d53c59b31b7
children dac1cb39ce51
files src/common/rpc_fs.x
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/common/rpc_fs.x	Sun Oct 18 12:14:07 2015 -0400
+++ b/src/common/rpc_fs.x	Sun Oct 18 12:40:29 2015 -0400
@@ -24,6 +24,7 @@
 
 %#include <nomad/types.h>
 
+%/***** RPC header *****/
 struct rpc_header_req {
 	uint16_t	opcode;
 };
@@ -32,6 +33,7 @@
 	uint32_t	err;
 };
 
+%/***** LOGIN *****/
 struct rpc_login_req {
 	string		conn<>;
 	string		vg<>;
@@ -41,6 +43,7 @@
 	struct nobjhndl	root;
 };
 
+%/***** STAT *****/
 struct rpc_stat_req {
 	struct nobjhndl	obj;
 };
@@ -49,6 +52,7 @@
 	struct nattr	attributes;
 };
 
+%/***** LOOKUP *****/
 struct rpc_lookup_req {
 	struct nobjhndl	parent;
 	string		path<>;
@@ -58,6 +62,7 @@
 	struct nobjhndl	child;
 };
 
+%/***** CREATE *****/
 struct rpc_create_req {
 	struct nobjhndl	parent;
 	string		path<>;
@@ -68,6 +73,7 @@
 	struct nobjhndl	obj;
 };
 
+%/***** REMOVE *****/
 struct rpc_remove_req {
 	struct nobjhndl	parent;
 	string		path<>;