Changes

349 bytes added ,  19:17, 20 December 2013
no edit summary
Line 11: Line 11:  
Each library can have cr_plugin_init() and cr_plugin_fini() functions for initializing and finalizing. cr_plugin_init() can return a negative value in an error case.
 
Each library can have cr_plugin_init() and cr_plugin_fini() functions for initializing and finalizing. cr_plugin_init() can return a negative value in an error case.
    +
==Images==
 +
CRIU saves [images] in google protocol buffer format (PB format). We recomend to use this format for plugin images too.
 +
 +
All images are saved in a specified directory and plugins can call ''criu_get_image_dir()'' to get the file descriptor on this directory. The file descriptor is used, because the directory can be unreachable by path.
    
== Callbacks ==
 
== Callbacks ==