struct_command Struct Reference
[Parser]

#include <parser.h>

List of all members.

Public Attributes

int data_len
char version [MAX_VERSION_LENGTH+1]
char command [MAX_COMMAND_LENGTH+1]
char param [MAX_PARAM_LENGTH+1]
char data [MAX_BLOCK_LENGTH+1]
int command_nr


Detailed Description

Whem command commes from chardevice is parsed to this structure

Definition at line 35 of file parser.h.


Member Data Documentation

int struct_command::data_len

length of data received

Definition at line 37 of file parser.h.

Referenced by main(), and parse_message().

char struct_command::version[MAX_VERSION_LENGTH+1]

version of protokol used (MYSQLFS1.1)

Definition at line 39 of file parser.h.

Referenced by main(), and parse_message().

char struct_command::command[MAX_COMMAND_LENGTH+1]

command, this means what should be done

Definition at line 41 of file parser.h.

Referenced by main(), and parse_message().

char struct_command::param[MAX_PARAM_LENGTH+1]

parametr of the command

Definition at line 43 of file parser.h.

Referenced by main(), parse_message(), rkfs_file_readdir(), rkfs_file_write(), rkfs_inode_create(), rkfs_inode_rename(), rkfs_mkdir(), and rkfs_super_read_inode().

char struct_command::data[MAX_BLOCK_LENGTH+1]

data received

Definition at line 45 of file parser.h.

Referenced by main(), parse_message(), rkfs_file_read(), rkfs_file_readdir(), rkfs_file_write(), rkfs_inode_lookup(), rkfs_inode_rename(), and rkfs_super_read_inode().

int struct_command::command_nr

translation from command to a symbolic constant

Definition at line 47 of file parser.h.

Referenced by main(), parse_message(), rkfs_file_read(), rkfs_file_readdir(), rkfs_file_write(), rkfs_inode_create(), rkfs_inode_lookup(), rkfs_inode_rename(), rkfs_inode_truncate(), rkfs_inode_unlink(), rkfs_mkdir(), rkfs_rmdir(), and rkfs_super_read_inode().


The documentation for this struct was generated from the following file:
Generated on Mon May 28 13:33:08 2007 for MYSQLFS by  doxygen 1.5.0