X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_usr%2Fv3_ctrl.h;h=e81968c388681e8a1f4a16b4f0b2859aa0726007;hb=803866720fcee3755c3a1c30761f26f56bbf764b;hp=a210013278d5dfbdffb6d82a3229648950acd856;hpb=008fdde9a6a6ec65b7647d9eec487448094d7f18;p=palacios.git diff --git a/linux_usr/v3_ctrl.h b/linux_usr/v3_ctrl.h index a210013..e81968c 100644 --- a/linux_usr/v3_ctrl.h +++ b/linux_usr/v3_ctrl.h @@ -110,6 +110,7 @@ int v3_read_file (int fd, int size, unsigned char * buf); int launch_vm (const char * filename); int stop_vm (const char * filename); +unsigned long v3_hash_buffer (unsigned char * msg, unsigned int len); /* XML-related structs */ struct cfg_value { @@ -130,4 +131,12 @@ struct file_info { char id[256]; }; +struct mem_file_hdr { + unsigned int file_idx; + unsigned int file_size; + unsigned long long file_offset; + unsigned long file_hash; +}; + + #endif