-} lstcon_tsb_hdr_t;
-
-typedef struct {
- lstcon_tsb_hdr_t bat_hdr; /* test_batch header */
- cfs_list_t bat_link; /* chain on session's batches list */
- int bat_ntest; /* # of test */
- int bat_state; /* state of the batch */
- int bat_arg; /* parameter for run|stop, timeout for run, force for stop */
- char bat_name[LST_NAME_SIZE]; /* name of batch */
-
- cfs_list_t bat_test_list; /* list head of tests (lstcon_test_t) */
- cfs_list_t bat_trans_list; /* list head of transaction */
- cfs_list_t bat_cli_list; /* list head of client nodes (lstcon_node_t) */
- cfs_list_t *bat_cli_hash; /* hash table of client nodes */
- cfs_list_t bat_srv_list; /* list head of server nodes */
- cfs_list_t *bat_srv_hash; /* hash table of server nodes */
-} lstcon_batch_t; /*** (tests ) batch descritptor */
-
-typedef struct lstcon_test {
- lstcon_tsb_hdr_t tes_hdr; /* test batch header */
- cfs_list_t tes_link; /* chain on batch's tests list */
- lstcon_batch_t *tes_batch; /* pointer to batch */
+};
+
+/* (tests ) batch descriptor */
+struct lstcon_batch {
+ /* test_batch header */
+ struct lstcon_tsb_hdr bat_hdr;
+ /* chain on session's batches list */
+ struct list_head bat_link;
+ /* # of test */
+ int bat_ntest;
+ /* state of the batch */
+ int bat_state;
+ /* parameter for run|stop, timeout for run, force for stop */
+ int bat_arg;
+ /* name of batch */
+ char bat_name[LST_NAME_SIZE];
+
+ /* list head of tests (lstcon_test_t) */
+ struct list_head bat_test_list;
+ /* list head of transaction */
+ struct list_head bat_trans_list;
+ /* list head of client nodes (struct lstcon_node) */
+ struct list_head bat_cli_list;
+ /* hash table of client nodes */
+ struct list_head *bat_cli_hash;
+ /* list head of server nodes */
+ struct list_head bat_srv_list;
+ /* hash table of server nodes */
+ struct list_head *bat_srv_hash;
+};
+
+/* a single test descriptor */
+struct lstcon_test {
+ /* test batch header */
+ struct lstcon_tsb_hdr tes_hdr;
+ /* chain on batch's tests list */
+ struct list_head tes_link;
+ /* pointer to batch */
+ struct lstcon_batch *tes_batch;