Open main menu
Home
Random
Log in
Settings
About CRIU
Disclaimers
CRIU
Search
Changes
← Older edit
Newer edit →
Plugins
(edit)
Revision as of 16:59, 21 December 2013
215 bytes added
,
16:59, 21 December 2013
→Callbacks
Line 37:
Line 37:
int cr_plugin_restore_unix_sk(int id)
int cr_plugin_restore_unix_sk(int id)
+
+
The dump callback gets a socket, which must be dumped.
+
The restore callback returns a restored socket.
=== External files ===
=== External files ===
Line 43:
Line 46:
int cr_plugin_restore_file(int id)
int cr_plugin_restore_file(int id)
+
+
The dump callback gets a file descriptor, which must be dumped.
+
The restore callback returns a restored file.
=== Example ===
=== Example ===
Avagin
Bureaucrats
,
Administrators
416
edits