Changes

Jump to navigation Jump to search
39 bytes added ,  13:50, 25 November 2016
Line 9: Line 9:  
Execution of parasite code always starts with a function in compel std plugin that should be linked with parasite binary (see below). From the parasite code these symbols should be available for libcompel to work
 
Execution of parasite code always starts with a function in compel std plugin that should be linked with parasite binary (see below). From the parasite code these symbols should be available for libcompel to work
   −
; parasite_trap_cmd(int cmd, void *arg);
+
; <code>parasite_trap_cmd(int cmd, void *arg);</code>
 
: This routine gets called by <code>compel_run_in_thread()</code>
 
: This routine gets called by <code>compel_run_in_thread()</code>
   −
; parasite_daemon_cmd(int cmd, void *arg);
+
; <code>parasite_daemon_cmd(int cmd, void *arg);</code>
 
: This routine gets called by <code>compel_rpc_call()</code> and <code>compel_rpc_call_sync()</code>
 
: This routine gets called by <code>compel_rpc_call()</code> and <code>compel_rpc_call_sync()</code>
   −
; parasite_cleanup(void);
+
; <code>parasite_cleanup(void);</code>
 
: This gets called on parasite unload by <code>compel_cure()</code>
 
: This gets called on parasite unload by <code>compel_cure()</code>
  

Navigation menu