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 ===