summaryrefslogtreecommitdiff
path: root/docs/data/remote/rpc_function_id.json
diff options
context:
space:
mode:
Diffstat (limited to 'docs/data/remote/rpc_function_id.json')
-rw-r--r--docs/data/remote/rpc_function_id.json40
1 files changed, 40 insertions, 0 deletions
diff --git a/docs/data/remote/rpc_function_id.json b/docs/data/remote/rpc_function_id.json
new file mode 100644
index 0000000..b5788f4
--- /dev/null
+++ b/docs/data/remote/rpc_function_id.json
@@ -0,0 +1,40 @@
+{
+ "format": 1,
+ "id": "saw-rpc_function_id",
+ "kind": "struct",
+ "name": "rpc_function_id",
+ "namespace": "saw",
+ "module": "remote",
+ "header": "modules/remote/c++/remote.hpp",
+ "brief_description": "Identifier of an interface function on the wire.",
+ "detailed_description": [
+ [
+ "Keyed on the member name rather than on its index, so reordering an interface doesn't silently rebind calls between two versions."
+ ],
+ [
+ "This is the number a backend hands to call_by_id of the",
+ {"name": "rpc_server", "id": "saw-rpc_server-loopback"},
+ "when the called function arrives as data instead of as a template argument."
+ ]
+ ],
+ "templates": [
+ {
+ "name": "Lit",
+ "kind": "non_type",
+ "type": "string_literal",
+ "brief_description": "Name of the interface member."
+ }
+ ],
+ "attributes": {
+ "saw-rpc_function_id-value": {
+ "id": "saw-rpc_function_id-value",
+ "name": "value",
+ "type": ["uint32_t"],
+ "visibility": "public",
+ "static": true,
+ "constexpr": true,
+ "initializer": "hash_literal<Lit>::apply(0u)",
+ "brief_description": "crc32 of the member name."
+ }
+ }
+}