Changes

Jump to navigation Jump to search
289 bytes added ,  19:33, 15 December 2013
Line 10: Line 10:     
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.
 +
    
== Callbacks ==
 
== Callbacks ==
 +
 +
When CRIU receives an unsupported object, it enumerates callbacks until one of them doesn't return something other than -ENOSUPP. Usually callbacks returns negative code in an error case. The -ENOSUPP code is a special one. It is returned, if a callback is not suitable for the object.
 +
 
Each callback gets an unique identificator of a serialized object.
 
Each callback gets an unique identificator of a serialized object.
  

Navigation menu