mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
parent
a5e6d2fdf5
commit
939630ae28
|
@ -279,7 +279,7 @@ type ResolvedAddress(
|
|||
<example>
|
||||
<title>Investigating a Service Executable</title>
|
||||
|
||||
<para>The following comand inspects the <filename>/usr/lib/systemd/systemd-pcrextend</filename>
|
||||
<para>The following command inspects the <filename>/usr/lib/systemd/systemd-pcrextend</filename>
|
||||
executable and the IPC APIs it provides. It then invokes a method on it:</para>
|
||||
|
||||
<programlisting># varlinkctl info /usr/lib/systemd/systemd-pcrextend
|
||||
|
|
|
@ -1024,7 +1024,7 @@ int varlink_idl_parse(
|
|||
if (r < 0)
|
||||
return r;
|
||||
|
||||
symbol->symbol_type = _VARLINK_SYMBOL_TYPE_INVALID; /* don't know yet if enum or struct, will be fileld in by varlink_idl_subparse_struct_or_enum() */
|
||||
symbol->symbol_type = _VARLINK_SYMBOL_TYPE_INVALID; /* don't know yet if enum or struct, will be field in by varlink_idl_subparse_struct_or_enum() */
|
||||
symbol->name = TAKE_PTR(token);
|
||||
|
||||
r = varlink_idl_subparse_struct_or_enum(&text, line, column, &symbol, &n_fields, VARLINK_REGULAR);
|
||||
|
|
|
@ -221,7 +221,7 @@ struct VarlinkServer {
|
|||
|
||||
Hashmap *methods; /* Fully qualified symbol name of a method → VarlinkMethod */
|
||||
Hashmap *interfaces; /* Fully qualified interface name → VarlinkInterface* */
|
||||
Hashmap *symbols; /* Fully qualified symbol name of methord/error → VarlinkSymbol* */
|
||||
Hashmap *symbols; /* Fully qualified symbol name of method/error → VarlinkSymbol* */
|
||||
VarlinkConnect connect_callback;
|
||||
VarlinkDisconnect disconnect_callback;
|
||||
|
||||
|
|
Loading…
Reference in a new issue